summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43/getdtablesize.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-01-04 16:14:20 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-01-04 16:14:20 +0000
commitb328be7dcf2e4b80432edd8c7760d4229dea73f9 (patch)
tree65ad5a3fe2bc6fb7db2ce6403532c30d348ebd48 /lib/libc/compat-43/getdtablesize.c
parent940aa6d13b8e0d8191fc629a1e24b3a67a64c9a6 (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 'lib/libc/compat-43/getdtablesize.c')
0 files changed, 0 insertions, 0 deletions