andy (11/01/82)
Hi, Does anybody remember the fix to uucp to allow for the time field in the L.sys file to wrap around the clock? (i.e. We would like someoone to set up their L.sys entry so that we can be called between the hours of 5pm to 7am the next day. There- fore leaving business hours free of uucp traffic.) Thanks Andrew Rodnite Periphonics Corp. harpo!floyd!peri!andy
peachey (11/04/82)
Here is a change to vanilla V7 uucico which causes the legal call times in L.sys to be interpreted modulo 24 hours, rather than as ordinary integers. Change the lines at the end of the "ifdate" routine in "conn.c" from: if (tn >= tl && tn <= th) return(1); return(0); to the new lines: if ((th -= tl) < 0) th += 2400; if ((tn -= tl) < 0) tn += 2400; return(tn <= th); This code adjusts both "th" (the upper bound of legal times) and "tn" (the current time) to a new scale where the minimum legal time is 0000, and all times are between 0000 and 2359. Darwyn Peachey (...!harpo!utah-cs!sask!hssg40!peachey)