Abort depgen output reading on EOF, not child exiting
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 8 Jun 2011 07:01:14 +0000 (10:01 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 8 Jun 2011 07:01:14 +0000 (10:01 +0300)
commitfb3412e80b52b19d51557b81b318b85f785acffd
treeaaae9df53074a98e9cc62bdc9e6b74e18708403f
parentbc059725442a69594878b8fa182c8495ca27df59
Abort depgen output reading on EOF, not child exiting
- There could, at least in theory, still be data to read after
  we receive SIGCHLD. Stop the loop on EOF on read instead.
  Thanks to Michael Schroeder for pointing this out.
build/rpmfc.c