diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-08 20:41:56 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-08 20:41:56 +0000 |
| commit | c021d7a62270a1857f906697e771ca46fccb0106 (patch) | |
| tree | 0c43a2a8b2f92f71c4bff922127ac483fb2f7802 /main.c | |
| parent | f78bee35d744f1874ca50e8ba4e237fd6a21ead3 (diff) | |
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
