Messages in this thread | | | From | Julian Bradfield <> | Date | Mon, 7 Jun 1999 17:16:56 +0200 (MDT) | Subject | (not 2.0) Re: [PROBLEM+PATCH] 2.X zero-length read on non-empty pipe returns EAGAIN |
| |
Thanks for that.
It's been pointed out to me that there is no problem with 2.0 kernels. (As I said, I only observed it on 2.2.9, and just eyeballed the source for 2.0, but not closely enough!) This is because in 2.0, sys_read itself checks for count <= 0, whereas in 2.2.9 it doesn't. Out of curiosity, why was that check removed from sys_read, which seems the natural place for it?
(And how does one answer questions like that? Is there, somewhere, a ChangeLog file for Linux?)
Julian.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |