|
From: Sebastian <sc...@nb...> - 2003-10-06 13:37:26
|
Hi, On Mon, Oct 06, 2003 at 01:04:26PM +0100, jon...@ph... wrote: > > What is it that you are reading from? Could it be a separate or > > subprocess which exits after sending the data? > This is an X-like graphics server and client talking to each other over > UNIX-domain sockets. Neither exits. (It's Nano-X from > http://www.microwindows.org/ ). I have also had the same problem reading > from character-special devices. Can you check if the value of errno changed? (That is, adding errno = 0 before the read() and checking it after). I remember having some weird issue with read() a few years back, when it returned zero (without valgrind, and on Solaris). > Thanks & regards, > Jon Foster ciao, Sebastian -- -. sc...@nb... -. + http://segfault.net/~scut/ `--------------------. -' segfault.net/~scut/pgp `' 5453 AC95 1E02 FDA7 50D2 A42D 427E 6DEF 745A 8E07 `- W88 heads sold. 4 payloads ready, payment due. hi echelon! ---------------' |