[BUILTIN] Continue after EINTR in read(1) with no pending signals

The recent introduction of SIGCHLD trapping broke read(1) as
each SIGCHLD may cause read(1) to return prematurely.  Now if
we did have a trap for SIGCHLD read(1) should actually do this.
However, returning when SIGCHLD isn't trapped is wrong.

This patch fixes this by checking for EINTR and pendingsigs in
read(1).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2 files changed
tree: b3ecb78c7e9017cbf7a33bbfe3b0dcf58c600cdb
  1. src/
  2. ChangeLog
  3. ChangeLog.O
  4. configure.ac
  5. COPYING
  6. Makefile.am