Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug in HoneyDanBer CALLBACK=yes option + Fix

0 views
Skip to first unread message

Greg Noel

unread,
Nov 6, 1986, 6:07:48 PM11/6/86
to
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 Gr...@ncr-sd.UUCP or Gr...@nosc.ARPA

0 new messages