summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-26 11:32:23 +0000
committerru <ru@FreeBSD.org>2001-09-26 11:32:23 +0000
commite43023b2d0bbef29cace4600bceace83284edeaf (patch)
tree6006dc47eb408282a785825ca9bcbb7fd57cbb70 /lib/libc/string/strdup.c
parent9ab85c59297c02e5c30289d283cdd33f73017e7a (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud