From owner-cvs-all Wed Sep 26 4:32:30 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CACED37B414; Wed, 26 Sep 2001 04:32:23 -0700 (PDT) Received: (from ru@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8QBWNP00121; Wed, 26 Sep 2001 04:32:23 -0700 (PDT) (envelope-from ru) Message-Id: <200109261132.f8QBWNP00121@freefall.freebsd.org> From: Ruslan Ermilov Date: Wed, 26 Sep 2001 04:32:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/cat cat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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