with the RPATH enforcement, csplit(1) don't work anymore on stdin...
authorsemarie <semarie@openbsd.org>
Sun, 11 Oct 2015 17:43:03 +0000 (17:43 +0000)
committersemarie <semarie@openbsd.org>
Sun, 11 Oct 2015 17:43:03 +0000 (17:43 +0000)
commitaf1a137a48c2268eba4ec3b0d21a30f973e72eef
treed588032b8d13de3a0ac6ba9b37830e9f0c8439e5
parent7020b4321707d78c1a85bf7ddb61662cb7bd0d93
with the RPATH enforcement, csplit(1) don't work anymore on stdin...

the newfile() function used for create files open files in "w+"
(O_RDWR), and may occasionally do reading on the file (function
toomuch()).

ok deraadt@
usr.bin/csplit/csplit.c