Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 15:43:43 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Bruce Evans <bde@zeta.org.au>, Mike Makonnen <makonnen@pacbell.net>, freebsd-audit@FreeBSD.ORG
Subject:   Re: RFC: Port of NetBSD cat(1)'s -f option.
Message-ID:  <20020516124343.GA93634@hades.hell.gr>
In-Reply-To: <20020516152345.E349@straylight.oblivion.bg>
References:  <20020515211758.GB68380@hades.hell.gr> <20020516164332.B1704-100000@gamplex.bde.org> <20020516134044.A349@straylight.oblivion.bg> <xzpznz0thma.fsf@flood.ping.uio.no> <20020516152345.E349@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-05-16 15:23, Peter Pentchev <roam@ringlet.net> wrote:
> Actually, now I don't know what to think - for the past few months,
> I have been writing my own programs with explicit checks for -1.
> Is there an OS out there that returns negative values other than -1?
> I presume that no *new* OS and no new syscalls will be written to
> return such, so no further incompatibility would be introduced;
> but is there an existing platform that would break programs which
> check explicitly for -1?

I'm not sure.  The < 0 check is almost hardwired in my fingers,
because of a few years of writing it this way.  Just trying to be on
the safe side of the world, I guess.

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020516124343.GA93634>