|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: P T
Length: 1341 (0x53d)
Types: TextFile
Names: »Patch01«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Hunt/Patch01«
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