> Can someone (Robert or Shamim?) please supply a corresponding
 > patch for read(), to go with Robert's fix for reads()?  I guess
 > sock_getstrg() can return EOF before a read() completes, yes?

I'm looking at it.... However, I don't see that sock_getstrg() can
return EOF before a read() completes. Since sock_getstrg() attempts to
read a line from the socket, seems to me that this fix is only
required for reads() and not for read() -- the former keeps reading
lines until it has enough.

Robert, do you agree?

-s



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to