lkml.org 
[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:0.019 / U:0.848 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site