Re: RFC: Port of NetBSD cat(1)'s -f option.

Giorgos Keramidas <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
On 2002-05-16 15:23, Peter Pentchev <[email protected]> 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 [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.