X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fpor-file-writer.c;h=1853ad3a56a5877e265abbff7b2f5caa35313112;hb=7344ce41487d4294726d597b99bbef5c3cfa1ce6;hp=4b25d38f31dccffd798219df85fffa9cc8145c74;hpb=3db83b515247dca69abbf7ad05d3dbdfec4b524c;p=pspp diff --git a/src/data/por-file-writer.c b/src/data/por-file-writer.c index 4b25d38f31..1853ad3a56 100644 --- 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; - 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."),