freebsd-nq/usr.bin/tail
Conrad Meyer b2b1603e17 tail(1): Do not print bogus errno string
In the case where write(2) does not return -1, it does not initialize errno.
This can happen when a broken pipe causes a short write.

I attempted to adapt the submitted test case to ATF but could not figure out
how to make the test run in the ATF environment.  So the aborted test is
left disabled, in case someone would like to run it manually or fix it.

PR:		221976
Submitted by:	<martin AT lispworks.com> (earlier version)
Sponsored by:	Dell EMC Isilon
2017-09-01 22:37:49 +00:00
..
tests tail(1): Do not print bogus errno string 2017-09-01 22:37:49 +00:00
extern.h tail(1): Do not print bogus errno string 2017-09-01 22:37:49 +00:00
forward.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend
misc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
read.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
reverse.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tail.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tail.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00