Paul Bryan Roberts : makedep: Let umask decide mode for makefiles.
Module: wine Branch: master Commit: 3e50aaf201a1d60cc551cb43c14cb4ba4e75e93c URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e50aaf201a1d60cc551cb43c1... Author: Paul Bryan Roberts <pbronline-wine(a)yahoo.co.uk> Date: Sun Feb 22 19:39:52 2009 +0000 makedep: Let umask decide mode for makefiles. --- tools/makedep.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index 7941ea0..4194073 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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;
participants (1)
-
Alexandre Julliard