ESPIPE error in 4.2
colonel at gloria.UUCP
colonel at gloria.UUCP
Wed May 2 02:30:22 AEST 1984
[also, why can't I execute a character special file?]
In 4.2bsd, lseek() on a pipe seems to return EINVAL instead of ESPIPE.
This breaks things like
echo abcde | tail +3c
Fortunately, it looks like a simple fix - change one word in
ufp_syscalls.c.
Does anybody have any arguments AGAINST fixing it this way?
--
Col. G. L. Sicherman
...seismo!rochester!rocksvax!sunybcs!gloria!colonel
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list