This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 05/29] Allow fd_mask type not be an array of long.
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: Andrew Pinski <apinski at cavium dot com>, <libc-alpha at sourceware dot org>
- Date: Mon, 27 Oct 2014 12:32:34 -0400
- Subject: Re: [PATCH 05/29] Allow fd_mask type not be an array of long.
- Authentication-results: sourceware.org; auth=none
- References: <1414396793-9005-1-git-send-email-apinski at cavium dot com> <1414396793-9005-6-git-send-email-apinski at cavium dot com>
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.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com