[Top][All Lists]
[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>.
signature.asc
Description: This is a digitally signed message part
- [Gnu-arch-users] Re: tla on aix, tow21, 2004/02/09
- Re: [Gnu-arch-users] Re: tla on aix, Tom Lord, 2004/02/09
- Re: [Gnu-arch-users] Re: tla on aix, tow21, 2004/02/09
- Re: [Gnu-arch-users] Re: tla on aix, tow21, 2004/02/10
- Re: [Gnu-arch-users] Re: tla on aix, tow21, 2004/02/10
- Re: [Gnu-arch-users] Re: tla on aix,
Robert Collins <=
- Re: [Gnu-arch-users] Re: tla on aix, Tom Lord, 2004/02/10
- Re: [Gnu-arch-users] Re: tla on aix, tow21, 2004/02/10
- Re: [Gnu-arch-users] Re: tla on aix, Tom Lord, 2004/02/10