bug-gnulib
[Top][All Lists]
Advanced

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

Re: Is IRIX 6.5 obsolete?


From: Eric Blake
Subject: Re: Is IRIX 6.5 obsolete?
Date: Tue, 22 May 2012 06:30:09 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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