This is the mail archive of the
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: <firstname.lastname@example.org><AANLkTi=mJdVr+-+kDV2P3E+wrZr+fJR7TavQAh+fw3Je@mail.gmail.com>
On Sun, Aug 8, 2010 at 3:20 PM, Carlos O'Donell <email@example.com> wrote:
> On Sat, Aug 7, 2010 at 6:26 AM, Guy Martin <firstname.lastname@example.org> 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.
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
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?