Update to reflect latest copy of Gnulib
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 3 Dec 2009 20:50:15 +0000 (21:50 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 3 Dec 2009 20:50:15 +0000 (21:50 +0100)
Conflicts:

README.Git
src/data/make-file.c

Smake
src/data/make-file.c

diff --git a/Smake b/Smake
index 29f93365d37297ec988fd89d9fa1a2d32b793667..b63e7021162594cb52186c64355a1abee380b346 100644 (file)
--- a/Smake
+++ b/Smake
@@ -9,6 +9,7 @@ GNULIB_MODULES = \
        byteswap \
        c-ctype \
        c-strtod \
+       canonicalize \
        close \
        crypto/md4 \
        dirname \
index 2162741a78e416324d07578f49e5d75f5da4a95e..e4c9234044a687a078d198c2ec85f5385cd4f7dd 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, 0, 0600, GT_NOCREATE) < 0)
         {
           msg (ME, _("Creating temporary file to replace %s: %s."),
                rf->file_name, strerror (errno));