gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: tla on aix


From: Robert Collins
Subject: Re: [Gnu-arch-users] Re: tla on aix
Date: Wed, 11 Feb 2004 09:04:20 +1100

On Wed, 2004-02-11 at 08:51, address@hidden wrote:
> If the length is any non-positive number, this program runs happily; for
> length=zero, no output is produced, and it hangs.
> 
> Is this some weird corner of the C standard, or is AIX being
> pathologically odd?

I'd say pathologically odd. 
http://216.239.53.104/search?q=cache:Vo4NB1FxENoJ:nscp.upenn.edu/aix4.3html/libs/basetrf2/write.htm+zero+length+write+AIX&hl=en&ie=UTF-8

Some interesting stuff there. Looks like write should (for you) return
-1 and set errno to ERANGE. The crashing is definately abnormal.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]