projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update recommended gnulib commit
[pspp]
/
tests
/
language
/
lexer
/
segment-test.c
diff --git
a/tests/language/lexer/segment-test.c
b/tests/language/lexer/segment-test.c
index 2cd141cfe01598972fc83f97a26cf871d4912088..62db4814266395b84315857503fd4bfbf33fdc9d 100644
(file)
--- a/
tests/language/lexer/segment-test.c
+++ b/
tests/language/lexer/segment-test.c
@@
-73,8
+73,8
@@
main (int argc, char *argv[])
/* Read from stdin into 'input'. Ensure that 'input' ends in a new-line
followed by a null byte. */
input = (!strcmp (file_name, "-")
/* Read from stdin into 'input'. Ensure that 'input' ends in a new-line
followed by a null byte. */
input = (!strcmp (file_name, "-")
- ? fread_file (stdin, &length)
- : read_file (file_name, &length));
+ ? fread_file (stdin,
0,
&length)
+ : read_file (file_name,
0,
&length));
if (input == NULL)
error (EXIT_FAILURE, errno, "reading %s failed", file_name);
if (input == NULL)
error (EXIT_FAILURE, errno, "reading %s failed", file_name);