projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
segment: Fix 1-byte read past initialized data when file ends in CR.
[pspp]
/
tests
/
data
/
datasheet-test.c
diff --git
a/tests/data/datasheet-test.c
b/tests/data/datasheet-test.c
index 5f903c4dd943bc86769a8332fa0c039819f6c737..1310f51337234783e9ffd5b0752a87493c69da98 100644
(file)
--- a/
tests/data/datasheet-test.c
+++ b/
tests/data/datasheet-test.c
@@
-42,7
+42,6
@@
#include "error.h"
#include "minmax.h"
#include "progname.h"
#include "error.h"
#include "minmax.h"
#include "progname.h"
-#include "xalloc.h"
/* lazy_casereader callback function to instantiate a casereader
from the datasheet. */
/* lazy_casereader callback function to instantiate a casereader
from the datasheet. */
@@
-856,10
+855,9
@@
usage (void)
" other values are string widths (0,1,11)\n",
program_name, program_name);
mc_options_usage ();
" other values are string widths (0,1,11)\n",
program_name, program_name);
mc_options_usage ();
- fputs ("\nOther options:\n"
- " --help Display this help message\n"
- "\nReport bugs to <bug-gnu-pspp@gnu.org>\n",
- stdout);
+ printf ("\nOther options:\n"
+ " --help Display this help message\n"
+ "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT);
exit (0);
}
exit (0);
}