wc: fix a possible hang with --files0-from
authorPádraig Brady <P@draigBrady.com>
Sat, 18 Dec 2010 03:25:49 +0000 (03:25 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 19 Dec 2010 00:40:27 +0000 (00:40 +0000)
commit0eaa993ae64d75c7b9da62c99e9e5f617b6a248d
treef6c8c108faa2d0e36b91576d662d7843bae6da9e
parente66948c3b59045bf8b9f6bd1e0dcc3bb93488cab
wc: fix a possible hang with --files0-from

* src/wc.c (main): exit when we get a read error on
the --files0-from file, rather than retrying and
spinning the CPU
src/wc.c