>>>>> "Patrick" == Patrick J LoPresti <[EMAIL PROTECTED]> writes:

    Patrick> Sam Hartman <[EMAIL PROTECTED]> writes:
    >> This problem certainly is real and is happening to other people
    >> as well.  When I looked at it, I convinced myself that errno of
    >> EINTR was just an artifact--just what was currently sitting in
    >> erno and that the read call was failing with EOF not with an
    >> error.

    Patrick> I thought read() returned zero on EOF and only returned
    Patrick> -1 on a real error.  Does the code in question not
    Patrick> distinguish between these outcomes?


No, it does not distinguish.  Both are fatal for that code.  The
debugging output is verbose enough that you as a developer can
distinguish.  I.E. it gives you both bytes read and errno.

_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to