makedep: Let umask decide mode for makefiles.

This commit is contained in:
Paul Bryan Roberts 2009-02-22 19:39:52 +00:00 committed by Alexandre Julliard
parent b6fcb20433
commit 3e50aaf201

View file

@ -878,7 +878,7 @@ static FILE *create_temp_file( char **tmp_name )
for (i = 0; i < 100; i++)
{
sprintf( name, "%s.tmp%08x", OutputFileName, id );
if ((fd = open( name, O_RDWR | O_CREAT | O_EXCL, 0600 )) != -1)
if ((fd = open( name, O_RDWR | O_CREAT | O_EXCL, 0666 )) != -1)
{
ret = fdopen( fd, "w" );
break;