diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-12 08:06:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-12 08:06:28 +0000 |
commit | f6ab92093a0e199da1fa0085829a2427709ed79d (patch) | |
tree | 1559d7d5a3146432838d2d0a6bcd2bf9f7c60650 /ChangeLog | |
parent | 75ae174b6a070604d0c799a58879896da4ec5f40 (diff) | |
download | coreutils-f6ab92093a0e199da1fa0085829a2427709ed79d.tar.xz |
Add bulletproofing in case stdin is closed.
(have_read_stdin): Remove global variable.
(dc_parse_stream): Always use stdin (freopen, if needed) rather
than sometimes using fopen to get a new file descriptor.
Call fclose unconditionally.
(main): Don't close stdin here. If needed, now it's already done
by dc_parse_stream.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions