News for hackers. Stuff that matters.
Re:POSIX close(2) is broken by __david__ on Saturday December 17, 2011 @02:38PM (#3364929)
Perl seems to do this (PerlIOUnix_close() in perlio.c)[1]:

    while (PerlLIO_close(fd) != 0) {
        if (errno != EINTR) {
            code = -1;
            break;
        }
        /* EINTR */
        if (PL_sig_pending && S_perlio_async_run(aTHX_ f))
            return -1;
    }

[1] https://github.com/mirrors/perl/blob/be48bbe8d671b6841c3ec7c...

There are no comments on this comment yet.