Update to most recent Gnulib
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 30 Aug 2009 14:51:16 +0000 (16:51 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 30 Aug 2009 14:51:16 +0000 (16:51 +0200)
src/data/make-file.c

index 2162741a78e416324d07578f49e5d75f5da4a95e..f5cda498a89358662965a01c2b5e44a39c5a707b 100644 (file)
@@ -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));