Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information