Use ferror(3) to check for errors, rather than inspecting errno. Thanks to
authorMatt Kraai <kraai@debian.org>
Mon, 6 Aug 2001 16:09:09 +0000 (16:09 -0000)
committerMatt Kraai <kraai@debian.org>
Mon, 6 Aug 2001 16:09:09 +0000 (16:09 -0000)
commit2338d3176bdb6fb607a8ce81534e88522d8c516c
treebc17e5768f410ffb2b67c9d6af57c98ccc59d9b5
parent063c1f54eae3e1dcb8dd5c00ba9bf802357d3cb9
Use ferror(3) to check for errors, rather than inspecting errno.  Thanks to
David Douthitt for reporting, and shame on me for writing such crappy code.
coreutils/head.c
head.c