projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GNU standards require "file name" instead of "filename" in
[pspp-builds.git]
/
src
/
data
/
sys-file-writer.c
diff --git
a/src/data/sys-file-writer.c
b/src/data/sys-file-writer.c
index 5ba525cbfed518edd7af6bcc1cb5ec7c443db429..690a485909d25dfb0304575f0fd89f1f88114855 100644
(file)
--- a/
src/data/sys-file-writer.c
+++ b/
src/data/sys-file-writer.c
@@
-145,7
+145,7
@@
sfm_open_writer (struct file_handle *fh, struct dictionary *d,
mode = S_IRUSR | S_IRGRP | S_IROTH;
if (opts.create_writeable)
mode |= S_IWUSR | S_IWGRP | S_IWOTH;
mode = S_IRUSR | S_IRGRP | S_IROTH;
if (opts.create_writeable)
mode |= S_IWUSR | S_IWGRP | S_IWOTH;
- fd = open (fh_get_filename (fh), O_WRONLY | O_CREAT | O_TRUNC, mode);
+ fd = open (fh_get_file
_
name (fh), O_WRONLY | O_CREAT | O_TRUNC, mode);
if (fd < 0)
goto open_error;
if (fd < 0)
goto open_error;
@@
-246,7
+246,7
@@
sfm_open_writer (struct file_handle *fh, struct dictionary *d,
open_error:
msg (ME, _("Error opening \"%s\" for writing as a system file: %s."),
open_error:
msg (ME, _("Error opening \"%s\" for writing as a system file: %s."),
- fh_get_filename (fh), strerror (errno));
+ fh_get_file
_
name (fh), strerror (errno));
goto error;
}
goto error;
}
@@
-893,7
+893,7
@@
sfm_close_writer (struct sfm_writer *w)
if (!ok)
msg (ME, _("An I/O error occurred writing system file \"%s\"."),
if (!ok)
msg (ME, _("An I/O error occurred writing system file \"%s\"."),
- fh_get_filename (w->fh));
+ fh_get_file
_
name (w->fh));
}
fh_close (w->fh, "system file", "we");
}
fh_close (w->fh, "system file", "we");