[PATCH 1/2] Avoid duplication of _CLOEXEC and _NONBLOCK values

Carlos O'Donell carlos@systemhalted.org
Sat Aug 14 01:38:00 GMT 2010


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.



More information about the Libc-help mailing list