commit | 3e50aaf201a1d60cc551cb43c14cb4ba4e75e93c | [log] [tgz] |
---|---|---|
author | Paul Bryan Roberts <pbronline-wine@yahoo.co.uk> | Sun Feb 22 19:39:52 2009 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Feb 24 16:57:27 2009 +0100 |
tree | 278f92fd651cd0a444527acd1791603fabf93a01 | |
parent | b6fcb2043313e46253bd2f95598a052808cd7088 [diff] [blame] |
makedep: Let umask decide mode for makefiles.
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 @@ 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;