projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sys-file-reader: Better handle duplicate names without long names.
[pspp]
/
utilities
/
pspp-convert.c
diff --git
a/utilities/pspp-convert.c
b/utilities/pspp-convert.c
index b7dd30b6c9c9e7325fec3b9f2a2458d787c24877..f21e5bdb8b907cb51a25a331d9311f436fc743e5 100644
(file)
--- a/
utilities/pspp-convert.c
+++ b/
utilities/pspp-convert.c
@@
-166,7
+166,7
@@
main (int argc, char *argv[])
if (! decrypt_file (enc, input_fh, output_fh, password))
goto error;
-
+
goto exit;
}
@@
-203,6
+203,8
@@
main (int argc, char *argv[])
output_filename);
NOT_REACHED ();
}
+ if (!writer)
+ error (1, 0, _("%s: error opening output file"), output_filename);
for (i = 0; i < max_cases; i++)
{