summaryrefslogtreecommitdiffstats
path: root/contrib/byacc/main.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-08 20:46:38 +0000
committerbapt <bapt@FreeBSD.org>2014-10-08 20:46:38 +0000
commit32befc6ec2a645ec57a0873d93ecf222f0ceb4bc (patch)
treee5ba3c994bf24de96e19241f4b9a06d445e5fe86 /contrib/byacc/main.c
parent0ebf86e1b131b204f5054f320e6d39a4a70bfa6b (diff)
downloadFreeBSD-src-32befc6ec2a645ec57a0873d93ecf222f0ceb4bc.zip
FreeBSD-src-32befc6ec2a645ec57a0873d93ecf222f0ceb4bc.tar.gz
Import byacc 20141006
Diffstat (limited to 'contrib/byacc/main.c')
-rw-r--r--contrib/byacc/main.c4
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);
OpenPOWER on IntegriCloud