From: Andrew Tridgell Date: Tue, 16 Dec 1997 09:25:17 +0000 (+0000) Subject: #if 0 the write exception code for the moment. I need to work out why X-Git-Tag: v1.6.6~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d6916e2df3d6f935e4d57f162a44a77377064c;p=thirdparty%2Frsync.git #if 0 the write exception code for the moment. I need to work out why it gets a successful write select on a fd followed by a EAGAIN write yet the fd is still OK. --- diff --git a/io.c b/io.c index 563dacfc..0e75f6bd 100644 --- a/io.c +++ b/io.c @@ -252,8 +252,13 @@ static int writefd(int fd,char *buf,int len) return -1; if (ret == -1 && got_select) { + /* hmmm, we got a write select on the fd and then failed to write. + Why doesn't that mean that the fd is dead? It doesn't on some + systems it seems (eg. IRIX) */ +#if 0 fprintf(FERROR,"write exception\n"); exit_cleanup(1); +#endif } got_select = 0;