freebsd-dev/usr.bin/split
Math Ieu 172be8642d split: reset errno prior to getline()
Something else may have set errno, breaking the post-getline() logic
that tries to detect the getline() error.  This was initially noted in
a jail on a system that has HPET, in a jail that does not expose
/dev/hpet0 -- we see an earlier error in libc's vdso bits.

Fixes:	5c053aa3c5 ("split: switch to getline() [...]")
2022-10-27 12:17:59 -05:00
..
tests split: add some tests 2022-10-25 10:05:24 -05:00
Makefile split: add some tests 2022-10-25 10:05:24 -05:00
Makefile.depend
split.1 split: add word order fix 2022-10-25 16:52:14 -05:00
split.c split: reset errno prior to getline() 2022-10-27 12:17:59 -05:00