This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] HPPA : Define all the hppa specific _CLOEXEC and _NONBLOCK values
On Fri, Aug 6, 2010 at 10:44 AM, Guy Martin <gmsoft@tuxicoman.be> wrote:
> On Fri, 6 Aug 2010 10:34:12 -0400
> "Carlos O'Donell" <carlos@systemhalted.org> wrote:
>>
>> Is this because hppa doesn't use the same values as x86 and the only
>> way to get your own values is to modify your own copies of said files?
>
> As far as I can see, yes. Alpha is doing exactly the same thing.
>
> Maybe a better fix would be to have glibc derive the value of all the
> _CLOEXEC and _NONBLOCK from O_CLOEXEC and O_NONBLOCK instead of each
> having its own copy. This is how they are defined in the kernel anyway.
Yes, it would be a better fix. However, I understand that this would
be more work and you may not have much time as a volunteer. Are you
interested in fixing this problem in a more general way? I would be
willing to help champion such a patch on libc-alpha.
It's getting a bit out of hand that each machine has to carry complete
copies of all of these headers.
Cheers,
Carlos.