[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is IRIX 6.5 obsolete?
From: |
Simon Josefsson |
Subject: |
Re: Is IRIX 6.5 obsolete? |
Date: |
Tue, 22 May 2012 14:36:37 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 05/22/2012 06:21 AM, Simon Josefsson wrote:
>> Bruno Haible <address@hidden> writes:
>>
>>> Hi Simon,
>>>
>>>> I have reverted the strdup and select patch, and I'll treat
>>>> this as a user error.
>>>
>>> It was a user error. But the select.c patch was good: it fixed an
>>> earlier-undetected mistake (that would have likely been a compilation
>>> error on Interix).
>>
>> However Interix probably made NULL available through the sys/select.h
>> header so it worked, assuming someone tested the Interix code.
>
> It may have worked by accident for now, but POSIX doesn't require it to
> work, so we are better off using an explicit include that POSIX does
> guarantee so that if future Interix ever fixes their headers for POSIX
> compliance, we continue to compile. I say we keep the added #include in
> select.c.
That is convincing and I agree, so I re-reverted the patch. The same
argument doesn't hold for strdup though: strdup is POSIX and it should
be available if the user doesn't disable it. So let's leave that patch
reverted, I guess?
/Simon
- Re: Is IRIX 6.5 obsolete?, (continued)
- Re: Is IRIX 6.5 obsolete?, Paul Eggert, 2012/05/21
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/21
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22
- Re: Is IRIX 6.5 obsolete?,
Simon Josefsson <=
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Paul Eggert, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22