AnyEvent::Util::run_cmd bug

Marc Lehmann schmorp at schmorp.de
Wed Aug 24 03:58:26 CEST 2011


On Wed, Aug 24, 2011 at 10:11:05AM +1000, Kevin Ryde <user42 at zip.com.au> wrote:
> Is sysread() supposed to return EINTR?

It's supposed to return whatever the read() syscall returns. I guess.

> PerlIOUnix_read() and friends look like they explicitly retry ... if
> that's the final point reached by sysread() these days.

That is true. Unfortunately for us, pp_sysread calls read() more or less
directly on sane platforms.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list