Avoid a segfault for wc --files0=- < /dev/null.
authorJim Meyering <jim@meyering.net>
Mon, 26 Jun 2006 08:39:59 +0000 (08:39 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 Jun 2006 08:39:59 +0000 (08:39 +0000)
commit6def7f622770acefde65603432c4bf216948d44e
tree68f5a0baf56ba0c0db60199abe8974245b8d71fe
parentd77808bb40f70f60f6e0c2309a33fec36d36c4e5
Avoid a segfault for wc --files0=- < /dev/null.
* src/wc.c (compute_number_width): Return right away if nfiles == 0.
ChangeLog
src/wc.c