makedep: let umask decide mode for Makefiles

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Sun Feb 22 13:39:52 CST 2009


---
 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;
-- 
1.5.4.3


--------------010307090103010908040204--



More information about the wine-patches mailing list