DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: P T

⟦e32f36c02⟧ TextFile

    Length: 1341 (0x53d)
    Types: TextFile
    Names: »Patch01«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Hunt/Patch01« 

TextFile

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