diff options
author | ru <ru@FreeBSD.org> | 2001-09-26 11:32:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-26 11:32:23 +0000 |
commit | e43023b2d0bbef29cace4600bceace83284edeaf (patch) | |
tree | 6006dc47eb408282a785825ca9bcbb7fd57cbb70 /lib/libc/string/strdup.c | |
parent | 9ab85c59297c02e5c30289d283cdd33f73017e7a (diff) | |
download | FreeBSD-src-e43023b2d0bbef29cace4600bceace83284edeaf.zip FreeBSD-src-e43023b2d0bbef29cace4600bceace83284edeaf.tar.gz |
The "cat - -" feature was broken by the last commit.
Restore the code that avoided closing and reopening
stdin. This is also required by POSIX. As a bonus,
enable multiple stdin reads with the -benstv flags,
by resetting the EOF condition on stdin.
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions