Use a more robust test for a "can't happen" condition.
authorJim Meyering <jim@meyering.net>
Mon, 8 Jan 2007 10:32:58 +0000 (10:32 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 8 Jan 2007 10:32:58 +0000 (10:32 +0000)
commit729cf45871bb16065dde7ef0e87823a7ba57b8f3
treed57533e56ab4bac6c46e717e00de15cfeec14aa7
parent7ea63ac2ac3498f2d02d5f2cead9f521f6f9b766
Use a more robust test for a "can't happen" condition.
* lib/fts.c (fts_read): Revert the change of 2006-11-22, since it
narrowed the st_size value.  Presuming the "can't happen" condition
is true, that narrowing could conceivably convert an invalid st_size
value into a valid one.  Instead, use a change based on Matthew
Woehlke's original patch.
ChangeLog
lib/fts.c