From 6cb18464081334d78f2048b98438d173baf73728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 5 May 1998 18:06:28 -0700 Subject: [PATCH] nothing much changed Rev: src/modules/files/file.c:1.94 --- src/modules/files/file.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/files/file.c b/src/modules/files/file.c index 7ffae3f876..4153cc32f0 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -5,7 +5,7 @@ \*/ #include "global.h" -RCSID("$Id: file.c,v 1.93 1998/05/01 15:41:03 grubba Exp $"); +RCSID("$Id: file.c,v 1.94 1998/05/06 01:06:28 hubbe Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -1841,6 +1841,7 @@ static void *proxy_thread(void * data) if(len<0) { if(errno==EINTR) continue; +/* fprintf(stderr,"Threaded read failed with errno = %d\n",errno); */ break; } @@ -1851,12 +1852,15 @@ static void *proxy_thread(void * data) if(wl<0) { if(errno==EINTR) continue; +/* fprintf(stderr,"Threaded write failed with errno = %d\n",errno); */ break; } w+=wl; } } +/* fprintf(stderr,"Closing %d and %d\n",p->to,p->from); */ + fd_close(p->to); fd_close(p->from); mt_lock(&interpreter_lock); -- GitLab