diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-04 16:14:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-04 16:14:20 +0000 |
commit | b328be7dcf2e4b80432edd8c7760d4229dea73f9 (patch) | |
tree | 65ad5a3fe2bc6fb7db2ce6403532c30d348ebd48 /sys/dev/pci | |
parent | 940aa6d13b8e0d8191fc629a1e24b3a67a64c9a6 (diff) |
Bugfix: When errno happens to be EILSEQ upon entry to fgetws(3),
and when the file ends without a terminating Ln character,
fgetws(3) discarded any characters read and reported bogus EOF.
Never inspect errno(2) unless right after an error occurred!
OK millert@
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions