From: John Darrington Date: Sun, 30 Aug 2009 14:51:16 +0000 (+0200) Subject: Update to most recent Gnulib X-Git-Tag: build37~14 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a36d34531d79e34d314f5346c63153c788acdd1b;p=pspp-builds.git Update to most recent Gnulib --- diff --git a/src/data/make-file.c b/src/data/make-file.c index 2162741a..f5cda498 100644 --- a/src/data/make-file.c +++ b/src/data/make-file.c @@ -177,7 +177,7 @@ replace_file_start (const char *file_name, const char *mode, { /* Generate unique temporary file name. */ rf->tmp_name = xasprintf ("%s.tmpXXXXXX", file_name); - if (gen_tempname (rf->tmp_name, GT_NOCREATE) < 0) + if (gen_tempname (rf->tmp_name, 0600, GT_NOCREATE) < 0) { msg (ME, _("Creating temporary file to replace %s: %s."), rf->file_name, strerror (errno));