Fix two bugs in split in split revealed after my optimization in
authorHiten Pandya <hmp@dragonflybsd.org>
Sat, 25 Oct 2003 14:14:52 +0000 (14:14 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Sat, 25 Oct 2003 14:14:52 +0000 (14:14 +0000)
commit89c29cf830cf9bf2092f2490d6bdcf15a431a71e
tree349e2f338c1906611a712180a0dca0459b5212d4
parent81f5fc99133712a709867f52826380cbcb21ef0a
Fix two bugs in split in split revealed after my optimization in
last revision of this file.

Check for new file at the beginning and not at the end to avoid
the internal buffer getting confused.

Submitted by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
usr.bin/split/split.c