projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fbuf: New data structure for buffered file I/O.
[pspp]
/
src
/
data
/
por-file-writer.c
diff --git
a/src/data/por-file-writer.c
b/src/data/por-file-writer.c
index 4b25d38f31dccffd798219df85fffa9cc8145c74..1853ad3a56a5877e265abbff7b2f5caa35313112 100644
(file)
--- a/
src/data/por-file-writer.c
+++ b/
src/data/por-file-writer.c
@@
-152,8
+152,7
@@
pfm_open_writer (struct file_handle *fh, struct dictionary *dict,
mode = 0444;
if (opts.create_writeable)
mode |= 0222;
mode = 0444;
if (opts.create_writeable)
mode |= 0222;
- w->rf = replace_file_start (fh, "w", mode,
- &w->file);
+ w->rf = replace_file_start (fh, false, mode, &w->file);
if (w->rf == NULL)
{
msg (ME, _("Error opening `%s' for writing as a portable file: %s."),
if (w->rf == NULL)
{
msg (ME, _("Error opening `%s' for writing as a portable file: %s."),