diff options
Diffstat (limited to 'contrib/byacc/main.c')
-rw-r--r-- | contrib/byacc/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/byacc/main.c b/contrib/byacc/main.c index bbcff58..b43cd13 100644 --- a/contrib/byacc/main.c +++ b/contrib/byacc/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.53 2014/10/06 00:55:28 tom Exp $ */ +/* $Id: main.c,v 1.54 2014/10/06 22:40:07 tom Exp $ */ #include <signal.h> #ifndef _WIN32 @@ -574,7 +574,7 @@ open_tmpfile(const char *label) result = 0; if (name != 0) { - int save_umask = umask(0600); + mode_t save_umask = umask(0177); if ((mark = strrchr(label, '_')) == 0) mark = label + strlen(label); |