commit | 09d95477765d3941aacb61c97f76ee94301b8faa | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 12 08:13:06 2016 -0800 |
committer | Rob Landley <rob@landley.net> | Sun Feb 14 12:36:28 2016 -0600 |
tree | 902eff9ad737270bb435d5f799972dd29a1ebdc9 | |
parent | 363659c859b1e6800e5568582af6b2a61f74405d [diff] |
Fix wc -c optimization. Check the fstat(2) return value rather than read uninitialized memory if it failed, and add a special case for files that claim to be zero-length but aren't (as is common in /proc on Linux).