conrad@socrates.ucsf.edu (Conrad Huang%CGL) (10/29/88)
Patch #: 1 Priority: HIGH Subject: nothing mode doesn't work on Vaxen From: conrad@cgl.ucsf.edu Description: As usual, posting to the net immediately causes a bug to manifest itself. The "nothing" mode described in README does not work on Vaxen because of a four-year old bug. Why it works on the Suns, I have no idea. The start_driver() routine incorrectly close the Socket file descriptor in INTERNET mode. It should only do so when running with UNIX domain sockets. Fix: Apply the following patch to hunt.c *** /tmp/,RCSt1022282 Fri Oct 28 16:50:25 1988 --- hunt.c Fri Oct 28 16:49:02 1988 *************** *** 581,586 } if (procid == 0) { (void) signal(SIGINT, SIG_IGN); (void) close(Socket); if (use_port == NULL) execl(Driver, "HUNT", (char *) NULL); --- 581,587 ----- } if (procid == 0) { (void) signal(SIGINT, SIG_IGN); + # ifndef INTERNET (void) close(Socket); # endif if (use_port == NULL) *************** *** 582,587 if (procid == 0) { (void) signal(SIGINT, SIG_IGN); (void) close(Socket); if (use_port == NULL) execl(Driver, "HUNT", (char *) NULL); else --- 583,589 ----- (void) signal(SIGINT, SIG_IGN); # ifndef INTERNET (void) close(Socket); + # endif if (use_port == NULL) execl(Driver, "HUNT", (char *) NULL); else