[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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?)


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

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