From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from groucho.cse.psu.edu ([130.203.2.12]) by hawkwind.utcs.utoronto.ca with SMTP id <24245>; Fri, 6 May 1994 18:09:48 -0400 Received: from localhost by groucho.cse.psu.edu with SMTP id <3009>; Fri, 6 May 1994 18:09:15 -0400 To: rc@hawkwind.utcs.toronto.edu Subject: signals and stuff Date: Fri, 6 May 1994 18:09:03 -0400 From: Scott Schwartz Message-Id: <94May6.180915edt.3009@groucho.cse.psu.edu> A while back Byron sent me this patch for 1.5beta. I don't know if it was sent to the list, but just in case, here it is. ------- Forwarded Message =================================================================== RCS file: RCS/input.c,v retrieving revision 1.4 diff -c -r1.4 input.c *** /tmp/T0a00581 Tue Apr 5 01:12:45 1994 - --- input.c Tue Apr 5 01:11:01 1994 *************** *** 140,145 **** - --- 140,147 ---- long /*ssize_t*/ r = rc_read(istack->fd, inbuf + 2, BUFSIZE); sigchk(); if (r < 0) { + if (errno == EINTR) /* retry interrupted read */ + continue; uerror("read"); rc_exit(1); } (snarfed and pasted from one xterm to another, I don't know how many of the blanks got hosed...) ------- End of Forwarded Message