[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coreutils] [PATCH] copy, tee: assume EINTR is always defined: remov
From: |
Eric Blake |
Subject: |
Re: [coreutils] [PATCH] copy, tee: assume EINTR is always defined: remove #ifdefs |
Date: |
Mon, 31 Jan 2011 08:14:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 01/31/2011 08:11 AM, Jim Meyering wrote:
>> Actually, the gnulib errno module (which we already use) guarantees
>> pretty much ALL posix-defined errno values.
>
> As you probably know, EINTR is not on gnulib's list.
Not in errno.in.h, but it IS in tests/test-errno.c, which means that
(with no failures of that test) that it is sufficiently portable that
errno.in.h need not worry about it.
> Actually no. At least not that I could see:
>
> $ git grep -E 'ifn?def E' src|sort -u
Nice - then you cleaned the last one :)
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature