🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.uucp
Article #647

Bug in HoneyDanBer CALLBACK=yes option + Fix

#647
From: Greg Noel
Date: Thu, 06 Nov 1986 23:07
38 lines
1927 bytes
Problem:  HoneyDanBer UUCP CALLBACK=yes option doesn't set poll file correctly

Description:
	To make the call back option more reliable, HoneyDanBer UUCP plants a
	poll file so that if the immediate call back fails, it will call again
	as a part of the regular polling cycle run from uusched.  However, when
	it creates poll files, it creates them in the SPOOL directory instead
	of the subdirectory for the particular remote, thus making the poll
	file useless.

Repeat-by:
	In the Permissions file, set CALLBACK=yes for some site(s).  Observe
	that whenever the remote calls up, zero-length poll files show up in
	SPOOL (/usr/spool/uucp) instead of the particular subdirectory for
	that remote (i.e., /usr/spool/uucp/remote).

Fix:
*** cico.OLD	Thu Nov  6 14:44:08 1986
--- cico.c	Thu Nov  6 14:44:56 1986
***************
*** 301,306
  			 * set up for call back
  			 */
  			systat(Rmtname, SS_CALLBACK, "CALL BACK", Retrytime);
  			gename(CMDPRE, Rmtname, 'C', file);
  			(void) close(creat(file, CFILEMODE));
  			xuucico(Rmtname);

--- 301,307 -----
  			 * set up for call back
  			 */
  			systat(Rmtname, SS_CALLBACK, "CALL BACK", Retrytime);
+ 			chremdir(Rmtname);
  			gename(CMDPRE, Rmtname, 'C', file);
  			(void) close(creat(file, CFILEMODE));
  			xuucico(Rmtname);
-- 
-- Greg Noel, NCR Rancho Bernardo    Greg@ncr-sd.UUCP or Greg@nosc.ARPA
Technical Details
Message-ID: <1235@ncr-sd.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!mordor!lll-crg!lll-lcc!pyramid!ncr-sd!greg

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!mordor!lll-crg!lll-lcc!pyramid!ncr-sd!greg
From: greg@ncr-sd.UUCP (Greg Noel)
Newsgroups: net.bugs.uucp
Subject: Bug in HoneyDanBer CALLBACK=yes option + Fix
Message-ID: <1235@ncr-sd.UUCP>
Date: Thu, 6-Nov-86 18:07:48 EST
Article-I.D.: ncr-sd.1235
Posted: Thu Nov  6 18:07:48 1986
Date-Received: Fri, 7-Nov-86 22:37:49 EST
Reply-To: greg@ncr-sd.UUCP (Greg Noel)
Organization: NCR Corporation, San Diego
Lines: 38