fbuf: New data structure for buffered file I/O.
[pspp] / src / data / csv-file-writer.c
index c01cb342318e32d9e12ad78505dee4c26a113a7c..94338c2bcf74b366af40b88ec25e436a88d99a21 100644 (file)
@@ -153,7 +153,7 @@ csv_writer_open (struct file_handle *fh, const struct dictionary *dict,
     goto error;
 
   /* Create the file on disk. */
-  w->rf = replace_file_start (fh, "w", 0666,  &w->file);
+  w->rf = replace_file_start (fh, false, 0666, &w->file);
   if (w->rf == NULL)
     {
       msg (ME, _("Error opening `%s' for writing as a system file: %s."),