projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99bafcc
)
Update to most recent Gnulib
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 30 Aug 2009 14:51:16 +0000
(16:51 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 30 Aug 2009 14:51:16 +0000
(16:51 +0200)
src/data/make-file.c
patch
|
blob
|
history
diff --git
a/src/data/make-file.c
b/src/data/make-file.c
index 2162741a78e416324d07578f49e5d75f5da4a95e..f5cda498a89358662965a01c2b5e44a39c5a707b 100644
(file)
--- 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));