Set umask before mkstemp() for some versions of glibc

This commit is contained in:
Mukund Sivaraman committed 2008-08-24 12:02:54 +05:30
1 parent ee70057f76
commit b6bd791e24
4 files changed
+16 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ makedaemon(void)
exit(0);
chdir("/");
umask(077);
umask(0177);
#if NDEBUG
/*