This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 05/29] Allow fd_mask type not be an array of long.


On 27 October 2014 16:32, Chris Metcalf <cmetcalf@tilera.com> wrote:
> On 10/27/2014 3:59 AM, Andrew Pinski wrote:
>>
>> +/* The fd_set member is required to be an array of longs by XPG4.2.  */
>
>
> So on aarch64 compat it's now an array of long longs.  Is this a problem?
> Would it be better to make it an array of longs but twice as many longs on
> ILP32 as on LP64?  I suppose this becomes problematic when supporting
> big-endian, though.  But it would be good to address the XPG4.2 issue
> somewhere in the headers.

Yes, this seems strange to me. Maybe it might be best handled by a
wrapper in the kernel?

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]