From a26729420e8d53045e12fe309202aa5cc3693da2 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 18 Nov 2009 20:40:25 +0100 Subject: [PATCH] Update to reflect latest copy of Gnulib --- README.Git | 9 +++++---- src/data/make-file.c | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.Git b/README.Git index 753423e3..7d365293 100644 --- a/README.Git +++ b/README.Git @@ -34,11 +34,12 @@ This version of PSPP should work with the Gnulib commit shown below. Gnulib does not maintain a stable API or ABI, so it is possible that PSPP will not work with older or newer versions of Gnulib. - commit e21985ad14508137d75b0dccf064adfc4e5888c6 - Author: Bruno Haible - Date: Mon Sep 28 23:25:49 2009 +0200 + commit 0883405cc751858a633bebc56acb75381a6e50c8 + Author: Eric Blake + Date: Wed Nov 18 06:59:44 2009 -0700 + + utimens: fix regression on Solaris - Avoid identifier clash with POSIX function 'remove' defined as a macro. To clone Gnulib into a directory named "gnulib" using Git, and then check out this particular commit, run these commands: diff --git a/src/data/make-file.c b/src/data/make-file.c index f5cda498..e4c92340 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, 0600, 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)); -- 2.30.2