mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
makedep: Let umask decide mode for makefiles.
This commit is contained in:
parent
b6fcb20433
commit
3e50aaf201
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue