develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [perl #20525] Perl's stdio layer doesn't handle EINTR

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
February 1, 2003 02:38
Subject:
Re: [perl #20525] Perl's stdio layer doesn't handle EINTR
Message ID:
20030201103823.1872.4@bactrian.ni-s.u-net.com
Michael Schroeder <mls@suse.de> writes:
>> Agreed in principle - do you have a verified patch for perlio.c to hand?
>
>The one attached seems to do the trick. I didn't patch the
>PerlIOStdio_close() function, though, because the linux manpage
>contains:
>

I have applied the patch to //depot/perlio/perlio.c@18611

I added calls to PERL_ASYNC_CHECK() in the loops so that posted %SIG 
callbacks are dispatched before doing re-try (which matches 
what :unix and :perlio do). 


-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About