From owner-freebsd-audit Thu May 16 5:14:11 2002 Delivered-To: freebsd-audit@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id C91B637B406; Thu, 16 May 2002 05:14:08 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DEF5A5307; Thu, 16 May 2002 14:14:05 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: Bruce Evans , Giorgos Keramidas , Mike Makonnen , freebsd-audit@FreeBSD.ORG Subject: Re: RFC: Port of NetBSD cat(1)'s -f option. References: <20020515211758.GB68380@hades.hell.gr> <20020516164332.B1704-100000@gamplex.bde.org> <20020516134044.A349@straylight.oblivion.bg> From: Dag-Erling Smorgrav Date: 16 May 2002 14:14:05 +0200 In-Reply-To: <20020516134044.A349@straylight.oblivion.bg> Message-ID: Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Pentchev writes: > Also, aren't we supposed to test the return values of syscalls explicitly > against -1, and not just < 0? Is a negative return value different from -1 more correct than -1? Should it be silently ignored? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message