Date: Wed, 26 Sep 2001 04:32:23 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/cat cat.c Message-ID: <200109261132.f8QBWNP00121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2001/09/26 04:32:23 PDT
Modified files:
bin/cat cat.c
Log:
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.
Revision Changes Path
1.18 +16 -6 src/bin/cat/cat.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109261132.f8QBWNP00121>
