This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][BZ #14627] Make linux close errno to EINPROGRESS when interrupted in signal.
- From: Rich Felker <dalias at aerifal dot cx>
- To: David Miller <davem at davemloft dot net>
- Cc: eagle at eyrie dot org, libc-alpha at sourceware dot org
- Date: Thu, 5 Dec 2013 20:39:27 -0500
- Subject: Re: [RFC][BZ #14627] Make linux close errno to EINPROGRESS when interrupted in signal.
- Authentication-results: sourceware.org; auth=none
- References: <20131205223223 dot GQ24286 at brightrain dot aerifal dot cx> <20131205 dot 193739 dot 882517176297322058 dot davem at davemloft dot net> <20131206005337 dot GU24286 at brightrain dot aerifal dot cx> <20131205 dot 202925 dot 591041700017624526 dot davem at davemloft dot net>
On Thu, Dec 05, 2013 at 08:29:25PM -0500, David Miller wrote:
> From: Rich Felker <dalias@aerifal.cx>
> Date: Thu, 5 Dec 2013 19:53:37 -0500
>
> > I doubt anything else checks.
>
> Emacs checked back ~13 years ago, and any error made it abort and dump
> core.
>
> Now, wrt. the precedence tape drives, it would be interesting if
> someone went and checked what things like cpio and tar do. :-)
They shouldn't ever see EINTR because they have no reason to set up an
interrupting signal handler (or even any signal handlers at all).
Rich