diff options
author | Jim Meyering <jim@meyering.net> | 1992-11-24 14:42:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-11-24 14:42:18 +0000 |
commit | 050063993738300ec27de62df1c761bb334af9ea (patch) | |
tree | ca8a6fe0081a5528f871aeabddd7b0b598785eee /src/uname.c | |
parent | 750bb6aa692485b3ffc567aabead9de97d4eb5ca (diff) | |
download | coreutils-050063993738300ec27de62df1c761bb334af9ea.tar.xz |
* (print_ascii, dump_strings): Check for isascii before isprint.
(dump_strings): Free malloc'd buffer before returning.
(skip): Return non-zero if an error occurred, zero otherwise.
Exit only if asked to skip beyond end of combined input.
(check_and_close): New function.
(skip, read_block, read_char): Call check_and_close when done
processing the file associated with in_stream.
(skip, read_block, read_char): Set have_read_stdin.
(main): Close stdin (if it was ever read) and check for errors
just before exiting.
(write_block, dump_strings, dump): Don't test return value from
functions that operate on streams. Rely on later ferror tests.
Diffstat (limited to 'src/uname.c')
0 files changed, 0 insertions, 0 deletions