projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace_file_start: Now takes a file handle instead of a file name
[pspp]
/
src
/
data
/
por-file-writer.c
diff --git
a/src/data/por-file-writer.c
b/src/data/por-file-writer.c
index 778b8e402f3a303157ee597380872caa87cfb000..7a3c971dec614e92091bcabfb54c41439780c8b7 100644
(file)
--- a/
src/data/por-file-writer.c
+++ b/
src/data/por-file-writer.c
@@
-153,7
+153,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
_get_file_name (fh)
, "w", mode,
+ w->rf = replace_file_start (fh, "w", mode,
&w->file, NULL);
if (w->rf == NULL)
{