This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Avoid duplication of _CLOEXEC and _NONBLOCK values
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Guy Martin <gmsoft at tuxicoman dot be>
- Cc: libc-help at sourceware dot org
- Date: Fri, 13 Aug 2010 21:38:47 -0400
- Subject: Re: [PATCH 1/2] Avoid duplication of _CLOEXEC and _NONBLOCK values
- References: <1281176816-4072-1-git-send-email-gmsoft@tuxicoman.be><AANLkTi=mJdVr+-+kDV2P3E+wrZr+fJR7TavQAh+fw3Je@mail.gmail.com>
On Sun, Aug 8, 2010 at 3:20 PM, Carlos O'Donell <carlos@systemhalted.org> wrote:
> On Sat, Aug 7, 2010 at 6:26 AM, Guy Martin <gmsoft@tuxicoman.be> wrote:
>> This patch define all the _CLOEXEC and _NONBLOCK derived values as O_CLOEXEC and
>> O_NONBLOCK respectively. This avoids a lot of header duplication and a handfull of
>> obsolete files can be removed.
Guy,
Ulrich has rejected this patch for the core glibc architectures, but I
think it should go into ports.
It would be excellent if ports had a central set of headers, each port
used those headers, and defined the different constants in
kernel-constants.h.
It's the same idea but without the cleanup for the core architectures,
only arm, alpha, mips, m68k, and hppa will use the cleanup.
What do you think?
Cheers,
Carlos.