1 Sun Aug 20 15:12:36 1995 Ian Lance Taylor <ian@airs.com>
3 * Released version 1.06.1.
5 * uux.c (main): Make sure that the grade is between '0' and '9',
6 or 'a' and 'z', or 'A' and 'Z', in case isalnum accepts other
8 * uucp.c (main): Likewise.
10 Sat Aug 19 23:15:21 1995 Ian Lance Taylor <ian@airs.com>
12 * configure.in: Check for seteuid.
14 * config.h.in (HAVE_SETEUID): Define.
15 * unix/uid.c: If HAVE_SETEUID is defined, use seteuid rather than
17 * policy.h: Change HAVE_BROKEN_SETREUID comment to mention that it
18 does not work on 4.4BSD-Lite and NetBSD.
20 * Andrey A. Chernov: uuconf.h (UUCONF_GRADE_LEGAL): Use BUCHAR.
22 Wed Aug 16 21:23:39 1995 Ian Lance Taylor <ian@airs.com>
24 * uucico.c (flogin_prompt): Add pzsystem parameter, and pass it to
25 faccept_call. Change all callers.
27 * trans.c (qtransalc): Clear zlog field.
29 * Makefile.in (VERSION): Change to 1.06.1.
31 Thu Aug 10 22:42:53 1995 Ian Lance Taylor <ian@airs.com>
33 * Released version 1.06.
35 * uuconf/tsinfo.c (_uuconf_itaylor_system_internal): Don't set
36 uuconf_fcall merely because uuconf_qtimegrade is not set. Check
37 values against _uuconf_unset, not NULL.
39 * trans.c (fgot_data): Only log when data comes in if fsendfile is
42 Wed Aug 9 20:52:29 1995 Ian Lance Taylor <ian@airs.com>
44 * Makefile.in (VERSION): Change to 1.06.
46 Tue Aug 1 20:13:36 1995 Ian Lance Taylor <ian@airs.com>
48 * uuconf/tsinfo.c (_uuconf_itaylor_system_internal): Set the fcall
49 field for the first alternate if it has some way of selecting a
52 * Ard van Breemen: unix/serial.c (fsserial_hardflow): Add support
53 for NCR Tower using IRTS.
55 * policy.h (FSYNC_ON_CLOSE): Define.
56 * system.h (fsysdep_sync): Declare.
57 * uucp.h (fstdiosync): Define, twice.
58 * unix/sync.c: New file.
59 * copy.c (fcopy_open_file): Call fsysdep_sync.
60 * cu.c (icutake): Likewise.
61 * rec.c (frec_file_end): Likewise.
62 (frec_file_end): Call fstdiosync.
63 * uucp.c (uccopy): Likewise.
64 * uux.c (main): Likewise.
65 (uxadd_send_file): Likewise.
66 * unix/splcmd.c (zsysdep_spool_commands): Likewise.
67 * unix/Makefile.in (OBJS): Add sync.o.
70 * Peter Wemm: unix/filnam.c (fscmd_seq): Increase the delay each
71 time an attempt to lock LCK..SEQ fails.
73 * Peter Wemm: uustat.c (fsnotify): Escape a leading "From " when
74 including standard input in a mail message.
76 Mon Jul 31 22:45:23 1995 Ian Lance Taylor <ian@airs.com>
78 * unix/serial.c (fsserial_lockfile): In the HAVE_SVR4_LOCKFILES
79 case, increase the space allocated to print the major and minor
82 Sun Jul 30 22:30:51 1995 Ian Lance Taylor <ian@airs.com>
84 * trans.c (fgot_data): Log a message as soon as anything comes in,
85 not just for file data.
87 * prote.c (feprocess_data): Handle a zero length file.
89 Wed Jul 19 00:14:46 1995 Ian Lance Taylor <ian@airs.com>
91 * unix/xqtfil.c (fSone_dir): New static variable.
92 (fsysdep_get_xqt_init): Add zsystem argument.
93 (zsysdep_get_xqt): Likewise.
94 (usysdep_get_xqt_free): Likewise.
95 * system.h (fsysdep_get_xqt_init): Update declaration.
96 (zsysdep_get_xqt): Likewise.
97 (usysdep_get_xqt_free): Likewise.
98 * uuxqt.c (main): Pass zdosys for system to get_xqt routines.
99 * uustat.c (fsexecutions): Pass NULL for system to get_xqt
103 * uux.c (main): If we are not starting uucico, and we queued a
104 local execution, start uuxqt.
106 Tue Jul 18 22:33:08 1995 Ian Lance Taylor <ian@airs.com>
108 * uuxqt.c (REMOVE_QINPUT): Define.
109 (uqdo_xqt_file): Set REMOVE_QINPUT if zQinput is in the spool
111 (isave_files): If REMOVE_QINPUT is set, save the input file.
112 (uqcleanup): If REMOVE_QINPUT and REMOVE_NEEDED are set, remove
115 Mon Jul 17 20:59:20 1995 Ian Lance Taylor <ian@airs.com>
117 * uuchk.c (ukshow): Add missing \n.
119 Sun Jul 16 12:02:03 1995 Ian Lance Taylor <ian@airs.com>
121 * Makefile.in (TEXI2HTML): Define.
122 (doc-dist): Depend upon uucp.html; put HTML files in documentation
124 (html, uucp.html): New targets.
126 Mon Jul 10 20:24:48 1995 Ian Lance Taylor <ian@airs.com>
128 * unix/lcksys.c: Rewrite to not truncate the system name in the
129 lock file name, unless HAVE_LONG_FILE_NAMES is 0.
131 Sat Jul 8 13:41:26 1995 Ian Lance Taylor <ian@airs.com>
133 * Andrey A. Chernov: cu.c (ucuhelp): Mention -E.
134 (fcudo_cmd): Use BUCHAR rather than casting to unsigned int.
135 (icuunrecogvar): Likewise.
136 (uculist_vars): Likewise.
137 (icuunrecogfn): Likewise.
138 * lib/getopt.c (_getopt_internal): Likewise.
140 * Andrey A. Chernov: Makefile.in (infodir): Changed commented out
141 setting from share/doc to share/info.
143 * Godfrey van der Linden: unix/serial.c (fsysdep_conn_io): Base
144 select or alarm timeout on connection speed.
146 * configure.in: Move AC_PREFIX_PROGRAM before AC_PROG_CC.
147 * configure: Rebuild.
149 * policy.h (HAVE_BROKEN_SETLKW): Add new define.
150 * unix/filnam.c (USE_POSIX_LOCKS): Don't set if HAVE_BROKEN_SETLKW
152 (fscmd_seq): If the F_SETLKW call returns EINVAL, revert to using
155 * unix/spawn.c (ixsspawn): If setreuid is available, use it,
156 rather than setuid, to set the real user ID to the effective user
159 * Thomas Mechtersheimer: uuchk.c (main): Correct typo (iret for
162 * Bob Thrush: unix/serial.c (fsserial_hardflow): Correct typo
163 (c_cflags for c_cflag).
165 * configure.in: Check for sys/statvfs.h. Check for memset,
166 memcmp, and memcpy with the correct argument types (apparently
167 some systems require this).
168 * config.h.in (HAVE_SYS_STATVFS_H): Define.
169 * configure: Rebuild.
171 Mon Jul 3 00:26:50 1995 Ian Lance Taylor <ian@airs.com>
173 * Released version beta 1.06.
175 Sun Jul 2 10:39:40 1995 Ian Lance Taylor <ian@airs.com>
177 * configure.in: Add AC_OUTPUT code to touch stamp-h when
179 * Makefile.in (stamp-h): Remove ``echo > stamp-h''.
181 * Makefile.in (dist): Fix for srcdir != objdir.
182 * unix/Makefile.in (dist): Likewise.
183 * uuconf/Makefile.in (dist): Likewise.
184 * lib/Makefile.in (dist): Likewise.
186 Sat Jul 1 13:42:35 1995 Ian Lance Taylor <ian@airs.com>
188 * configure.in: Check for termios.h.
189 * config.h.in (HAVE_TERMIOS_H): Mention.
190 * policy.h: Set HAVE_POSIX_TERMIOS if HAVE_TERMIOS_H.
192 Fri Jun 30 09:24:13 1995 Ian Lance Taylor <ian@airs.com>
194 * uux.c (zXxqt_name): Remove.
195 (fXxqtlocal): New static variable; replaces local fxqtlocal.
196 (sXxqtsys): New static variable; replaces local sxqtsys.
197 (zXxqtloc): New static variable; replaces local zxqtloc.
198 (bXgrade): New static variable; replaces local bgrade.
199 (abXxqt_tname): New static variable; replaces local abxqt_tname.
200 (abXxqt_xname): New static variable; replaces local abxqt_xname.
201 (main): Use new static variables instead of locals. Don't set
203 (uxadd_xqt_line): Get file name here before opening file.
204 (uxadd_send_file): Remove parameters qxqtsys, zxqtloc, and bgrade.
207 * unix/filnam.c (usput62): New static function.
208 (zscmd_file): When SPOOLDIR_TAYLOR, use a different algorithm
209 which does not read the sequence file.
210 * unix/splcmd.c (zsysdep_spool_commands): Return value of
211 zscmd_file might already exist; handle that case.
212 * unix/jobid.c (zsfile_to_jobid): Change jobid format when
213 SPOOLDIR_TAYLOR, since sequence number is now much longer.
214 (zsjobid_to_file): Corresponding change.
215 * unix/work.c (fswork_file): When SPOOLDIR_TAYLOR, don't require
216 the the file name to be 7 characters long.
217 (bsgrade): Change algorithm used when SPOOLDIR_TAYLOR.
219 * uustat.c (fsworkfile_show): Correct kill prompt to put program
220 name at start of line. Add trailing space after question mark.
221 (fsexecutions): Likewise.
223 * unix/work.c (fsysdep_get_work): Don't call fsysdep_get_work_init
224 if no more jobs are found.
226 Thu Jun 29 15:27:31 1995 Ian Lance Taylor <ian@airs.com>
228 * fsusg.c: Update with changes from fileutils 3.12.
229 * configure.in: Update filesystem space tests to fileutils 3.12.
230 * config.h.in: Corresponding changes.
232 * unix/filnam.c (fscmd_seq): If F_SETLKW fails with ENOMEM,
233 ENOSPC, or ENOLCK, sleep and try again.
235 * Makefile.in (MORECFLAGS): Remove unused SBINDIR definition.
236 * unix/Makefile.in (run.o): Add dependency on Makefile and
237 ../Makefile, so that it is rebuilt if sbindir changes.
238 * uuconf/Makefile.in (callin.o): Add dependency on Makefile and
239 ../Makefile, so that it is rebuilt if NEWCONFIGLIB or OLDCONFIGLIB
241 (hinit.o, hrmunk.o, maxuxq.o, rdperm.o, tinit.o): Likewise.
244 * cu.c (main, ucuhelp): Update copyright.
245 * tstuu.c (main): Likewise.
246 * uuchk.c (main, ukhelp): Likewise.
247 * uucico.c (main, uhelp): Likewise.
248 * uuconv.c (main, uvhelp): Likewise.
249 * uucp.c (main, uchelp): Likewise.
250 * uulog.c (main, ulhelp): Likewise.
251 * uuname.c (main, unhelp): Likewise.
252 * uupick.c (main, uphelp): Likewise.
253 * uustat.c (main, ushelp): Likewise.
254 * uux.c (main, uxhelp): Likewise.
255 * uuxqt.c (main, uqhelp): Likewise.
257 * Makefile.in (VERSION): Update to beta1.06.
259 Wed Jun 28 10:36:35 1995 Ian Lance Taylor <ian@airs.com>
261 * trans.c (struct scharge, sTsend, sTreceive): Remove.
262 (qTtiming_rec, iTrecsecs, iTrecmicros): New static variables.
263 (fqueue_receive): If adding something to an empty receive queue,
264 update iTrecsecs and iTrecmicros.
265 (utransfree): Remove references to sTsend and sTreceive. If
266 freeing qTtiming_rec, clear it.
267 (ftcharge): Remove. Remove all calls to it.
268 (fttime): New static function.
269 (uclear_queue): Clear qTtiming_rec.
270 (floop): Add timing code to replace ftcharge.
271 (fgot_data): Likewise.
272 (ftadd_cmd): Set s.bcmd to 'H' for a hangup request, for better
273 debugging information.
274 (ufailed): Remove setting of iTchecktime and calls to ftcharge.
276 * uuconf.h (UUCONF_STRIP_LOGIN): Define.
277 (UUCONF_STRIP_PROTO): Define.
278 (uuconf_strip): Declare.
279 * uuconf/strip.c: New file, definining uuconf_strip.
280 * uuconf/Makefile.in (OBJS): Add strip.o.
281 * uuconf/uucnfi.h (struct sprocess): Add new fields fstrip_login
283 * uuconf/iniglb.c (_uuconf_iinit_global): Initialize new fields.
284 * uuconf/tinit.c (asCmds): Add "strip-login" and "strip-proto".
285 * uucico.c (fdo_call): Check whether protocol commands should be
286 stripped, and pass information to zget_uucp_cmd.
287 (faccept_call): Likewise.
288 (flogin_prompt): Check whether login commands should be stripped,
289 and pass information to zget_typed_line.
290 (zget_uucp_cmd): Add fstrip argument, and use it to control
291 whether incoming characters are stripped.
292 (zget_typed_line): Likewise.
293 * uuchk.c (main): Report uuconf_strip information.
295 Mon Jun 26 17:57:14 1995 Ian Lance Taylor <ian@airs.com>
297 * uuchk.c (main): Report global configuration information.
299 * uux.c (main): If an attempt is made to execute an empty command,
300 just create a poll file instead.
302 * uupick.c (main): Mention 'd' as a possible command.
304 Wed Jun 21 16:16:13 1995 Ian Lance Taylor <ian@airs.com>
306 * unix/filnam.c (fscmd_seq): If available, use POSIX style locking
307 for the sequence file. Use IPRIVATE_FILE_MODE when creating the
310 * copy.c (fcopy_file): Add fsignals argument, and pass it to
311 fcopy_open_file. Update all callers.
312 (fcopy_open_file): Add fsignals argument; if TRUE, check for
313 signals while copying the file. Update all callers.
314 * uudefs.h (fcopy_file, fcopy_open_file): Update prototypes.
316 Thu Jun 15 20:34:00 1995 Ian Lance Taylor <ian@airs.com>
318 * Rob Janssen: getopt.h: Don't fail if P is not defined because
319 this file got included by something other than uucp.h.
321 Tue Jun 6 13:17:14 1995 Ian Lance Taylor <ian@airs.com>
323 * log.c (ulog): Always open the log file even if zmsg is NULL.
324 * unix/detach.c (usysdep_detach): Call ulog with NULL before
327 * log.c (ulog): Print file name correctly under HDB_LOGGING if an
330 * Andrey A. Chernov: uucp.h: Use off_t rather than long when
331 casting arguments to lseek.
333 * proti.c (IMAXPACKSIZE): Subtract one.
334 (fijstart): Correct iIforced_remote_packsize check.
336 * unix/filnam.c (zsfile_name): Only use remote system name in
337 local filename for SPOOLDIR_SVR4, not for SPOOLDIR_HDB.
339 * Peter da Silva: cu.c (asCulongopts): Add "escape".
340 (main): Handle -E/--escape.
341 * cu.1: Document -E/--escape.
342 * unix/cusub.c (fsysdep_cu): Don't treat \0 as an escape
345 * Takatoshi Ikeda: log.c (ustats): Base 'M' vs. 'S' in HDB_LOGGING
346 on fcaller, not on fmaster.
347 (zldate_and_time): In HDB_LOGGING, don't zero fill the hour.
348 * uudefs.h (ustats): Change argument name in prototype.
349 * send.c (fsend_await_confirm): Pass fcaller rather than fmaster
351 * rec.c (frec_file_end): Likewise.
352 * trans.c (ufailed): Likewise.
354 * unix/tcp.c: Include <arpa/inet.h>.
355 (ftcp_dial): If gethostbyname fails, try inet_addr.
357 * Jim Brownfield: unix/detach.c (usysdep_detach): Call TIOCNOTTY
358 on /dev/tty, not on file descriptor 0.
360 * uuchk.c (ukshow): If the system will never be called, say so
363 * unix/pause.c (usysdep_pause): When using poll, clear the sdummy
364 structure before passing it down.
366 * unix/bytfre.c (csysdep_bytes_free): Check for overflow.
368 * C.A. Lademann: cu.c (asCulongopts): Add "nostop".
369 (main): Handle --nostop.
370 (ucuhelp): Mention --nostop.
371 * cu.1: Document --nostop.
373 * Dean Edmonds: cu.c (fcuset_var): Copy string before calling
374 uuconf_cmd_args, and handle UUCONF_CMDTABRET_KEEP correctly.
376 * Jorge Cwik: Add support for 'y' protocol.
377 * proty.c: New file, written by Jorge Cwik.
378 * prot.h: Declare 'y' protocol functions.
379 * uucico.c (asProtocols): Add entry for 'y' protocol.
380 * Makefile.in (UUOBJS): Add proty.o.
381 (ALLOBJS): Add proty.o.
382 (proty.o): New target.
384 Mon Jun 5 12:05:22 1995 Ian Lance Taylor <ian@airs.com>
386 * cu.c (main): Don't clobber user specified ibaud when a specific
387 system is being called.
389 * unix/serial.c (fsysdep_stdin_init): chmod /dev/tty to 0600 to
390 prevent other users from writing to it.
392 * uux.c (main): If the argument is quoted by parentheses, don't
393 break it at shell separator characters.
395 * protg.c (fgprocess_data): Don't treat a duplicate RR as an RJ if
396 we are retransmitting packets. Corrects change of May 15, 1993.
398 * unix/lock.c (fsdo_lock): Log an error message if the LOCKFILES
399 define appears to not match the contents of the lock file.
401 Sun Jun 4 14:25:43 1995 Ian Lance Taylor <ian@airs.com>
403 * Makefile.in (uucp.info): Use explicit $(srcdir) rather than $<.
404 (uucp.dvi): Likewise.
405 (uucp.ps): Use uucp.dvi rather than $<.
407 * Scott Guthridge: cu.c (icutake): Skip \r characters unless
408 fCuvar_binary is set.
410 * unix/status.c (fsysdep_get_status): Ignore double quotes around
411 description string in status file.
412 (fsysdep_set_status): If SPOOLDIR_SVR4, put double quotes around
415 * uustat.c (fsxqt_file_read): Change second argument from file
417 (fsworkfile_show): Make sure execution file can be opened before
418 displaying information in execution file format.
419 (fsexecutions): Open file before passing it to fsxqt_file_read.
421 * uucp.h (ffileioerror): Rename from ffilereaderror.
422 * cu.c (icuput): Corresponding change.
423 * trans.c (floop): Likewise.
424 (fgot_data): Use ffileioerror to decide whether to print message
427 * uuconv.c (uvwrite_taylor_port): Fix handling of dialer-sequence
428 for a modem port to actually print ``dialer-sequence''.
430 * uuconf/hsinfo.c (_uuconf_ihdb_system_internal): Treat a syntax
431 error in the time field as equivalent to ``never''.
432 * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Likewise.
434 * uuchk.c (ukshow): Print max-retries information.
436 * Don Phillips: Add support for new called-timegrade command.
437 * uuconf.h (struct uuconf_system): Add uuconf_qcalledtimegrade
439 * uuconf/tsinfo.c (asIcmds): Add "called-timegrade".
440 * uuconf/syssub.c (SYSTEM_TIMESPANS): Add uuconf_qcalledtimegrade.
441 * trans.c (fqueue): Check uuconf_qcalledtimegrade.
442 * uuchk.c (ukshow): Print called-timegrade and success-wait
444 * uuconv.c (uvwrite_taylor_system): Handled called-timegrade.
446 * unix/xqtsub.c (fsysdep_lock_uuxqt_dir): Accept EISDIR.
448 * Damon: unix/mkdirs.c (fsysdep_make_dirs): Accept EROFS.
450 Sat May 27 09:55:38 1995 Ian Lance Taylor <ian@airs.com>
452 * unix/detach.c (usysdep_detach): Mention routine name in
455 * tstuu.c (main): Exit with an error message if not compiled with
458 * Jim Avera: Makefile.in (install-info): Get the info files from
459 the source directory if they aren't in the object directory.
461 * uuchk.c (main): Accept -s to only print information for a
463 (asKlongopts): Add --system as a synonym for -s.
464 (ukusage): Mention -s.
467 * Makefile.in (uuconf/libuuconf.a): Depend upon config.h.
468 (unix/libunix.a, lib/libuucp.a): Likewise.
470 * Matthias Urlichs and Olaf Kirch: If an execution fails, save the
472 * sysh.unx (FAILEDDIR): Define.
473 * system.h (zsysdep_save_failed_file): Declare.
474 * uuxqt.c (uqdo_xqt_file): Call isave_files if an execution fails.
475 Move the execution files out of the execution directory on any
476 failure, not just a temporary one.
477 (isave_files): New function; pass all the execution files to
478 zsysdep_save_failed_file, and send mail to OWNER.
479 * unix/failed.c: New file.
480 * unix/Makefile.in (OBJS): Add failed.o.
481 (failed.o): New target.
483 * Johannes Stille: Remove various race conditions, as follows:
484 * rec.c (flocal_rec_send_request): Don't free qtrans if pfsendcmd
486 (fremote_send_reply): Likewise.
487 (fremote_send_fail_send): Move pfsendcmd call to the end of the
488 routine, after everything else has been done.
489 (frec_file_send_confirm): Likewise.
490 * send.c (struct ssendinfo): Add new fields fnever and zconfirm.
491 (flocal_send_fail): Remove first argument; change all callers.
492 (usfree_send): Free new zconfirm field.
493 (flocal_send_file_init): Initialize new zconfirm field.
494 (fremote_rec_file_init): Likewise.
495 (flocal_send_request): Free qtrans explicitly, rather than
496 expecting flocal_send_fail to do it.
497 (flocal_send_request): Don't free qtrans if pfsendcmd fails.
498 (flocal_send_await_reply): Use new fnever field rather than
500 (flocal_send_cancelled): Likewise.
501 (flocal_send_await_reply): Set fcmd field to TRUE.
502 (fremote_rec_reply): Set fcmd field to TRUE. Set qtrans->zlog
503 before calling pfsendcmd. Don't free qtrans if pfsendcmd fails.
504 (fremote_rec_fail_send): Move pfsendcmd call to the end of the
505 routine, after everything else has been done.
506 (fsend_file_end): If zconfirm is set, call fsend_await_confirm.
507 Don't bother to set fcmd here.
508 (fsend_await_confirm): If fsent is not set, just save command in
510 (fsend_exec_file_init): Free and clear new zconfirm field.
511 * xcmd.c (flocal_xcmd_request): Don't free qtrans if pfsendcmd
514 * unix/pause.c: Prefer any of the other choices to nap, since the
515 meaning of nap argument varies from system to system, and the user
516 may not set HAVE_HUNDREDTHS_NAP correctly.
518 * unix/cusub.c (fsysdep_shell): When starting up an interactive
519 shell, use the environment variable SHELL rather than /bin/sh.
521 Fri May 26 00:03:46 1995 Ian Lance Taylor <ian@airs.com>
523 * Chip Salzenberg: uulog.c (main): Set cluser, not clsys, when
524 using HAVE_HDB_LOGGING.
526 * Robert Joop: uuconf/callin.c (uuconf_callin): Improve handling
527 of Unix style passwd files.
529 * uupick.c (main): Don't fail if we can't get system information,
530 since uupick is not setuid.
532 * Stephen Harris: uudefs.h (struct sstatus): Add new field
534 * unix/status.c (fsysdep_get_status): Set zstring field.
535 * uustat.c (fsquery_show): Print and free zstring field, if set,
536 rather than indexing off type.
537 (fsmachines): Likewise.
538 * uucico.c (fcall): Free sstat.zstring.
540 * proti.c (cIwindow_timeout): New static variable.
541 (fijstart): Initialize cIwindow_timeout based on the window size
542 and connection speed. Increment both timeouts in callee.
543 (fishutdown): Initialize cIwindow_timeout.
544 (fiwindow_wait): Use cIwindow_timeout rather than cItimeout.
546 * unix/serial.c (fsysdep_conn_io): Try using select before doing a
547 blocking write, and use an alarm if we fall back to the blocking
548 write, to try to avoid deadlock when both systems fill the pipe.
550 * Trever Miller: unix/lock.c (fsdo_lock): Fix use of inid where
551 inme was intended, in HAVE_QNX_LOCKFILES code.
553 * unix/lock.c (fsdo_lock): Treat an empty lock file as stale.
555 Thu May 25 11:46:32 1995 Ian Lance Taylor <ian@airs.com>
557 * Kenji Rikitake: unix/serial.c (fsserial_hardflow): Handle
558 CRTS_IFLOW as used on BSDI.
560 * Gerriet M. Denkmann: uuconf/vsnams.c (uuconf_v2_system_names):
561 Accept continuation lines in L.sys.
562 * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Skip comment
563 lines in L.cmds. Ignore everything after comma in L.cmds lines.
565 * Gerriet M. Denkmann: unix/ftw.c (ftw_dir): Initialize newlev to
568 * Paul Pryor: unix/tli.c (ftli_open): Swap real and effective user
569 ID's when running as a server, so that root can bind privileged
572 * unix/tcp.c (ftcp_open): Call fsuser_perms and fsuucp_perms
573 rather than having the same code inline.
575 * sysh.unx (fsuser_perms, fsuucp_perms): Declare.
576 * unix/ufopen.c (fsuser_perms, fsuucp_perms): Move into uid.c.
577 * unix/uid.c: New file.
578 * unix/Makefile.in (OBJS): Add uid.o.
581 * unix/tcp.c: Move tcp.c into unix subdirectory.
582 * unix/tli.c: Likewise for tli.c.
583 * Makefile.in (UUOBJS, CUOBJS, ALLOBJS): Remove tcp.o and tli.o.
584 (tcp.o, tli.o): Remove.
585 * unix/Makefile.in (OBJS): Add tcp.o and tli.o.
586 (tcp.o, tli.o): New targets.
588 * Paul Pryor: configure.in: Check for -lnsl_s before -lnsl.
590 * Makefile.in (prefix): Use @prefix@, not /usr/local.
591 (exec_prefix): New variable, set to @exec_prefix@.
592 (sbindir, bindir): Use $(exec_prefix) rather than $(prefix).
593 (CPPFLAGS): New variable, set to @CPPFLAGS@.
594 (@SET_MAKE@): New macro used by autoconf 2.
595 (MORECFLAGS): Put -I. before -I$(srcdir).
596 (MDEFINES): Pass down CPPFLAGS.
597 (.c.o): Use CPPFLAGS.
598 (uuconv.o): Likewise.
599 (distclean): Remove stamp-h, config.log and config.cache.
600 (maintainer-clean): New synonym for realclean.
601 (configure, config.h, stamp-h, Makefile, config.status): Rewrite
602 as suggested by autoconf 2.3.
603 (.PHONY): Add maintainer-clean.
604 * lib/Makefile.in (CPPFLAGS): New variable, set to @CPPFLAGS@.
605 (MORECFLAGS): Put `-I..' before `-I$(srcdir)/..'.
606 (maintainer-clean): New synonym for realclean.
607 (.c.o): Use CPPFLAGS.
608 (Makefile): Just rebuild this Makefile, not the others.
609 (.PHONY): Add maintainer-clean.
610 * unix/Makefile.in (CPPFLAGS): New variable, set to @CPPFLAGS@.
612 (sbindir): Use @exec_prefix@ rather than $(prefix).
613 (MORECFLAGS): Put `-I..' before `-I$(srcdir)/..'.
614 (maintainer-clean): New synonym for realclean.
615 (.c.o): Use CPPFLAGS.
616 (Makefile): Just rebuild this Makefile, not the others.
617 (.PHONY): Add maintainer-clean.
618 * uuconf/Makefile.in (prefix): Set to @prefix@, not /usr/local.
619 (CPPFLAGS): New variable, set to @CPPFLAGS@.
620 (MORECFLAGS): Put `-I.' before `-I$(srcdir)' and `-I..' before
622 (maintainer-clean): New synonym for realclean.
623 (.c.o): Use CPPFLAGS.
624 (Makefile): Just rebuild this Makefile, not the others.
625 (.PHONY): Add maintainer-clean.
627 * configure.in: Extensive changes for autoconf 2.3.
628 * configure: Regenerate using autoconf 2.3.
629 * install-sh: New file.
631 Mon May 22 22:18:59 1995 Ian Lance Taylor <ian@airs.com>
633 * Mister Flash: chat.c (fcsend): Don't get forget to add 10 in \x.
635 Tue Jan 17 22:49:05 1995 Ian Lance Taylor <ian@airs.com>
637 * unix/mkdirs.c (fsysdep_make_dirs): Don't get confused by a
640 Wed Aug 10 09:25:10 1994 Ian Lance Taylor (ian@airs.com)
642 * uuconf/hport.c (uuconf_hdb_find_port): Set iret to
643 UUCONF_SUCCESS when a port is found.
645 Tue Aug 2 08:57:05 1994 Ian Lance Taylor (ian@airs.com)
647 * trans.c (ftadd_cmd): Report a 'P' (poll) command as garbled.
649 Wed Jul 20 21:53:03 1994 Ian Lance Taylor (ian@airs.com)
651 * rec.c (flocal_rec_file_init): Set name of local system after
652 calling uuconf_system_local.
653 * uustat.c (fsexecutions): Likewise.
655 Sat Jul 16 16:54:12 1994 Ian Lance Taylor (ian@airs.com)
657 * log.c (ulog): Use strerror in message about being unable to open
660 Wed Jul 13 00:44:33 1994 Ian Lance Taylor (ian@airs.com)
662 * rec.c (fremote_send_reply): Set qinfo->freplied before sending
665 Sun Jul 10 23:25:23 1994 Ian Lance Taylor (ian@airs.com)
667 * Tin Le: lib/debug.c (udebug_buffer): Only compile if DEBUG > 1.
669 Mon Jun 27 21:06:29 1994 Ian Lance Taylor (ian@airs.com)
671 * uuconf.h (UUCONF_CMDTABFLAG_NOCOMMENTS): Define.
672 * uuconf/cmdlin.c (uuconf_cmd_line): Handle NOCOMMENTS.
673 * uuxqt.c (uqdo_xqt_file): Pass NOCOMMENTS to uuconf_cmd_file.
675 Thu May 19 22:50:37 1994 Ian Lance Taylor (ian@airs.com)
677 * Ollivier Robert: unix/mkdirs.c: Permit EISDIR.
679 Wed May 18 23:15:36 1994 Ian Lance Taylor (ian@airs.com)
681 * uucico.c (fcall): Reset sDaemon fields each time through the
684 Thu May 5 23:15:11 1994 Ian Lance Taylor (ian@airs.com)
686 * Released version 1.05.
688 * Makefile.in (doc-dist): Put uucp.ps in uucp-doc-$(VERSION).
690 Sun May 1 23:41:49 1994 Ian Lance Taylor (ian@airs.com)
692 * uuchk.c (ikshow_port): Show reliability information.
693 (ukshow_dialer): Likewise.
694 (ukshow_reliable): New function.
696 Sat Apr 16 22:28:10 1994 Ian Lance Taylor (ian@airs.com)
698 * Andrew A. Chernov: uucico.c (main): Pass 'z' to getopt.
699 (uhelp): Mention -z aka --try-next.
701 * log.c (ustats): Report failed transfers when HAVE_HDB_LOGGING.
703 Wed Apr 13 23:07:20 1994 Ian Lance Taylor (ian@airs.com)
705 * prot.c (fsend_data): If no room in receive buffer, just write
706 the data out, don't call fconn_io.
708 Tue Apr 12 21:55:32 1994 Ian Lance Taylor (ian@airs.com)
710 * Spider Boardman: unix/serial.c (fsysdep_modem_end_dial): Set
711 terminal characteristics of reopened port.
713 Sun Apr 10 18:05:34 1994 Ian Lance Taylor (ian@airs.com)
715 * send.c (flocal_send_fail): Always call fsysdep_did_work.
716 (flocal_send_await_reply): Don't call flocal_send_fail if we are
717 going to call fsend_exec_file_init. Only call
718 fsend_exec_file_init if fnever is TRUE. Pass fnever to
719 flocal_send_cancelled using the qinfo->fsent flag.
720 (flocal_send_cancelled): Only call fsend_exec_file_init if
721 qinfo->fsent is TRUE.
723 * unix/statsb.c (fsysdep_lock_status): If HAVE_QNX_LOCKFILES,
724 initialize painid to NULL.
726 Tue Apr 5 23:09:00 1994 Ian Lance Taylor (ian@airs.com)
728 * Released version gamma 1.05.
730 * Makefile.in (VERSION): Changed to gamma1.05.
732 * uucico.c (fcall): Return TRUE if -C was used and no call was
733 made because there was no work.
735 Mon Apr 4 20:29:30 1994 Ian Lance Taylor (ian@airs.com)
737 * Chris Lewis: unix/serial.c: Include <sys/ioctl.h> if
738 HAVE_TXADDCD. Check for HAVE_TXADDCD rather than ifdef TXADDCD or
741 * configure.in: Check for TXADDCD in <sys/ioctl.h>.
742 * config.h.in (HAVE_TXADDCD): New configuration macro.
744 Sun Apr 3 14:05:30 1994 Ian Lance Taylor (ian@airs.com)
746 * send.c (flocal_send_request): Queue stransfer structure up
747 before sending any command or data, because sending data may cause
748 data to be received for this stransfer, and we must be prepared to
750 (fremote_rec_reply): Likewise.
751 * rec.c (flocal_rec_send_request, fremote_send_reply): Likewise.
752 (fremote_send_fail_send): Likewise.
753 * xcmd.c (flocal_xcmd_request): Likewise.
755 * Chris Lewis: unix/serial.c (fsserial_hardflow): Add support for
756 AIX TXADDCD and 3b1 CTSCD.
758 Sat Apr 2 00:04:30 1994 Ian Lance Taylor (ian@airs.com)
760 * policy.h (USE_TRADITIONAL_STATUS): Permit this to be defined.
761 * lib/status.c: Control initialization of azStatus based on
762 USE_TRADITIONAL_STATUS rather than SPOOLDIR_HDB || SPOOLDIR_SVR4.
764 Fri Apr 1 23:52:09 1994 Ian Lance Taylor (ian@airs.com)
766 * log.c (ulog): When using HAVE_HDB_LOGGING, force the program
767 name to lower case when using it as a file name.
769 * send.c (flocal_send_await_reply): Correct code to really not
770 decrement number of channels to one.
771 * rec.c (flocal_rec_await_reply): Likewise.
773 Wed Mar 30 22:57:30 1994 Ian Lance Taylor (ian@airs.com)
775 * lib/buffer.c (ubuffree): Change ioff from size_t to int to avoid
778 * configure.in: Make sure that <utime.h> defines struct utimbuf
779 before assuming that it is present.
781 Tue Mar 29 23:00:15 1994 Ian Lance Taylor (ian@airs.com)
783 * uuconf/filnam.c: Use UUCONF_CONST, not const, to match
784 declaration in uuconf.h.
786 Mon Mar 28 20:06:00 1994 Ian Lance Taylor (ian@airs.com)
788 * Andrew A. Chernov: policy.h: For several macros, add commented
789 out values appropriate for some free BSD distributions.
790 * Makefile.in: Likewise.
792 * uucico.c (icallin_cmp): Use pointer, not void *.
793 * uuconf/callin.c (struct sinfo, uuconf_callin): Likewise.
795 * Chris Lewis: uuconv.c (fvperm_string_cmp, fvperm_array_cmp): AIX
796 3.2.5 cc can't handle conditional expressions in if conditions.
798 Sun Mar 27 15:04:27 1994 Ian Lance Taylor (ian@airs.com)
800 * send.c (flocal_send_fail): Don't assume that qtrans is not NULL.
802 * Jeff Ross, Stephen J. Walick: Makefile.in (uusched): Substitute
803 for @SBINDIR@, not @BINDIR@.
805 * configure.in: Make sure that <dirent.h> defines struct dirent
806 before assuming that it is present.
808 * Benoit Grange: unix/detach.c (usysdep_detach): Correct type of
809 HAVE_BSD_SETPGRP for HAVE_BSD_PGRP.
811 Sat Mar 26 12:59:36 1994 Ian Lance Taylor (ian@airs.com)
813 * Andrew A. Chernov: uucico.c (asLongopts): Add --try-next as
815 (main): If -z, call fcall with ftrynext as TRUE.
816 (fcall): Add ftrynext argument. If ftrynext is TRUE, try the next
817 alternate if a call fails.
819 Fri Mar 25 22:37:51 1994 Ian Lance Taylor (ian@airs.com)
821 * lib/parse.c (fparse_cmd): If we get a decimal 666 or 777 for the
822 mode, turn it into an octal 0666 or 0777.
824 * send.c (flocal_send_fail): Accept qdaemon argument rather than
825 qsys. Changed all callers. If we are going to send an execution
826 file, don't call fsysdep_did_work.
828 * protg.c (fgstart): Say ``sending'' and ``receiving'' instead of
829 ``remote'' and ``local'' in log message.
830 * proti.c (fijstart): Likewise.
832 Thu Mar 24 22:40:49 1994 Ian Lance Taylor (ian@airs.com)
834 * Gert Doering: uuchk.c (ikshow_port): Don't use qtli for a TCP
837 * Makefile.in (uusched, uuto): Fix typo in sed command.
839 * unix/mail.c (fsysdep_mail): Add casts to avoid warnings.
840 * uuconf/runuxq.c (uuconf_runuuxqt): Likewise.
842 * Emmanuel Mogenet: unix/pipe.c (fspipe_dial): Make consistently
845 * unix/serial.c (fsserial_open): Only strip /dev/ from the start
846 of a device name, rather than dropping everything before the last
849 * sysh.unx (ftw): Change stat argument to not be const pointer.
850 * unix/ftw.c (ftw_dir, ftw): Change stat argument to func argument
851 to not be const pointer.
852 * unix/srmdir.c (isremove_dir): Change stat argument to not be
854 * unix/walk.c (iswalk_dir): Likewise.
856 Wed Mar 23 20:02:26 1994 Ian Lance Taylor (ian@airs.com)
858 * conn.c (fconn_break): Remove incorrect indirection of function
861 * unix/mkdirs.c (fsysdep_make_dirs): Some systems can return
862 EACCES, not EEXIST, when a directory exists.
864 * configure.in: Fix STAT_STATFS2_FSIZE test.
865 * configure: Regenerated.
867 Tue Mar 22 01:32:21 1994 Ian Lance Taylor (ian@airs.com)
869 * uucico.c (main): Skip a leading dash in argv[0] which is
870 probably the result of being invoked by the Unix login program.
872 * configure.in: Check for sys/time.h.
873 * config.h.in (HAVE_SYS_TIME_H): Define.
875 * unix/serial.c (fsysdep_modem_begin_dial): Correct type of q for
878 * uux.c (main): Check for zXnames being NULL.
880 Sat Mar 19 14:07:31 1994 Ian Lance Taylor (ian@airs.com)
882 * Released version beta 1.05.
884 * Makefile.in (uucp.info): Use -o argument to force info files to
885 be created in objdir.
886 (doc-dist): Get README-DOC from $(srcdir).
888 * lib/debug.c (iDebug, azDebug_names, idebug_parse): Only compile
891 Mon Feb 14 22:46:49 1994 Ian Lance Taylor (ian@airs.com)
893 * lib/strtou.c: New file, for strtoul.
894 * lib/MANIFEST: List strtou.c.
895 * configure.in: Check for strtoul, add strtou.o to LIBOBJS if not
897 * config.h.in (HAVE_STRTOUL): Define.
898 * uucp.h (strtoul): Declare.
900 Mon Jan 31 20:17:30 1994 Ian Lance Taylor (ian@airs.com)
902 * Makefile.in, lib/Makefile.in, unix/Makefile.in,
903 uuconf/Makefile.in: Use $(CFLAGS) after all other flags.
905 Sun Jan 30 14:34:51 1994 Ian Lance Taylor (ian@airs.com)
907 * Makefile.in (clean, distclean, dist, doc-dist): Remove .tar.gz
908 file, not .tar.Z one.
909 (dist, doc-dist): Use gzip --best, not compress.
911 * Makefile.in (VERSION): Set to beta1.05.
913 * cu.c, uuchk.c, uucico.c, uuconv.c, uucp.c, uulog.c, uuname.c,
914 uupick.c, uustat.c, uux.c, uuxqt.c: Updated copyright date.
916 * conn.c (fconn_init): Added third argument: type of standard
918 * conn.h (fconn_init): Updated declaration.
919 * uucico.c (asLongopts): Added --stdin, synonym for -i.
920 (main): Accept -i TLI to set standard input to be of type TLI.
921 Pass appropriate additional argument to fconn_init.
923 (fconn_call, iuport_lock): Changed all calls to fconn_init.
924 * cu.c: Changed all calls to fconn_init.
925 * prot.c, protj.c: Include uuconf.h before conn.h.
926 * Makefile.in (prot.o, protj.o): Updated.
928 * unix/serial.c (fsysdep_conn_read): Permit up to two EWOULDBLOCK
929 error returns from read before quitting.
931 Sat Jan 22 16:48:41 1994 Ian Lance Taylor (ian@airs.com)
933 * uuconf/hinit.c: Don't treat lines with leading whitespace as
934 comments in Sysfiles.
936 * log.c: Don't require ANSI C to use vfprintf, just require
937 stdarg.h and prototypes. Required for Alpha cc support.
939 * configure.in: Check for prototype support. Check for stdarg.h.
940 When looking for socket and t_open check for "-lsocket -lnsl"
942 * config.h.in (HAVE_PROTOTYPES, HAVE_STDARG_H): New macros.
943 * uucp.h: Demand that an ANSI C compiler support prototypes. If
944 HAVE_PROTOTYPES is 1 for Classic C, defined P(x) to be x.
946 * configure: Upgraded to autoconf 1.7.
948 * protg.c (fgstart): Ensure that window size is reasonable.
950 * protg.c (fvstart): Change default packet size from 512 to 1024.
952 * trans.h (struct sdaemon): Added zconfig, irunuuxqt, and
953 cxfiles_received fields.
954 (fspawn_uuxqt): Declare.
955 * uucico.c (fcall, flogin_prompt, faccept_call): Added zconfig and
956 fuuxqt arguments; changed all callers.
957 (main): Use fspawn_uuxqt to invoke uuxqt, and only do it if
958 uuconf_runuuxqt returns UUCONF_RUNUUXQT_ONCE.
959 (fcall, faccept_call): Initialize new struct sdaemon fields.
960 Spawn uuxqt if uuconf_runuuxqt returned UUCONF_RUNUUXQT_PERCALL or
961 if it returned a positive number and execution files have arrived
962 since the last time uuxqt was spawned.
963 (fspawn_uuxqt): New function.
964 * rec.c (frec_file_end): Spawn uuxqt if enough execution files
967 * uuconf.h (UUCONF_RUNUUXQT_NEVER, UUCONF_RUNUUXQT_ONCE,
968 UUCONF_RUNUUXQT_PERCALL): New #define constants.
969 (uuconf_runuuxqt): Declare.
970 * uuconf/runuxq.c: New file.
971 * uuconf/uucnfi.h (struct sprocess); Added zrunuuxqt field.
972 * uuconf/tinit.c (asCmds): Added "run-uuxqt".
973 * uuconf/iniglb.c (_uuconf_iinit_global): Initialize zrunuuxqt
975 * uuconf/MANIFEST, uuconf/Makefile.in: Handle runuxq.c.
977 * system.h (fsysdep_run): Added ffork argument.
978 * unix/run.c (fsysdep_run): Added ffork argument.
979 * uucico.c (main), uux.c (main), uucp.c (main): Changed calls to
980 fsysdep_run to pass ffork argument as FALSE.
982 Fri Jan 14 19:40:20 1994 Ian Lance Taylor (ian@airs.com)
984 * Chip Salzenberg: unix/splcmd.c (zsysdep_spool_commands): More
985 fitting value for size of abtempfile.
987 Mon Jan 10 22:46:52 1994 Ian Lance Taylor (ian@airs.com)
989 * unix/recep.c (fsysdep_remember_reception): Create directory with
990 mode of 0755, not 0777.
992 Mon Jan 3 20:34:35 1994 Ian Lance Taylor (ian@airs.com)
994 * protg.c (fgprocess_data): Don't believe the ACK of an out of
997 * uucico.c (asProtocols): Added 'v'.
998 * prot.h (fvstart): Declare.
999 * protg.c (fvstart): New function.
1001 Sun Jan 2 15:34:12 1994 Ian Lance Taylor (ian@airs.com)
1003 * uucico.c (main), uucp.c (main), uux.c (main): Pass -I argument
1006 * uustat.c (JOB_REJUVENATE): Define.
1007 (asLongopts): Add "rejuvenate-all".
1008 (main, ususage): Handle -R.
1009 (fsworkfile_show, fsexecutions): Handle JOB_REJUVENATE.
1010 * system.h (fsysdep_touch_file): Declare.
1011 * unix/statsb.c (issettime): Rename from ussettime.
1012 (fsysdep_touch_file): Create.
1014 * Jim Avera: system.h: (INIT_NOCLOSE): Define.
1015 * unix/init.c (usysdep_initialize): If INIT_NOCLOSE is set, don't
1016 close all open descriptors.
1018 * Allen Delaney: tli.c: Don't declare t_alloc if we have
1019 <tiuser.h>, since it can cause conflicts.
1021 * configure.in: Call AC_CONST.
1022 * config.h.in: Added #undef const for configure to comment out.
1023 * uucp.h: Don't undefine const here.
1025 * Spider Boardman: uucico.c (main): Correct error message.
1026 uux.c (main), uucp.c (main): Call uucico with -C option.
1028 * tstuu.c (uprepare_test): Don't put the obsolete pty command into
1031 * spawn.c (ixsspawn): Set close-on-exec flag for both ends of
1034 * Andrew A. Chernov: unix/serial.c (ICLEAR_IFLAG): Clear IMAXBEL
1036 (ICLEAR_LFLAG): Clear PENDIN if it is defined.
1038 * send.c (flocal_send_file_init): If stat fails, discard the
1039 command and save the temporary file.
1040 (flocal_send_fail): Cleaned up zsysdep_save_temp_file call.
1042 Thu Dec 23 00:55:22 1993 Ian Lance Taylor (ian@airs.com)
1044 * Martin Tomes: spawn.c (ixsspawn): On ISC, call __setostype
1047 Wed Dec 22 00:06:25 1993 Ian Lance Taylor (ian@airs.com)
1049 * uuconf/tport.c (ipunknown): Set UUCONF_CMDTABRET_EXIT if an
1052 * uucico.c (asLongopts): Add --login as a synonym for -u.
1053 (main): Permit a privileged user to use -u to set the login name
1054 rather than always using zsysdep_login_name ().
1055 (flogin_prompt): Accept login name as an argument. If non-null,
1056 use it rather than prompting for one.
1057 (uhelp): Document new --login option.
1058 * uucico.8: Document new --login option.
1059 * unix/priv.c: New file, containing fsysdep_privileged.
1060 * unix/statsb.c (fsysdep_privileged): Moved to priv.c.
1061 * unix/MANIFEST, unix/Makefile.in: Support new priv.c file.
1063 * uuchk.c (ikshow_port): Print a note when using the port name as
1066 Tue Dec 21 00:01:40 1993 Ian Lance Taylor (ian@airs.com)
1068 * uucico.c (fcall): Ignore status file times in the future when
1069 deciding whether a retry is permitted.
1071 * detach.c (usysdep_detach): If it forks, output a debugging
1072 message with the old and new process IDs.
1074 * Scott Ballantyne: unix/spawn.c (ixsspawn): If fkeepuid is TRUE,
1075 try to set the real user and group ID to the effective user and
1076 group ID. This will not work on System V derived systems, but
1078 * unix/xqtsub.c (fsysdep_execute): Pass fkeepuid as TRUE to
1080 * unix/epopen.c (espopen): Likewise.
1082 * uucico.c (faccept_call): Use correct default for
1085 * uuconf/tportc.c (ipdialer): Don't core dump if the port name is
1086 NULL, as it is for the default port.
1088 * unix/xqtsub.c (fsysdep_xqt_check_file): Do not permit the name
1089 ``..'', or strings starting with ``../''.
1091 * proti.c (fijstart): Send a fourth byte in the SYNC packet with
1092 the number of channels.
1093 (fiprocess_packet): If a SYNC packet has a fourth byte, use it to
1094 set the number of channels.
1096 * rec.c (flocal_rec_await_reply): Handle RN9 (no channels
1097 available on remote).
1098 * send.c (flocal_send_await_reply): Handle SN9 (no channels
1099 available on remote).
1101 * trans.h (struct sdaemon): Added cchans field.
1102 * uucico.c (fcall, fdo_call, faccept_call): Initialize cchans.
1103 * trans.c (utchanalc, fcheck_queue, floop): Use qdaemon->cchans,
1104 not qdaemon->qproto->cchans.
1105 * send.c (flocal_send_request, flocal_send_await_reply): Likewise.
1106 * rec.c (fremote_send_fail): Likewise.
1108 Sun Dec 19 19:44:31 1993 Ian Lance Taylor (ian@airs.com)
1110 * proti.c (cIack_frequency): New static variable.
1111 (asIproto_params): New protocol parameter ack-frequency.
1112 (fijstart): If cIack_frequency is not set, set it to half the
1114 (fishutdown): Clear cIack_frequency.
1115 (fiprocess_data): Use cIack_frequency to determine when to send an
1116 acknowledgement, rather than always sending one at half the window
1119 * uuconf/cmdfil.c (uuconf_cmd_file): Free zline.
1121 * uuconf/callin.c (uuconf_callin): Treat colon as a field
1122 delimiter, for Unix /etc/passwd support.
1124 * unix/xqtsub.c (zsysdep_find_command): If file named with
1125 absolute path does not exist, give a reasonable error message.
1127 * uuconf/rdperm.c (ihadd_norw): Ignore use of empty string with
1128 NOREAD or NOWRITE, rather than denying everything.
1130 * Chip Salzenberg: uulog.c (main): Set zluser correctly under
1133 * Chip Salzenberg: protz.c (izrecv_hdr): Use %lx, not %x.
1135 Sun Dec 12 19:24:35 1993 Ian Lance Taylor (ian@airs.com)
1137 * uucp.c (uccopy): Null terminate name of forwarding system.
1139 Mon Nov 22 21:12:41 1993 Ian Lance Taylor (ian@airs.com)
1141 * unix/tmpfil.c: Include "uudefs.h".
1142 * unix/Makefile.in: Changed accordingly.
1144 * log.c (zstpcpy): New function.
1145 (ulog): Output to log file with a single call to fprintf.
1147 * uucp.c (uccopy): Clarified "not permitted to send" error.
1149 * log.c (ulog): If debugging is on, output all log messages to
1152 * uucico.c (fdo_call): Changed "Bad initialization string" error
1155 * unix/lock.c (fsdo_lock): Print date a stale lock was last
1158 * uucico.c (uaccept_call_cleanup): Call ulog_system (NULL).
1160 Sun Nov 21 17:04:27 1993 Ian Lance Taylor (ian@airs.com)
1162 * Joe Wells: policy.h: Added new parameter LOG_DEVICE_PREFIX.
1163 * unix/serial.c (fsserial_open): Use it.
1165 * Makefile.in: Always use CFLAGS as well as LDFLAGS when linking.
1167 * Joe Wells: policy.h: Added new parameter QNX_LOG_NODE_ID.
1168 * log.c (ulog): Log the QNX node ID if QNX_LOG_NODE_ID is set.
1170 * Joe Wells: unix/serial.c: Support QNX dev_info function for
1171 serial port locking.
1173 * Joe Wells: unix/fsusg.c: Support QNX disk_space function.
1174 * unix/Makefile.in: fsusg.o now depends upon uudefs.h.
1176 * Joe Wells: policy.h: Changed PS_PROGRAM default for __QNX__.
1177 Added HAVE_QNX_LOCKFILES. Rearranged LOCKFILE defines to permit
1178 some default selections.
1179 * sysh.unx: Removed LOCKFILES sanity check.
1180 * unix/lock.c (fsdo_lock, fsqnx_stale), unix/serial.c
1181 (fsserial_lockfile), unix/statsb.c (fsysdep_lock_status): Added
1182 support for HAVE_QNX_LOCKFILES.
1184 * configure.in, config.h.in, policy.h: Moved MAIL_PROGRAM to
1185 policy.h. Added MAIL_PROGRAM_TO_BODY and
1186 MAIL_PROGRAM_SUBJECT_BODY.
1187 * unix/mail.c: Updated accordingly.
1189 * uucico.c (main): Don't make -p imply -e.
1190 (uhelp): Modified accordingly.
1191 * uucico.8: Modified accordingly.
1193 Mon Nov 1 21:34:36 1993 Ian Lance Taylor (ian@airs.com)
1195 * uucico.c (main): Call fconn_close and fconn_open rather than
1196 calling fconn_reset.
1197 * conn.h (struct sconncmds): Removed pfreset field.
1198 (fconn_reset): Removed declaration.
1199 * conn.c (fconn_reset): Removed.
1200 * tcp.c (ftcp_reset): Removed.
1201 (ftcp_open): Save pid in ssysdep_conn information.
1202 (ftcp_close): If pid has changed, return FALSE.
1203 * tli.c (ftli_reset): Removed.
1204 (ftli_open): Save pid in ssysdep_conn information.
1205 (ftli_close): If pid has changed, return FALSE.
1206 * unix/pipe.c (fspipe_close): Replaced with fspipe_reset body.
1207 (fspipe_reset): Removed.
1208 (fspipe_dial): Call fspipe_close, not fspipe_reset.
1209 * unix/serial.c (fsserial_reset, fsstdin_reset): Removed.
1210 (fsysdep_modem_begin_dial): Hangup terminal here, rather than
1211 calling fconn_reset.
1213 * send.c (fremote_rec_reply): If we want to request hangup, send
1214 an M after the mode.
1215 * rec.c (flocal_rec_await_reply): If there an M after the mode,
1216 the remote is requesting a hangup.
1218 Sun Oct 31 23:43:40 1993 Ian Lance Taylor (ian@airs.com)
1220 * uux.c (zXnames): New static variable to hold list of file names
1222 (uxadd_name): Function to add a new name.
1223 (main, uxadd_send_file): Call uxadd_name.
1224 (main): Include zXnames in log message.
1226 Mon Oct 18 00:23:27 1993 Ian Lance Taylor (ian@airs.com)
1228 * proti.c (fijstart): Ensure that packet size and window size are
1229 reasonable; restrict window size to 16.
1231 * proti.c (iIforced_remote_winsize): Removed, along with all
1233 (asIproto_params): Removed "remote-window".
1235 Sun Oct 17 22:15:14 1993 Ian Lance Taylor (ian@airs.com)
1237 * Mark Delany: protg.c (cGremote_duprrs): New static variable.
1238 (fgstart): Initialize it.
1239 (fgshutdown): Count rejects as cGremote_duprrs + cGremote_rejects.
1240 (fgprocess_data): If cGremote_rejects is non-zero, don't treat
1241 duplicate RR as reject. Count duplicate RR's in cGremote_duprrs,
1242 not cGremote_rejects.
1244 * Mark Delany: unix/serial.c (fsdouble_chat, fsysdep_conn_chat):
1245 After running a chat program, reread the terminal characteristics.
1247 Wed Oct 13 20:46:46 1993 Ian Lance Taylor (ian@airs.com)
1249 * uucico.c (fdo_call): Fix typo.
1251 Thu Oct 7 22:28:45 1993 Ian Lance Taylor (ian@airs.com)
1253 * unix/app3.c (zsappend3), unix/app4.c (zsappend4), unix/ftw.c
1254 (ftw), unix/sindir.c (zsysdep_in_dir): Don't duplicate '/'
1255 character for root directory.
1257 * send.c (flocal_send_await_reply): If an SN comes in while the
1258 file is being sent, seek to the end rather than setting fsendfile
1260 (flocal_send_cancelled): Don't send an empty packet.
1261 * trans.c (utransfree): Set e field to EFILECLOSED when debugging.
1262 (floop): Check for file send cancelled at top of loop, not middle.
1264 * uucp.h (ffileseekend): Define.
1266 Wed Oct 6 00:51:08 1993 Ian Lance Taylor (ian@airs.com)
1268 * proti.c (fisenddata, fiprocess_packet): Report channel numbers
1269 in debugging messages.
1271 Tue Oct 5 00:00:33 1993 Ian Lance Taylor (ian@airs.com)
1273 * unix/statsb.c (fsysdep_lock_status): Only report the status of a
1274 particular job once, no matter how many lock files it has.
1276 * uustat.c (fsnotify): Added itime argument. Changed all callers.
1277 Report time job was queued in mail message.
1279 * unix/cusub.c (fsysdep_terminal_raw): For TERMIO and TERMIOS,
1280 clear IXON, IXOFF and IXANY (TERMIO only) in c_iflag.
1282 * Lele Gaifax: log.c (ustats): Report device name.
1284 * log.c (ulog): Use zsysdep_base_name of zProgram.
1286 * uuxqt.c (main): Accept local system name and unknown system
1287 names for -s argument. zsysdep_get_xqt may return an alias.
1289 Wed Sep 29 00:13:39 1993 Ian Lance Taylor (ian@airs.com)
1291 * proti.c (fiprocess_packet): If sending an ACK for a NAK, don't
1294 * unix/serial.c (fsysdep_modem_end_dial): If TIOCWONLINE is not
1295 defined, reopen the port to wait for carrier.
1297 * policy.h: Use __ultrix__ as well as ultrix in check for
1300 Tue Sep 28 22:25:05 1993 Ian Lance Taylor (ian@airs.com)
1302 * Marcel Waldvogel: uuchk.c (ukshow): Don't die if the call out
1303 file can not be opened.
1305 Sun Sep 19 00:16:01 1993 Ian Lance Taylor (ian@airs.com)
1307 * Jason Molenda: policy.h (HAVE_SEQUENT_LOCKFILES): New
1308 configuration parameter.
1309 * sysh.unx, unix/serial.c: Implement it.
1311 * uulog.c (main): Ignore any errors when trying to canonicalize
1314 * Marcel Waldvogel: uucico.c (faccept_call): If the calling system
1315 is already locked, and we are using sequence numbers for it,
1316 increment the local sequence number to keep in synch.
1318 * unix/sleep.c (usysdep_sleep): If usysdep_pause is accurate, use
1319 it. Otherwise call sleep, but always for at least two seconds.
1320 * chat.c (fcsend): Call usysdep_sleep with 1, not 2.
1322 * unix/pause.c: Correct USE_SELECT_TIMER to HAVE_SELECT.
1324 * unix/serial.c (fsmodem_open): Only turn on hardware flow control
1325 for an incoming connection.
1326 (fsmodem_carrier): Turn on hardware flow control after turning on
1327 carrier. Turn off hardware flow control before turning off
1330 * uuxqt.c (uqdo_xqt_file): Use known system name, not system name
1331 from execution file, unless the former is a prefix of the latter.
1333 Sat Sep 18 16:53:41 1993 Ian Lance Taylor (ian@airs.com)
1335 * policy.h: Add HAVE_ENCRYPTED_PASSWORDS configuration parameter.
1336 * callin.c: Change interface to use a passed in comparison
1338 * uuconf.h: Change declaration of uuconf_callin.
1339 * uucico.c (flogin_prompt): Change call to uuconf_callin.
1340 (icallin_cmp): New function. Handle HAVE_ENCRYPTED_PASSWORDS.
1342 * Hans-Dieter Doll: chat.c (fchat): Permit \W at the end of an
1343 expect string to specify a timeout.
1345 * util.c (zremove_local_sys): New function.
1346 * uudefs.h: Declare zremove_local_sys.
1347 * uucp.c (main): Read local system information. Ignore local
1348 system name in front of arguments.
1349 * uux.c (main): Ignore local system name in front of arguments.
1351 * configure.in: Call AC_HAVE_POUNDBANG, AC_STAT_MACROS_BROKEN,
1352 AC_TIME_WITH_SYS_TIME, AC_STRUCT_TM. Call AC_SUBST(POUNDBANG).
1353 Remove HAVE_SYS_TIME_AND_TIME_H check. Rework disk space
1354 configuration to actually check for the functions. Check for
1355 function dev_info. Don't confuse HAVE_FTW_H and HAVE_FTW (from
1357 * config.h.in (STAT_MACROS_BROKEN, TM_IN_SYS_TIME, STAT_DUSTAT,
1358 STAT_DISK_SPACE, HAVE_DEV_INFO): New macros set by configure.
1359 (TIME_WITH_SYS_TIME): Renamed from HAVE_SYS_TIME_AND_TIME_H.
1360 * Makefile.in (POUNDBANG): Set to @POUNDBANG@.
1361 (uusched, uuto): If POUNDBANG = no, turn #!/bin/sh into :.
1362 (config.status): Use config.status --recheck.
1363 (configure): Chdir to $(srcdir) before running autoconf.
1364 * sysh.unx: If STAT_MACROS_BROKEN, undefine S_ISDIR.
1365 * log.c, time.c, uustat.c, unix/loctim.c: If TM_IN_SYS_TIME,
1366 include <sys/time.h>, not <time.h>.
1367 * tstuu.c, unix/pause.c, unix/proctm.c, unix/serial.c: Rename
1368 HAVE_SYS_TIME_AND_TIME_H to TIME_WITH_SYS_TIME.
1369 * fsusg.c: Check STAT_DUSTAT, not _AIX and _I386.
1371 * config.h.in: Renamed from conf.h.in.
1372 * MANIFEST, configure.in, Makefile.in, lib/Makefile.in,
1373 unix/Makefile.in, uuconf/Makefile.in, uucp.h: conf.h renamed to
1376 Fri Sep 17 00:36:16 1993 Ian Lance Taylor (ian@airs.com)
1378 * Joe Wells: policy.h: If __QNX__, default to HAVE_POSIX_TERMIOS.
1380 * Joe Wells: Makefile.in (FORCE): Add dummy command to work around
1383 * Makefile.in, lib/Makefile.in, unix/Makefile.in,
1384 uuconf/Makefile.in: Add .PHONY declaration for appropriate
1387 * Joe Wells: Makefile.in (install): Create $(man1dir) and
1388 $(man8dir) if necessary.
1389 (install-info): Create $(infodir) if necessary.
1391 * Joe Wells: sysh.unx (bsgrade): Declare as returning int rather
1392 than char, since it can return a negative number.
1393 * unix/work.c (bsgrade): Define as returning int.
1395 * Joe Wells: unix/lock.c (fsdo_lock), unix/statsb.c
1396 (fsysdep_lock_status): Use pid_t rather than int for variables
1397 that hold pid's. Cast to long when using printf.
1399 * Joe Wells: uucico.c (fcall): Fix test for 24 hour check when too
1402 * Joe Wells: uucico.c (fcall), unix/opensr.c
1403 (esysdep_open_receive), unix/recep.c (fsysdep_already received):
1404 Cast values in multiplication to determine seconds per day or per
1405 week to long, because result is larger than 16 bits.
1407 * Joe Wells: uuconv.c: Add return 0 after exit to avoid warnings.
1409 Thu Sep 16 23:53:58 1993 Ian Lance Taylor (ian@airs.com)
1411 * Joe Wells: configure.in: Set AR from environment, defaulting to
1412 ar, and substitute it in Makefiles.
1413 * Makefile.in: Set AR to @AR@. Pass it down in MDEFINES.
1414 * lib/Makefile.in, unix/Makefile.in, uuconf/Makefile.in: Set AR to
1415 @AR@. Use $(AR) instead of ar. Use rc instead of qc (POSIX.2
1418 Wed Sep 15 00:47:33 1993 Ian Lance Taylor (ian@airs.com)
1420 * uuconf/callin.c (uuconf_callin): Take an additional argument: a
1421 function to call to transform the login name and password. This
1422 is a hack to avoid requiring escape sequence handling in uuconf.
1423 * uucico.c (flogin_prompt): Pass cescape to uuconf_callin. This
1424 is an incompatible change.
1425 * uuconf.h (uuconf_callin): Update declaration.
1426 * tstuu.c (uprepare_test): Use \s in password in Call1 and Pass2.
1428 * chat.c (fcsend, fcprogram): Expand escape sequences in callout
1429 login names and passwords. This is an incompatible change.
1431 * Joe Wells: uustat.c (fsnotify): Add missing break statement.
1433 * Mark Eichin: tstuu.c (main): Add some sleeps in the children to
1434 make the tests more robust on Linux.
1436 * uulog.c (ulhelp): Clean up general usage message: don't show -F
1437 for HDB_LOGGING, don't show -x for non HDB_LOGGING. Remove
1438 mention of numeric debugging levels.
1439 * uustat.c (ushelp): Remove mention of numeric debugging levels.
1441 * unix/serial.c (ICLEAR_CFLAG): Removed CLOCAL.
1442 (enum tclocal_setting): New enum.
1443 (fsserial_lock): Don't call TIOCSCTTY.
1444 (fsserial_open): Changed flocal argument to tlocal. Use it to
1445 determine initial CLOCAL setting for TERMIO and TERMIOS. Don't
1446 call TIOCSCTTY until after setting the terminal state.
1447 (fsstdin_open): Call fsserial_open with IGNORE_CLOCAL.
1448 (fsmodem_open): Call fsserial_open with SET_CLOCAL if calling out,
1449 CLEAR_CLOCAL if waiting for an incoming call.
1450 (fsdirect_open): Call with SET_CLOCAL or CLEAR_CLOCAL depending
1451 upon fcarrier setting.
1452 * uuconf.h (struct uuconf_direct_port): Added fcarrier field.
1453 * uuconf/tportc.c (asPdirect_cmds): Added ``carrier'' command.
1454 (_uuconf_iport_cmd): Initialize direct fcarrier field to FALSE.
1455 * uuconf/hport.c (uuconf_hdb_find_port), uuconf/vport.c
1456 (uuconf_v2_find_port): Set direct fcarrier field to FALSE.
1457 * uuchk.c (ikshow_port): Print direct port carrier field.
1458 * uuconv.c (uvwrite_taylor_port): Likewise.
1460 * uustat.c (main, fsquery, fsquery_systems, fsquery_show): Support
1461 -o, -y, -s and -S in conjunction with -q.
1463 Tue Sep 14 00:51:50 1993 Ian Lance Taylor (ian@airs.com)
1465 * log.c (ulog): If we can't open the log file, print an error on
1468 * configure.in, conf.h.in: Adjusted for autoconf 1.5.
1470 Sun Sep 12 15:52:29 1993 Ian Lance Taylor (ian@airs.com)
1472 * unix/serial.c (fsserial_open): Add flocal argument. Changed all
1473 callers. Pass it as TRUE when dialing out on a modem. This is
1474 supposedly required on 386bsd.
1476 * conn.c (fconn_dial_sequence): New function.
1477 (fmodem_dial): Use fconn_dial_sequence. Call fsysdep_modem_begin
1478 only once, before entire sequence, and fsysdep_modem_end only
1479 once, after entire sequence. Don't call fcdo_dial.
1480 (fcdo_dial): Removed.
1481 * conn.h: Declare fconn_dial_sequence.
1482 * uucico.c (fconn_call): Don't free dialer if fconn_dial fails.
1483 * uuconf.h (struct uuconf_tcp_port): Add pzdialer field.
1484 * tcp.c (ftcp_dial): Pass new pzdialer field to
1485 fconn_dial_sequence.
1486 * tli.c (ftli_dial): Pass pzdialer to fconn_dial_sequence.
1487 * uuconf/hport.c (uuconf_hdb_find_port): Add trailing dialer
1488 sequence to pzdialer field for TCP port.
1489 * uuconf/tportc.c (asPtcp): Add ``dialer-sequence'' command.
1490 (_uuconf_iport_cmd): Initialize pzdialer for TCP port.
1491 * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Initialize
1492 pzdialer for TCP port.
1493 * uuchk.c (ikshow_port): Print TCP pzdialer field.
1494 * uuconv.c (uvwrite_taylor_port, ivwrite_hdb_port): Output TCP
1497 Sat Sep 11 16:30:17 1993 Ian Lance Taylor (ian@airs.com)
1499 * uulog.c, uuname.c (main): Pass INIT_NOCHDIR to
1502 * uucp.1, uustat.1, uux.1, uuxqt.8: Remove uses of nonportable .EX
1505 * uuxqt.c (asQcmds, iqout, iqfile, iqrequestor, iquser): Remove
1506 restrictions on number of arguments to commands in execution file,
1507 since is there is such a range of buggy UUCP implementations out
1510 * sysh.unx (CORRUPTDIR): Define.
1511 * unix/corrup.c: New file for new zsysdep_save_corrupt_file
1512 function to save a file in CORRUPTDIR.
1513 * unix/Makefile.in, unix/MANIFEST: Add corrup.
1514 * system.h: Add declaration of zsysdep_save_corrupt_file.
1515 * uuxqt.c (uqdo_xqt_file): If execution file has a syntax error,
1516 save it using zsysdep_save_corrupt_file and notify OWNER.
1518 * uuconf/hsinfo.c (_uuconf_ihdb_system_internal), vsinfo.c
1519 (_uuconf_iv2_system_internal): Treat a specified time/grade as
1520 both a timegrade and a call-timegrade.
1522 * rec.c (frec_file_end): If the received file can not be moved to
1523 the final location, and there is enough disk space, keep the file,
1524 mentioned the saved name in the error message, and send mail to
1525 OWNER about it. If the hand created execution file can not be
1527 * unix/move.c (fsysdep_move_file): Don't delete the original file
1529 * unix/splcmd.c (zsysdep_spool_commands): Remove the temporary
1530 file if the move fails.
1532 Wed Sep 1 23:29:30 1993 Ian Lance Taylor (ian@airs.com)
1534 * uuconf/tinit.c (itdebug, _uuconf_idebug_cmd): New functions.
1535 (asCmds): Call itdebug for "debug", to accept spaces between
1536 options as well as commas.
1537 * uuconf/tsinfo.c (iidebug): New function.
1538 (asIcmds): Call iidebug for "debug".
1539 * uuconf/uucnfi.h: Added prototype for _uuconf_idebug_cmd.
1541 Tue Aug 31 00:09:33 1993 Ian Lance Taylor (ian@airs.com)
1543 * send.c (flocal_send_file_init): Don't set flocal if job was
1544 requested by a remote user.
1545 (flocal_send_fail, flocal_send_open_file): Don't save temporary
1546 file in .Preserve if job was requested by a remote user.
1548 * unix/wldcrd.c (fsysdep_wildcard_start): Don't free zcmd until
1549 after calling espopen.
1551 * lib/buffer.c (ubuffree): Added debugging code controlled by
1554 Sun Aug 29 13:33:21 1993 Ian Lance Taylor (ian@airs.com)
1556 * uuconf/tcalou.c: Permit empty password in call file.
1558 * unix/work.c (COMMANDS_PER_SCAN): New macro.
1559 (fsysdep_get_work_init): Get at most COMMANDS_PER_SCAN new command
1560 files, to avoid timeouts while reading a large directory.
1562 * rec.c (fremote_send_file_init): Initialize crestart.
1564 * uux.c (main): Changed special handling of single "-" argument to
1565 call getopt multiple times.
1567 * D.J. James: protg.c (fgsendcmd, fgsenddata), prott.c
1568 (ftsendcmd): Avoid passing 0 to bzero to avoid SunOS bug.
1570 * protf.c (ffprocess_data): Some systems seem to send characters
1571 with parity, so strip the parity bit from incoming bytes.
1573 * Kenji Rikitake: uucp.h: Changed order of header files to avoid
1574 gcc stddef.h vs. sys/stdtypes.h problem on SunOS 4.1.
1576 * Alexander Lehmann: configure.in: Correct misspelling of
1579 * John Hood: unix/filnam.c (ZCHARS): Get the alphabet right.
1581 * Gabor Kiss: tcp.c (ftcp_dial): Use all gethostbyname info before
1582 calling getservbyname.
1584 Thu Aug 26 23:15:33 1993 Ian Lance Taylor (ian@airs.com)
1586 * uux.c, uuxqt.c: Added long options.
1588 * uucp.c: Added v to getopt_long argument, print help and version
1591 * unix/splcmd.c (zsysdep_spool_commands): Create command file via
1592 temporary file, so that the command file is created atomically.
1593 * unix/spool.c (zscmd_file): Accept files starting with "TMP".
1595 Sun Jul 25 14:50:41 1993 Ian Lance Taylor (ian@airs.com)
1597 * uupick.c, uustat.c: Added long options.
1599 Mon Jul 19 22:06:19 1993 Ian Lance Taylor (ian@airs.com)
1601 * uucico.c, uuconv.c, uucp.c, uulog.c, uuname.c: Added long
1603 * uucico.c (main, fcall): Made -c option not print the ``No work''
1605 * uuname.c (main): Call ulog_uuconf rather than unuuconf_error.
1607 Sun Jul 11 14:29:39 1993 Ian Lance Taylor (ian@airs.com)
1609 * cu.c, uuchk.c: Added long options.
1611 * uudefs.h, log.c (zProgram): Renamed from abProgram.
1612 * cu.c, uucico.c, uucp.c, uulog.c, uuname.c, uupick.c, uustat.c,
1613 uux.c, uuxqt.c (main): Initialize zProgram from argv[0].
1615 * Bob Hemedinger: unix/cohtty.c (fscoherent_disable_tty): Almost
1617 * unix/serial.c (fsserial_lockfile): Skip "LCK.." in string passed
1618 to lockttyexist and fscoherent_disable_tty.
1619 * uucico.c (main): If __COHERENT__ is defined, change the meaning
1620 of -c for backward compatibility with old Coherent UUCP.
1622 * David Nugent: uucico.c (main): Added -C option to only call
1623 system named by -s or -S if there is work.
1625 * uuconf/syssub.c (_uuconf_isystem_default): Merge in default
1626 protocol parameters so that setting parameters for one protocol
1627 does not lose the default settings for other protocols.
1629 * unix/lcksys.c (zssys_lock_name): New function.
1630 (fsysdep_lock_system, fsysdep_unlock_system): Use it.
1632 * John Plate: uuchk.c (ukshow): Call ukshow_size with the right
1633 arguments in the called remote case.
1635 * uuconf/remunk.c (uuconf_remote_unknown): use the remote.unknown
1636 shell script if HDB_CONFIG and no ``unknown'' commands appeared in
1639 * Jim Brownfield: uuconf/vsinfo.c (_uuconf_iv2_system_internal):
1640 Accept continuation lines in L.sys.
1642 * Marc Evans: unix/serial.c (fsysdep_conn_write, fsysdep_conn_io):
1643 Add casts to t_snd calls to avoid warnings.
1645 * Julian Stacey: uuchk.c (main): If no information found, say so.
1647 * Ju"rgen Fluk: uulog.c (main): Better error messages for HDB.
1649 * uucico.c (zget_typed_line): If last string ended in \r, ignore
1652 * Mark E. Mallett: uuconf/time.c (asTdays): Add "none".
1654 * uuconf/hsinfo.c (_uuconf_ihdb_system_internal): Report line
1655 numbers for syntax errors.
1657 Sat Jul 10 10:28:03 1993 Ian Lance Taylor (ian@airs.com)
1659 Initial hardware flow control support from Peter Wemm:
1660 * uuconf.h (struct uuconf_modem_port, struct uuconf_direct_port):
1661 New field uuconf_fhardflow in each structure.
1662 * unix/serial.c (fsserial_hardflow): New routine. Initially
1663 supports SunOS and SCO Unix.
1664 (fsmodem_open, fsdirect_open): Turn on hardware flow control if
1665 supported by the port.
1666 (fsserial_set): If CRTFSL is set, don't send XON/XOFF characters.
1667 * uuconf/hport.c (uuconf_hdb_find_port), uuconf/tportc.c
1668 (_uuconf_iport_cmd), uuconf/vport.c (uuconf_v2_find_port):
1669 Initialize uuconf_fhardflow field to TRUE.
1670 * uuconf/tportc.c (struct asPmodem_cmds, struct asPdirect_cmds):
1671 Added "hardflow" command.
1672 * uuchk.c (ikshow_port): Report whether hardware flow control is
1674 * uuconv.c (uvwrite_taylor_port): Write out hardware flow control
1677 * Peter Wemm: protg.c (fgstart), proti.c (fijstart): Report local
1678 packet and window size as well as remote.
1679 * rec.c (fremote_send_file_init), send.c (flocal_send_open_file,
1680 fremote_rec_reply): Report number of bytes being sent or received,
1681 and restart point if any.
1683 * Peter Wemm: trans.h (struct sdaemon): New fields csent and
1685 * uucico.c (fcall, faccept_call): Initialize csent and creceived.
1686 (fdo_call, faccept_call): Report on number of file bytes
1687 transferred and bytes per second.
1688 * rec.c (frec_file_end): Record number of bytes received.
1689 * send.c (fsend_wait_confirm): Record numbers of bytes sent.
1690 * trans.c (ufailed): Record number of bytes sent or received.
1692 * Peter Wemm: uusched.in, uuto.in: Use #!/bin/sh rather than :.
1693 Use exec when invoking program.
1695 * uulog.c (main): Don't die if we can't canonicalize the -s
1698 * unix/cusub.c (uscu_child): Force the descriptor into blocking
1701 Port type pipe support contributed by Marc Boucher:
1702 * unix/pipe.c: New file. Support routines for pipes.
1703 * unix/MANIFEST, unix/Makefile.in: Adjusted for new file pipe.c.
1704 * uuconf.h (enum uuconf_porttype): Added UUCONF_PORTTYPE_PIPE.
1705 (struct uuconf_pipe_port): New structure.
1706 (struct uuconf_port): Added uuconf_pipe_port to union.
1707 * sysh.unx (struct ssysdep_conn): Add fields ord, owr and ipid,
1708 rename istdout_flags to iwr_flags.
1709 (fsdouble_{read, write, chat}): New prototypes.
1710 * conn.h: Prototype for fsysdep_pipe_init.
1711 * unix/serial.c: Renamed fsstdin_{read, write, chat} to
1712 fsdouble_{read, write, chat}. Made them non-static. Changed them
1713 to use ord and owr fields rather than 0 and 1.
1714 (fsserial_init, fsstdin_open): Initialize ord and owr fields.
1715 (fsstdin_close, fsblock, fsstdin_reset, fsysdep_conn_io,
1716 fsstdin_break, fsstdin_set): Use ord and owr fields rather than 0
1718 * uuconf/tportc.c (asPtype_names): Added "pipe".
1719 (asPpipe_cmds, CPIPE_CMDS): New array of pipe commands.
1720 (CCMDS, _uuconf_iport_cmd): Adjusted accordingly.
1721 * tcp.c (fsysdep_tcp_init), tli.c (fsysdep_tli_init): Initialize
1722 new ord and owr fields.
1723 * conn.c (fconn_init): Call fsysdep_pipe_init for
1724 UUCONF_PORTTYPE_PIPE.
1725 * unix/cusub.c (zsport_line, uscu_child, fsysdep_shell): Handle
1726 UUCONF_PORTTYPE_PIPE.
1727 * uuchk.c (ikshow_port): Report on port type pipe.
1728 * uuconv.c (uvwrite_taylor_port): Write out port type pipe.
1730 * Marc Boucher: cu.c: (main, ucuabort): Use new variable
1731 fCuconnprinted to avoid printing ZDISMSG if ZCONNMSG has not been
1733 (main): Call fsysdep_port_access only after we have locked the
1734 port, to get a better error message on systems with shared lines.
1736 * Marc Boucher: policy.h (HAVE_FULLDUPLEX_PIPES): New macro.
1737 * unix/spawn.c (ixspawn): Use it.
1739 * Marc Boucher: uucico.c (uusage): Added lines for -c and -D.
1741 * uuconf/time.c (_uuconf_itime_parse): Add casts to avoid a
1744 * uustat.c (fsworkfile_show): Don't report non-existent send
1747 * lib/parse.c (fparse_cmd): Accept any base for the mode argument,
1748 rather than always using 8. Depend upon the leading zero to
1749 indicate base 8. Accomodates UFGATE 1.03.
1751 Wed Jun 30 00:27:27 1993 Ian Lance Taylor (ian@airs.com)
1753 * uudefs.h (struct scmd): Changed bdummy field to bgrade.
1754 * trans.c (fqueue_send): Sort sends by whether they are a command
1756 * unix/work.c (asSwork_files): Renamed from azSwork_files, made
1757 array of struct ssfilename rather than char *.
1758 (struct ssfile): Added bgrade field.
1759 (iswork_cmp, fsysdep_get_work_init, usysdep_get_work_freed):
1760 Changed accordingly.
1761 (fsysdep_get_work): Set qcmd->bgrade.
1762 * uucp.c (uccopy), uux.c (main, uxadd_send_file), uuxqt.c
1763 (uqdo_xqt_file), xcmd.c (fremote_xcmd_init), lib/parse.c
1764 (fparse_cmd): Initialize bgrade field of scmd structure.
1766 Sun Jun 27 23:21:33 1993 Ian Lance Taylor (ian@airs.com)
1768 * send.c (flocal_send_await_reply, flocal_send_cancelled): If the
1769 first D. file being sent for a faked E command fails, send the
1772 Sun Jun 6 23:07:33 1993 Ian Lance Taylor (ian@airs.com)
1774 * proti.c (fiprocess_data): If we get a packet we sent a NAK for,
1775 forget that sent NAKs for all preceding packets.
1776 (fiprocess_packet): If we get a NAK for the packet we are about to
1777 send, and all our packets have been acknowledged, send an ACK.
1779 Thu Jun 3 20:54:55 1993 Ian Lance Taylor (ian@airs.com)
1781 * prot.h (struct sprotocol): Added frestart field.
1782 * uucico.c (asProtocols): Initialize frestart field.
1783 * system.h, unix/opensr.c (zsysdep_receive_temp): Added frestart
1784 argument to zsysdep_receive_temp.
1785 * rec.c (flocal_rec_send_request, fremote_send_file_init,
1786 frec_file_end): Pass frestart argument to zsysdep_receive_temp.
1787 * unix/opensr.c (esysdep_open_receive): Permit pcrestart argument
1789 * rec.c (flocal_rec_await_reply, fremote_send_file_init): Pass
1790 pcrestart argument to esysdep_open_receive as NULL if file
1791 tranfers can not be restarted.
1793 * lib/status.c (azStatus): Uwe Doering: If SPOOLDIR_HDB or
1794 SPOOLDIR_SVR4, use the same strings they use.
1795 * unix/status.c (aiMapstatus): Uwe Doering: Swap 4 and 20.
1797 * unix/serial.c (fsserial_open): Uwe Doering: Set VTIME to 1.
1799 * uucico.c (faccept_call, uaccept_call_cleanup): Uwe Doering: Free
1800 and unlock evertyhing after any return from faccept_call.
1801 (main): Don't need to unlock after faccept_call here any more.
1803 * proti.c (fiprocess_data): Added additional debugging
1806 Sat May 15 13:55:21 1993 Ian Lance Taylor (ian@airs.com)
1808 * protg.c (fgprocess_data): Don't treat a duplicate RR as an RJ if
1809 we are retransmitting packets. If we are treating a duplicate RR
1810 as an RJ, don't also treat it as an acknowledgement.
1812 * unix/serial.c (fsysdep_conn_io): Typo in debugging message.
1814 Tue May 4 00:03:32 1993 Ian Lance Taylor (ian@airs.com)
1816 * uux.c (main): Andreas Raab: Move aboptions out of local block
1817 since a pointer to it escapes the scope.
1819 * unix/mkdirs.c: W Christopher Martin: Just try to make the
1820 directories, and ignore EEXIST errors, rather than first checking
1821 whether the directory exists.
1823 * send.c (flocal_send_request): Chip Salzenberg: Double check that
1824 the file still exists before sending the S command.
1826 * uucico.c (zget_uucp_cmd, zget_typed_line), trans.c (fgot_data):
1827 Matthew Geier: Avoid doing memcpy (z, NULL, 0).
1829 Mon May 3 22:52:46 1993 Ian Lance Taylor (ian@airs.com)
1831 * system.h, unix/locfil.c, unix/cwd.c, unix/picksb.c: Johan
1832 Vromans: Added pfbadname argument to zsysdep_local_file,
1833 zsysdep_local_file_cwd, zsysdep_uupick_local_file.
1834 * Changed all callers.
1835 * send.c (fremote_rec_file_init), rec.c (fremote_send_file_init):
1836 If remote system gives bad name, return an error rather than
1837 aborting the connection.
1838 * uuxqt.c (uqdo_xqt_file): If bad file name, abort execution
1839 rather than try again later.
1840 * uupick.c (main): If bad file name, permit new command rather
1843 * lib/debug.c: Stephan Niemz: Accept whitespace separated
1846 * unix/detach.c: Always use setsid if it is available.
1848 Sun May 2 13:23:33 1993 Ian Lance Taylor (ian@airs.com)
1850 * unix/spool.c (zsfind_file): Fix handling of execution file
1851 names for systems to work with any possible execution file name.
1853 * send.c (flocal_send_open_file): Subtract starting position from
1854 number of bytes passed to pffile.
1856 * uuconf/rdperm.c: Syd Weinstein: Don't skip lines in Permissions
1857 with leading whitespace.
1859 * uuconf/vsinfo.c: Gero Kuhlmann: Set default retry time
1862 * unix/lock.c (fsdo_lock): Andrew Vignaux: Handle readonly lock
1865 * send.c (flocal_send_fail, flocal_send_await_reply): James Van
1866 Artsdalen: Clarify error messages relating to execution files.
1868 * log.c (ustats): Avoid overflow in bytes/sec calculation.
1870 Sat May 1 17:40:14 1993 Ian Lance Taylor (ian@airs.com)
1872 * trans.c (ftadd_cmd): Don't treat junk at end of command as a
1873 size if the remote system doesn't support sizes.
1875 * uucico.c (faccept_call): Turn on the protocol before reading the
1876 queue, in case there are lots of command files.
1878 * unix/cusub.c: Julian Stacey: If SIGUSR2 is not defined, use
1881 * uuconf/syshdr.unx (MAKE_ABSOLUTE): New macro.
1882 * uuconf/tinit.c (itaddfile): Renamed from itadd. Use
1883 MAKE_ABSOLUTE to force absolute pathnames to configuration files.
1885 * conn.c (fconn_close): Steve M. Robbins: Ignore any SIGHUP
1886 received after closing the connection.
1888 * cu.c (main): Frank Conrad: When an alternate fails, move on to
1891 * uucico.c (faccept_call): Alexei K. Yushin: Supposedly some
1892 UUCP's send UgG rather than just Ug.
1894 * unix/serial.c (fsserial_lockfile): Bob Hemedinger: Fix error
1895 message in HAVE_COHERENT_LOCKFILES case.
1897 * unix/mkdir.c: Andy Fyfe: Pass fkeepuid as TRUE to ixsspawn.
1899 * unix/strerr.c: Undefine strerror in case there is a macro
1900 definition which configure did not pick up.
1902 * configure.in: Andy Fyfe: AT&T 3b1 has sys/mount.h but not
1905 * uudir.c: Andy Fyfe: Include uucp.h.
1907 * unix/fsusg.c: Andy Fyfe: Typos in (untested) STAT_USTAT case.
1909 * unix/filnam.c: Eric Lee Green: Avoid generating filenames that
1910 only differ in case, to make life easier for bad filesystems.
1912 * uuconf/llocnm.c: Brian J. Murrell: Don't read HDB files if
1913 ``hdb-files no'' given.
1915 Sat Mar 20 16:10:20 1993 Ian Lance Taylor (ian@airs.com)
1917 * uudefs.h (eSendfile, eRecfile): Deleted obsolete declarations.
1919 Sat Feb 13 15:57:30 1993 Ian Lance Taylor (ian@airs.com)
1921 * Released version 1.04.
1923 * unix/detach.c: Andrew A. Chernov: Don't check return of setsid.
1925 Sun Jan 31 01:45:56 1993 Ian Lance Taylor (ian@airs.com)
1927 * cu.c (main): Pass "cu" to uuconf_init.
1929 * protz.c (fzprocess): Restore ZPAD char before calling getinsync.
1931 Sat Jan 30 22:19:26 1993 Ian Lance Taylor (ian@airs.com)
1933 * Makefile.in (doc-dist): New target.
1935 Wed Jan 27 22:55:26 1993 Ian Lance Taylor (ian@airs.com)
1937 * protg.c (fgstart): Set iGremote_segsize when using
1940 Tue Jan 26 01:01:34 1993 Ian Lance Taylor (ian@airs.com)
1942 * proti.c (fiprocess_data): always send an ACK after receiving
1943 half a window, rather than sometimes resending a packet. Half a
1944 window of short packets can arrive very quickly.
1946 * tstuu.c (main, cread, fsend): rewrote communication routines to
1949 Sun Jan 24 01:02:47 1993 Ian Lance Taylor (ian@airs.com)
1951 * trans.c (ufailed): don't report statistics if no bytes
1954 * Makefile.in (install): simplified somewhat.
1955 (dist): distribute the sample directory.
1957 Sat Jan 23 19:47:12 1993 Ian Lance Taylor (ian@airs.com)
1959 * configure.in, conf.h.in, tli.c: Karl Swarz: check for and use
1962 Fri Jan 22 00:09:37 1993 Ian Lance Taylor (ian@airs.com)
1964 * send.c (flocal_send_request): Alan Judge: don't send C in option
1965 string when faking an E command as an S command.
1967 Thu Jan 21 00:09:31 1993 Ian Lance Taylor (ian@airs.com)
1969 * uux.c (main): don't use E command if forwarding.
1971 Wed Jan 20 00:22:38 1993 Ian Lance Taylor (ian@airs.com)
1973 * send.c (fsend_exec_file_init), rec.c (frec_file_end), uux.c
1974 (main): Chip Salzenberg: always put the C line last in an
1975 execution file, to support Fredmail.
1977 Tue Jan 19 00:09:43 1993 Ian Lance Taylor (ian@airs.com)
1979 * trans.h, trans.c (ftcharge, floop, fgot_data): rewrote timing
1982 * trans.h, trans.c, send.c, rec.c, xcmd.c, protf.c, protz.c
1983 (fqueue_local, fqueue_remote, fqueue_send, fqueue_receive): added
1984 boolean return value and qdaemon argument.
1986 Mon Jan 18 00:01:46 1993 Ian Lance Taylor (ian@airs.com)
1988 * uucico.c (fdo_call, faccept_call): Ted Lindgreen, Chip
1989 Salzenberg: wait for remote hangup string before hanging up.
1991 * proti.c (fiprocess_data, fiprocess_packet): stop scanning input
1992 buffer after a CLOSE packet.
1994 Sat Jan 16 22:44:28 1993 Ian Lance Taylor (ian@airs.com)
1996 * system.h, uucico.c (main), uuxqt.c (main), unix/init.c: Ted
1997 Lindgreen: eliminated INIT_DAEMON.
1999 * log.c (ulog): don't log SIGINT if fLog_sighup is FALSE.
2001 * unix/move.c (fsysdep_move_file), unix/xqtsub.c
2002 (fsysdep_move_uuxqt_files): the system call rename seems to fail
2003 on some systems for arbitrary reasons, so always try to copy the
2004 file by hand, not just if we get EXDEV.
2006 * policy.h, unix/pause.c: Gregory Gulik: added HAVE_HUNDREDTHS_NAP
2007 configuration parameter.
2009 Wed Jan 6 21:06:45 1993 Ian Lance Taylor (ian@airs.com)
2011 * unix/serial.c (fsserial_lockfile): create HDB lock files when
2012 using HAVE_COHERENT_LOCKING.
2013 unix/cohtty.c (fscoherent_disable_tty): consistently return FALSE
2016 * unix/cusub.c (fsysdep_terminal_raw): Andrew A. Chernov: if
2017 POSIX_TERMIOS, turn of IEXTEN flag.
2019 Sat Jan 2 23:19:27 1993 Ian Lance Taylor (ian@airs.com)
2021 * protg.c (fgprocess_data): treat a duplicate RR as an RJ.
2023 Fri Jan 1 11:17:30 1993 Ian Lance Taylor (ian@airs.com)
2025 * policy.h, unix/proctm.c: Steven S. Dick: use sysconf
2026 (_SC_CLK_TCK) for TIMES_TICK if possible.
2028 * uuconf/diacod.c: Gregory Gulik: accept an empty dialcode string.
2030 * system.h, uucico.c (main), uucp.c (main), uux.c (main),
2031 unix/run.c: Karsten Thygesen: removed ffork argument from
2034 Wed Dec 30 00:21:55 1992 Ian Lance Taylor (ian@airs.com)
2036 * unix/link.c: Andrey G Blochintsev: don't fail just because
2037 destination directories do not exist.
2039 * send.c (flocal_send_open_file): Scott Ballantyne: record file
2040 name when logging send of execution command.
2042 * protz.c: Chip Salzenberg: reformatted to 80 columns.
2044 Tue Dec 29 23:50:52 1992 Ian Lance Taylor (ian@airs.com)
2046 * uuconv.c (uvwrite_time): scott@geom.umn.edu: handle midnight
2049 Fri Dec 18 00:49:16 1992 Ian Lance Taylor (ian@airs.com)
2051 * system.h, uucp.c (uccopy), uux.c (main), cu.c (icuput, icutake),
2052 unix/ufopen.c (esysdep_user_fopen): Doug Evans: open files used
2053 for %put and %take using esysdep_user_fopen, rather than with
2054 privileges of uucp. Added frd and fbinary arguments to
2057 Thu Dec 17 00:04:53 1992 Ian Lance Taylor (ian@airs.com)
2059 * unix/picksb.c (zsysdep_uupick): Peter Wemm: allocation error.
2061 * uupick.c (main): Peter Wemm: pass INIT_GETCWD to
2062 usysdep_initialize; really quit if 'q' is typed.
2064 * uulog.c (main): Peter Wemm: always canonicalize system name, not
2065 just if using HDB_LOGGING.
2067 * uudefs.h, log.c (ustats), trans.c (ufailed), send.c
2068 (fsend_await_confirm), rec.c (frec_file_end): Peter Wemm: added
2069 fmaster argument to ustats, used only in HDB_LOGGING.
2071 Wed Dec 16 23:35:51 1992 Ian Lance Taylor (ian@airs.com)
2073 * uustat.c (main): Marc Unangst: forgot to call strtol for -y.
2075 * policy.h, sysh.unx: Brian J. Murrell: yet another configuration
2076 parameter: HAVE_BROKEN_SETREUID.
2078 Tue Dec 15 00:13:04 1992 Ian Lance Taylor (ian@airs.com)
2080 * uuconv.c (uvwrite_taylor_system): mnichols@pacesetter.com: use
2081 command-path rather than path.
2083 * trans.c (floop): Marc Unangst: don't clear frequested_hangup if
2084 we didn't manage to hang up.
2086 * uucp.h, rec.c (fremote_send_file_init): Oleg Girko: patches to
2087 make code compile if USE_STDIO is 0.
2089 * unix/proctm.c: Tim Peiffer: reverse sense of TIMES_TICK check in
2090 hopes of avoiding ISC preprocessor bug.
2092 * unix/fsusg.h, unix/fsusg.c, unix/bytfre.c, system.h, conf.h.in,
2093 configure.in, unix/Makefile.in, unix/MANIFEST: use new disk space
2094 checking routines from GNU fileutils 3.4.
2095 * unix/opensr.c (zsysdep_receive_temp): don't check free space
2097 * policy.h, trans.h, trans.c, rec.c, uucico.c, uudefs.h: Chip
2098 Salzenberg: check amount of remaining space on disk every
2099 FREE_SPACE_DELTA bytes, and abort the file transfer if disk space
2102 Wed Dec 2 00:24:12 1992 Ian Lance Taylor (ian@airs.com)
2104 * policy.h, unix/serial.c (fsserial_set): Frank Conrad: added
2105 HAVE_PARITY_BUG parameter for the Sony NEWS.
2107 Mon Nov 30 00:06:59 1992 Ian Lance Taylor (ian@airs.com)
2109 * lib/spool.c (fspool_file): Andrew Chernov: accept any
2110 alphanumeric character in the name, because it could be a grade
2111 from another system.
2113 Sun Nov 29 22:36:47 1992 Ian Lance Taylor (ian@airs.com)
2115 * lib/buffer.c (ubuffree): scott@geom.umn.edu, Richard Gumpertz:
2116 use a temporary variable to hold the offsetof result.
2118 * configure.in: scott@geom.umn.edu: define HAVE_SYS_SELECT_H
2121 * protg.c (fgsend_control): Niels Baggesen: report all non-RR
2122 packets if DEBUG_ABNORMAL.
2124 * unix/cusub.c (uscu_child): Ed Carp: apparently the read and
2125 write calls can get EAGAIN on some systems.
2127 * unix/status.c (fsysdep_get_status, fsysdep_set_status): Chip
2128 Salzenberg: map status values when using SPOOLDIR_HDB.
2130 * rec.c (fremote_send_reply): do file restart correctly for E
2133 Sun Nov 22 15:09:43 1992 Ian Lance Taylor (ian@airs.com)
2135 * protz.c: Chip Salzenberg: always do bitwise operations on
2138 * getopt.h: Chip Salzenberg: don't rely on __STDC__.
2140 Thu Nov 19 00:13:46 1992 Ian Lance Taylor (ian@airs.com)
2142 * uuconf/freblk.c: Niels Baggesen: loop over the right list.
2144 * uulog.c (main): Peter Wemm: added -D, -F and -S options, made -f
2145 take an argument and default to showing 10 current lines.
2146 (ulusage): added new options and missing old ones.
2148 Wed Nov 18 22:26:36 1992 Ian Lance Taylor (ian@airs.com)
2150 * rec.c (frec_file_end): Andrey G Blochintsev: call
2151 fsysdep_remember_reception as soon as the file has been moved to
2152 the final destination; write fake execution file via a temporary
2153 file to prevent uuxqt from getting at it early.
2154 * trans.c (usent_receive_ack): don't call
2155 fsysdep_remember_reception here.
2157 * unix/tmpfil.c (ZDIGS): don't use '.', since we use it to
2158 separate parts of the file name.
2160 Sun Nov 15 15:31:49 1992 Ian Lance Taylor (ian@airs.com)
2162 * uustat.c (fsquery_show, csunits_show): Marc Unangst, Chip
2163 Salzenberg: line up uustat -q output.
2165 * sysh.unx, ftw.c (ftw_dir, ftw), srmdir.c (isremove_dir), walk.c
2166 (iswalk_dir): Marc Unangst: stat argument to function argument to
2169 * unix/serial.c (fsserial_set): Mike Bernson: set CSIZE correctly
2170 when changing parity.
2172 * uux.c (main): Andrew A. Chernov: check for executions which name
2173 the local system, to handle dumb mailers.
2175 * uucp.h: Doug Evans: #undef strerror if HAVE_STRERROR is 0, to
2176 avoid macro definition on Xenix.
2178 * unix/serial.c (fsserial_set): Peter Wemm: only check CRTSCTS if
2181 * cu.c (main): Peter Wemm: use alternates for systems if a call
2184 * tstuu.c (uprepare_test): Gerben Wierda: set execute bits for
2187 * trans.c (floop): Marc Unangst: don't hang up when requested
2188 unless the send queue is empty.
2190 * uuxqt.c (iqrequestor): Marc Boucher: new function to accept R
2191 command with two arguments, as generated by UUPC.
2193 * uucico.c (faccept_call): Christian Seyb: don't free the system
2194 info until after writing the status.
2196 * configure.in: Marc Boucher: check -lsocket and -lnsl together.
2198 * unix/portnm.c: Stephen J. Walick: it's types.tcp.h, not
2201 * configure.in: Brian Campbell: check for /usr/bin/mailx.
2203 Sat Nov 14 11:11:04 1992 Ian Lance Taylor (ian@airs.com)
2205 * uuconf/hlocnm.c (uuconf_hdb_login_localname): Christian Seyb:
2206 check for _uuconf_unset as well as NULL.
2208 * conn.c (fconn_dial): initialize *ptdialerfound.
2210 * many files: rearranged header files to include "sysdep.h" before
2211 system header files. Also eliminated various pedantic warnings,
2212 and made _uuconf_unset char * to avoid possible alignment
2215 Tue Nov 10 00:16:35 1992 Ian Lance Taylor (ian@airs.com)
2217 * trans.h, uucico.c (fcall, faccept_call), trans.c (uclear_queue,
2218 floop): Stephen J. Walick: move clean up from end of floop into
2219 uclear_queue, and call it instead of just doing
2220 usysdep_get_work_free.
2222 * unix/serial.c (fsserial_lockfile): Marc Unangst: bad #endif
2223 location for HAVE_SVR4_LOCKFILES.
2224 (fsserial_init): Doug Evans: null terminate the device name.
2226 Sun Nov 8 10:58:59 1992 Ian Lance Taylor (ian@airs.com)
2228 * uucico.c (fcall, faccept_call): Stephen J. Walick: call
2229 usysdep_get_work_free here.
2230 trans.c (floop): don't call usysdep_get_work free here.
2232 Sun Nov 1 17:05:07 1992 Ian Lance Taylor (ian@airs.com)
2234 * Released gamma version 1.04.
2236 * configure.in: check that sys/select.h and sys/time.h work
2237 together, since that's how they are currently used.
2239 * cu.c, uustat.c, uuconf/diacod.c: add casts to eliminate
2242 * configure.in: don't add strlwr to LIBOBJS.
2244 * policy.h, unix/cohtty.c: Bob Hemedinger: finish Coherent style
2247 Wed Oct 28 00:20:15 1992 Ian Lance Taylor (ian@airs.com)
2249 * tstuu.c: Ralf Stephan: check HAVE_POLL_H and HAVE_STROPTS_H.
2251 * Nickolay Saukh: accept SVR4 style R request file position.
2252 uudefs.h: added ipos field to struct scmd.
2253 lib/parse.c: accept SVR4 style R request with file position to
2255 send.c (fremote_rec_file_init): start transferring file from
2257 uucp.c, uux.c, uuxqt.c, xcmd.c: initialize ipos field.
2259 Sun Oct 25 10:39:23 1992 Ian Lance Taylor (ian@airs.com)
2261 * unix/serial.c (fsysdep_conn_write, fsysdep_conn_io): T. William
2262 Wells: take special care to ensure we don't write after SIGHUP.
2264 * policy.h, sysh.unx, unix/MANIFEST, unix/Makefile.in,
2265 unix/serial.c (fsserial_lockfile), unix/cohtty.c (new file): Bob
2266 Hemedinger: added HAVE_COHERENT_LOCKFILES.
2268 * unix/cusub.c (uscu_child): Igor V. Semenyuk: accept a 0 return
2269 from read until we have read some data at some point.
2271 Thu Oct 22 10:38:32 1992 Ian Lance Taylor (ian@airs.com)
2273 * proti.c: various tweaks for bad connections.
2275 * uucp.h: T. William Wells: rename strcasecmp and strncasecmp, if
2276 the system doesn't provide them, to avoid the ANSI C name space.
2278 * lib/buffer.c: Bob Hemedinger: put ab in union so that offsetof
2279 will not take the address of an array.
2281 * uuxqt.c (uqdo_xqt_file): Bob Hemedinger: don't take address of
2284 Wed Oct 21 00:05:31 1992 Ian Lance Taylor (ian@airs.com)
2286 * uustat.c (fsnotify): Gert Doering: if the file appears to be
2287 binary, don't include it in any mail message.
2289 * unix/mkdir.c: Michael Yu.Yaroslavtsev: check whether directory
2290 already exists before spawning /bin/mkdir.
2292 * proti.c: Michael Yu.Yaroslavtsev: iIsendpos and iIrecpos should
2295 * send.c (flocal_send_await_reply): Gert Doering: improved error
2298 * tli.c, unix/detach.c: include "sysdep.h" before <sys/ioctl.h>.
2300 * configure.in, conf.h.in: added some system specific checks
2301 provided by autoconf.
2303 * tstuu.c, unix/serial.c: Merlyn LeRoy: check for ENODATA as well
2304 as EAGAIN and EWOULDBLOCK.
2306 * uucico.c (faccept_call): Zacharias J. Beckman: if calling back,
2309 * uucico.c (fdo_call, faccept_call): Hans-Dieter Doll: avoid
2310 overflow when turning ulimit value into bytes.
2312 Tue Oct 20 23:12:26 1992 Ian Lance Taylor (ian@airs.com)
2314 * serial.c (fsmodem_carrier): Hans-Dieter Doll: use IS68K LNOMDM
2317 * chat.c (fcsend): Hans-Dieter Doll: advance z after EOT.
2319 * cu.c: T. William Wells: beep on connected and disconnected
2320 messages (only if ANSI_C, to use \a).
2322 * unix/run.c: Peter Wemm: pass fsetuid as TRUE to ixsspawn.
2324 Sun Oct 18 13:58:17 1992 Ian Lance Taylor (ian@airs.com)
2326 * policy.h, unix/serial.c (fsmodem_close): Stephen J. Walick:
2327 added HAVE_RESET_BUG for SCO Xenix.
2329 * configure.in: Igor V. Semenyuk: avoid looking in -linet for
2330 getline, since ISC has a different function there by that name.
2332 * unix/ufopen.c: Igor V. Semenyuk: handle unsigned uid_t.
2334 Sat Oct 17 11:00:30 1992 Ian Lance Taylor (ian@airs.com)
2336 * conf.h.in, configure.in, uucp.h, unix/serial.c
2337 (fsserial_lockfile), lib/MANIFEST: eliminated strlwr.
2339 Fri Oct 16 01:10:56 1992 Ian Lance Taylor (ian@airs.com)
2341 * Igor V. Semenyuk: uuchk.c (ukshow): print max-remote-debug
2343 lib/debug.c (idebug_parse): accept DEBUG_NONE.
2345 Thu Oct 15 00:49:58 1992 Ian Lance Taylor (ian@airs.com)
2347 * unix/cusub.c (fsysdep_terminal_puts): don't modify zalc before
2350 * protg.c (fgcheck_errors, fggot_ack, fgprocess_data): Mark E.
2351 Mallett: better handling of error decay.
2353 Wed Oct 14 22:09:20 1992 Ian Lance Taylor (ian@airs.com)
2355 * unix/lock.c: Tomi Vainio: make sure SEEK_SET is defined.
2357 * tcp.c (ftcp_dial): print a better error message if gethostbyname
2360 * Stephen J. Walick: configure.in, conf.h.in: check for
2362 tcp.c, unix/opensr.c: include <sys/types.tcp.h> if available.
2363 lib/debug.c, unix/portnm.c, uuconf/int.c, uuconf/llocnm.c,
2364 uuconf/time.c: cast more arguments to eliminate more warnings.
2366 Tue Oct 13 00:25:03 1992 Ian Lance Taylor (ian@airs.com)
2368 * prot.h, proti.c (fistart, fijstart), protj.c, uucico.c, tstuu.c
2369 (uprepare_test), Makefile.in, MANIFEST: added 'j' protocol.
2371 Sun Oct 11 23:45:20 1992 Ian Lance Taylor (ian@airs.com)
2373 * policy.h, unix/serial.c (fsserial_set): added HAVE_STRIP_BUG to
2374 policy.h to get around stupid Ultrix bug.
2376 * sysh.unx, unix/cusub.c, unix/serial.c (fsserial_open): for
2377 HAVE_BSD_TTY, keep tchars and ltchars in the sterminal structure,
2378 and in fsserial_open disable all interrupt characters.
2380 Sat Oct 10 01:18:31 1992 Ian Lance Taylor (ian@airs.com)
2382 * uuconf/tinit.c (itunknown): Gert Doering: don't save "unknown"
2383 with the other arguments.
2385 Fri Oct 9 00:56:43 1992 Ian Lance Taylor (ian@airs.com)
2387 * unix/lock.c: check for running process before doing kill.
2389 Thu Oct 8 00:20:12 1992 Ian Lance Taylor (ian@airs.com)
2391 * chat.c, protf.c, send.c, rec.c, unix/locfil.c: Stephen J.
2392 Walick: cast arguments to strtol and strcspn to avoid warnings.
2394 * uustat.c (fsnotify): Marc Boucher: don't free string from
2395 uuconf_localname, and only prepend remote system name to execution
2396 requests, not to local UUCP commands.
2398 * unix/lock.c (fsdo_lock): Marc Boucher: set fret to TRUE before
2399 going around the loop again.
2401 * uucico.c: Marc Boucher: use 'a' protocol before 'g'.
2403 * unix/spool.c (zsfind_file): Matthias Zepf: fixed typos for
2406 Wed Oct 7 00:03:08 1992 Ian Lance Taylor (ian@airs.com)
2408 * uuname.c (main): Marc Boucher: reverse sense of -a, and do not
2409 display aliases by default.
2411 * uucico.c (fdo_call): Marc Boucher: some systems only provide 14
2412 characters in the Shere line.
2414 * tstuu.c (main): Marc Boucher: add support for STREAMS ptys.
2416 Tue Oct 6 23:16:15 1992 Ian Lance Taylor (ian@airs.com)
2418 * policy.h: Marc Boucher: improve comments to describe SVR4.
2420 * chat.c (fcsend, fcecho_send, fcecho_send_strip,
2421 fcecho_send_nostrip): Marc Boucher: don't send CR after BREAK or
2422 EOT, and let chat-seven-bit apply to echo checking.
2424 * uuname.c (main): Andreas Vogel: usysdep_exit (TRUE) rather than
2425 usysdep_exit (EXIT_SUCCESS).
2427 Mon Oct 5 22:59:51 1992 Ian Lance Taylor (ian@airs.com)
2429 * sysh.unx, unix/serial.c (fsserial_init): Marc Boucher: avoid
2430 freeing unallocated string.
2432 * unix/serial.c (fsmodem_carrier): Peter Wemm: eliminated useless
2433 undeclared variable which only appeared if HAVE_CLOCAL_BUG.
2435 * cu.c (main): don't require carrier when opening a direct line.
2436 (fcudo_cmd, fcudo_subcmd, uculist_fns, icuunrecogfn): T. William
2437 Wells: give reasonable error messages.
2439 Sun Oct 4 00:03:10 1992 Ian Lance Taylor (ian@airs.com)
2441 * */Makefile.in: T. William Wells: use ar qc rather than ar rc.
2443 * many: T. William Wells: renamed isysdep_* functions to
2444 ixsysdep_*, and renamed isfork, isspawn, and isswait similarly, to
2445 avoid ANSI C namespace restrictions.
2447 * uucp.h: T. William Wells: default size_t to unsigned, not int.
2449 * configure.in: T. William Wells: new definition for
2452 * configure.in: T. William Wells: test for sh builtin echo.
2453 conf.h.in: default ECHO_PROGRAM to undefined.
2455 * proti.c (fiprocess_data, fiprocess_packet): fix confusion
2456 between iIremote_winsize and iIrequest_winsize.
2458 * proti.c (fiwindow_wait, fisenddata): wait for a window opening
2459 before sending SPOS.
2461 * proti.c (fiprocess_data): don't send a NAK for a duplicate of
2462 the most recent packet.
2464 * configure.in: Stephen J. Walick: don't use AC_PREFIX, check for
2467 * system.h, sysh.unx, send.c (flocal_send_file_init,
2468 fsend_exec_file_init), rec.c (flocal_rec_file_init,
2469 fremote_send_file_init, frec_file_end), xcmd.c
2470 (fremote_xcmd_init), uuxqt.c (uqdo_xqt_file, uqcleanup), uux.c
2471 (main, uxadd_send_file), uucp.c (main, uccopy), uustat.c
2472 (fsworkfile_show, fsexecutions, fsnotify), unix/filnam.c
2473 (zsfile_name, zsysdep_data_file_name, zsysdep_xqt_file_name),
2474 unix/jobid.c (zsfile_to_jobid, zsjobid_to_file), unix/splcmd.c
2475 (zsysdep_spool_commands), unix/splnam.c (zsysdep_spool_file_name),
2476 spool.c (zsfind_file), statsb.c (fskill_or_rejuv,
2477 isysdep_work_time), work.c (fswork_file, fsysdep_get_work,
2478 zsysdep_jobid, bsgrade): Marc Unangst, Brian Murrell: Corrected
2479 support for SPOOLDIR_SVR4, since SVR4 doesn't use grades in file
2480 names. Changed flocal argument to pseq argument in
2481 zsysdep_spool_file_name, and changed flocal argument to bgrade
2482 argument in zfind_file. Added fxqt argument to
2483 zsysdep_data_file_name. Added bsgrade function. Added bgrade
2484 argument to zsfile_to_jobid, and pbgrade argument to
2487 Sat Oct 3 11:03:13 1992 Ian Lance Taylor (ian@airs.com)
2489 * MANIFEST, Makefile.in, lib/MANIFEST, lib/Makefile.in,
2490 lib/parse.c: moved parse.c from main directory to lib.
2492 * system.h, unix/size.c, unix/Makefile.in, unix/MANIFEST: moved
2493 csysdep_size into its own file, made it return -1 if the file does
2494 not exist or -2 on other errors.
2495 uustat.c (fsworkfile_show): handle errors from csysdep_size.
2496 send.c (flocal_send_file_init): handle errors from csysdep_size,
2497 removed unneeded calls to fsysdep_file_exists.
2499 * trans.c (flocal_poll_file), tcp.c (ftcp_dial): Bob Cunningham:
2500 declare functions consistently static.
2502 * Makefile.in: Marc Unangst: don't run config.status
2505 * configure.in: Marc Unangst: check for socket and t_open in
2506 -lsocket, -lnsl and -lxti.
2508 * uuconf/cmdarg.c: check first character to avoid calls to
2509 strcmp or strcasecmp.
2511 Thu Oct 1 23:44:24 1992 Ian Lance Taylor (ian@airs.com)
2513 * trans.h, uucico.c (fdo_call, faccept_call), parse.c
2514 (fparse_cmd), send.c (flocal_send_request): Gert Doering: SVR4
2515 UUCP uses a dummy string between the notify field and the size,
2518 * tstuu.c (main, uprepare_test): added -n switch to not destroy
2519 existing configuration files.
2521 Fri Sep 25 00:16:35 1992 Ian Lance Taylor (ian@airs.com)
2523 * protg.c (fgsenddata): T. William Wells: clear bytes correctly so
2524 that resending a packet doesn't get a completely incorrect size.
2526 * send.c (usadd_exec_line): Stephen J. Walick: don't send trailing
2527 spaces on the created execute file, because it confuses Waffle.
2529 Thu Sep 24 00:25:18 1992 Ian Lance Taylor (ian@airs.com)
2531 * unix/jobid.c (zsjobid_to_file): Franc,ois Pinard: if the job ID
2532 is too short, return NULL rather than dumping core.
2533 unix/statsb.c (fskill_or_rejuv, isysdep_work_time): handle a NULL
2534 return from zsjobid_to_file.
2536 Mon Sep 21 09:01:02 1992 Ian Lance Taylor (ian@airs.com)
2538 * uuconf/init.c, uuconf/syssub.c: Lele Gaifax: moved
2539 declaration of _uuconf_unset from syssub.c to addstr.c because
2540 NeXT linker does not pull in object files solely because of
2541 variable declarations.
2543 * sysh.unx: Lele Gaifax: typo in ftw declaration.
2545 * lib/Makefile.in, unix/Makefile.in: Lele Gaifax: bug in clean
2548 Thu Sep 17 01:01:13 1992 Ian Lance Taylor (ian@airs.com)
2550 * Released beta version 1.04.
2552 Wed Sep 16 01:02:55 1992 Ian Lance Taylor (ian@airs.com)
2554 * uux.c (main): null terminate the options list for an 'E'
2557 * ustat.c (fsexecutions): allow privileged users to kill remote
2558 execution files, and handle local executions correctly.
2560 * uuconf/hinit.c: added parens to avoid warning.
2562 * unix/splcmd.c: cast to avoid warning.
2564 * unix/serial.c (fsmodem_close): fixed HAVE_SYSV_TERMIO typo.
2566 * trans.c (uqueue_receive, floop, fgot_data): improved timing code
2567 to make fewer system calls.
2569 * send.c (fsend_exec_file_init, fsend_exec_file): handle separate
2570 E file correctly, and make a good statistics file entry for it.
2572 * Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
2573 lib/Makefile.in: use -I flags to permit compilation in a separate
2574 directory. Set up clean targets per GNU standards.
2576 Tue Sep 15 00:07:09 1992 Ian Lance Taylor (ian@airs.com)
2578 * uucico.c (zget_uucp_cmd): can't set size_t variable to -1.
2580 * Makefile.in (install): don't install info files. Added new
2581 targets info and install-info.
2583 Mon Sep 14 13:19:42 1992 Ian Lance Taylor (ian@airs.com)
2585 * uuxqt.c (main): Gregory Bond: canonicalize the system name given
2588 * system.h, uuconf.h, uucico.c (faccept_call), unix/unknwn.c,
2589 unix/Makefile.in, unix/MANIFEST, uuconf/syshdr.unx,
2590 uuconf/remunk.c, uuconf/hrmunk.c, uuconf/Makefile.in,
2591 uuconf/MANIFEST: support HDB remote.unknown shell script.
2593 * protg.c (igchecksum, igchecksum2): Inspired by Mark Pizzolato,
2594 put in new, improved checksum routines.
2596 * uuxqt.c (uqdo_xqt_file): make sure the execution file still
2597 exists after locking it.
2599 * unix/lock.c (fsdo_lock): don't fail if the lock file is removed
2600 between the link and the open.
2602 * unix/xqtsub.c (fsysdep_execute, fsysdep_lock_uuxqt_dir,
2603 fsysdep_unlock_uuxqt_dir, fsysdep_move_uuxqt_files): use .Xqtdir
2604 for first uuxqt execution, not .Xqtdir0000.
2606 Sun Sep 13 11:51:22 1992 Ian Lance Taylor (ian@airs.com)
2608 * trans.h, uucico.c (fdo_call, faccept_call), send.c
2609 (flocal_send_request), rec.c (flocal_rec_send_request) parse.c
2610 (fparse_cmd): send file size in hex for SVR4 compatibility.
2611 Required new FEATURE_V103 for 1.03 backward compatibility, since
2612 1.03 requires decimal size.
2614 * various: eliminated remaining calls to alloca.
2616 * tcp.c (ftcp_open), tli.c (ftli_open): set FD_CLOEXEC for sockets
2617 and TLI descriptors.
2619 * tcp.c (ftcp_open): switch to real user ID before binding the
2620 socket when running as a server. This will permit uucico invoked
2621 by root to open privileged TCP ports. Don't switch to real ID if
2622 effective ID is already root, to permit an suid root program to be
2625 * uuxqt.c (uqdo_xqt_file): removed special case for system which
2626 does not permit any commands: unnecessary and unusual.
2628 * uucico.c (fconn_call): Ed Carp: clear the SIGHUP signal
2629 indication before opening the modem.
2631 * trans.h, trans.c (fqueue, fcheck_queue, floop, fgot_data),
2632 send.c (fsend_await_confirm), rec.c (frec_file_send_confirm),
2633 uucico.c (fcall, faccept_call): recheck the work queue every 10
2634 minutes. Honor CYM from the remote system. Send CYM if we have
2637 Sat Sep 12 15:47:52 1992 Ian Lance Taylor (ian@airs.com)
2639 * Makefile.in: use $(MAKE) instead of make for recursive calls.
2641 * system.h, uucp.c (main), uux.c (main), unix/ufopen.c,
2642 unix/MANIFEST, unix/Makefile.in: added esysdep_user_open to open a
2643 file with user permissions.
2645 Fri Sep 11 00:27:32 1992 Ian Lance Taylor (ian@airs.com)
2647 * uudefs.h, copy.c: added fcopy_open_file.
2649 * policy.h: added HAVE_SAVED_SETUID.
2651 * configure.in, conf.h.in: check for setreuid.
2653 Tue Sep 8 00:11:10 1992 Ian Lance Taylor (ian@airs.com)
2655 * protf.c (ffsendcmd), prott.c (ftsendcmd): eliminate calls to
2658 * uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
2659 uustat.c (main), uuchk.c (main), uuconv.c (main), uuname.c (main),
2660 uulog.c (main), uupick.c (main), cu.c (main), lib/getop1.c,
2661 lib/Makefile.in, lib/MANIFEST: added getopt_long, and changed all
2662 calls to getopt to call getopt_long instead.
2664 Mon Sep 7 22:26:51 1992 Ian Lance Taylor (ian@airs.com)
2666 * getopt.h, lib/getopt.c, lib/Makefile.in: bring getopt up to
2667 glibc 1.04; call malloc instead of alloca in exchange.
2669 * system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
2670 (main), uustat.c (main), cu.c (main), uuname.c (main), unix/init.c
2671 (usysdep_initialize): added INIT_SUID, for old systems which don't
2672 do setuid correctly for root.
2674 * cu.c, unix/cusub.c: various minor improvements.
2676 Sun Sep 6 20:25:20 1992 Ian Lance Taylor (ian@airs.com)
2678 * uux.c (uxcopy_stdin): use getchar rather than fread to avoid
2681 * uucico.c (fsend_uucp_cmd): Niels Baggesen: report message when
2684 * protg.c (fgsend_control): Niels Baggesen: report sending an RJ
2685 when DEBUG_ABNORMAL.
2687 Tue Aug 25 00:07:20 1992 Ian Lance Taylor (ian@airs.com)
2689 * uuconf/time.c: Zacharias Beckman: let user defined time tables
2690 override the defaults.
2692 Mon Aug 24 00:25:23 1992 Ian Lance Taylor (ian@airs.com)
2694 * system.h, uuxqt.c (uqdo_xqt_file), unix/xqtsub.c
2695 (zsysdep_xqt_local_file): Jarmo Raiha: expand ~name in uuxqt.c.
2697 * send.c (fremote_rec_reply): SVR4 sends the size of the file with
2698 the RY string, so we do too. We don't look for it, though.
2700 * uustat.c, uustat.1: Don Phillips: removed all printing of years
2701 and seconds. Hope nobody complains.
2703 * uucico.c (fdo_call): don't set the status to TALKING until we
2704 see the Shere string.
2706 * configure.in, conf.h.in, unix/wldcrd.c: if the system has glob,
2707 use it for wildcards. If it doesn't, quote special characters in
2708 the wildcard string.
2710 * uucico.c (fdo_call): Zacharias Beckman: don't report ``Login
2711 successful'' until we see the Shere string.
2713 * prot.c (fsend_data): Don Lewis: bug in crec calculation.
2715 * uustat.c (fsworkfile_show, usworkfile_header, fsnotify): Don
2716 Lewis: show poll files.
2718 * unix/init.c: check LOGNAME and USER environment variables before
2721 * unix/serial.c: Brian Campbell: check for B57600, B76800 and
2722 B115200 in baud rate table.
2724 Sun Aug 23 13:05:28 1992 Ian Lance Taylor (ian@airs.com)
2726 * chat.c (fcsend), tstuu.c (uchild): Chip Salzenberg: call sleep
2727 (2) instead of sleep (1). Hopefully this won't break any chat
2730 * system.h, parse.c, trans.c (fqueue, flocal_poll_file), uustat.c
2731 (fsworkfiles_system, fsquery_system), unix/work.c
2732 (fsysdep_get_work, fsysdep_get_work_init): don't delete poll files
2733 immediately, but instead return a 'P' command and delete them when
2734 the command is passed to fsysdep_did_work.
2736 * tstuu.c (uprepare_test): change ``call-request'' to ``request''.
2738 * uuconf/iniglb.c (_uuconf_itimetable): return CMDTABRET_KEEP so
2739 we don't lose the timetable name and definition.
2741 * uuconf.h, send.c (fremote_rec_file_init), rec.c
2742 (fremote_send_file_init), uuchk.c (ukshow), uuconv.c
2743 (uvwrite_taylor_system, uvwrite_hdb_system), uuconf/tsinfo.c
2744 (iirequest), uuconf/hsinfo.c, uuconf/hunk.c, uuconf/syssub.c:
2745 added ``send-request'' and ``receive-request'' commands,
2746 eliminated ``call-request'' and ``called-request'' commands.
2748 * uux.c (main): make sure we are permitted to transfer files
2749 before queuing requests.
2751 * uuconf.h, uucico.c (fcall), uuconf/tsinfo.c, uuconf/syssub.c:
2752 David Nugent: added ``success-wait'' command for systems, to set a
2753 minimum time between successful calls.
2755 * send.c (fremote_rec_file_init): Don Phillips: let a request only
2756 specify the file base name in the TO argument.
2758 * uucico.c (main): Don Lewis: don't exit with success just because
2759 we were able to start uuxqt.
2761 * unix/serial.c (fsmodem_close, fsserial_read): always drop DTR
2762 when closing a modem connection. Also, retry if we time out when
2765 Sat Aug 22 22:31:34 1992 Ian Lance Taylor (ian@airs.com)
2767 * uuconf/time.c: Stephen Walick: don't require a comma between
2768 time strings, since HDB doesn't seem to.
2770 * protg.c (fgcheck_errors): added "error-decay" protocol parameter
2771 to decay errors as packets are successfully received.
2773 * uustat.c (fsmachines), uustat.1: Chris Lewis: don't display the
2774 year or seconds for uustat -m. Probably uustat -q should be
2777 * tstuu.c: Larry Fahnoe: don't report EWOULDBLOCK errors when
2778 writing to a pty. Also removed functions which are now in lib.
2780 * MANIFEST, Makefile.in, uusched.in: added a simple uusched shell
2783 * parse.c: Heiko Rupp: don't die if there is trailing garbage in
2786 * policy.h, system.h, sysh.unx, send.c, rec.c, uuxqt.c, uux.c,
2787 unix/filnam.c, unix/init.c, unix/jobid.c, unix/splnam.c,
2788 unix/spool.c, unix/statsb.c, unix/tmpfil.c, unix/work.c,
2789 unix/xqtfil.c: Brian J. Murrell and Don Phillips: added
2792 Thu Aug 20 00:06:32 1992 Ian Lance Taylor (ian@airs.com)
2794 * sysh.unx: Chiaki Ishikawa: some systems define some but not all
2795 of the S_ file mode bits.
2797 * uuchk.c (ikshow_port): Chiaki Ishikawa: display lockname.
2799 Wed Aug 19 22:41:39 1992 Ian Lance Taylor (ian@airs.com)
2801 * log.c (ustats): Scott Blachowicz: avoid overflow when reporting
2804 * unix/lock.c (fsdo_lock): Chip Salzenberg: sometimes other
2805 programs create lock files that uucp can't write.
2807 * trans.h, system.h, trans.c (floop, fgot_data, usent_receive_ack,
2808 uwindow_acked), send.c (flocal_send_await_reply,
2809 flocal_send_fail), rec.c (fremote_send_fail_send,
2810 frec_file_send_confirm), prote.c, protf.c, protg.c, proti.c,
2811 prott.c, protz.c (calls to fgot_data), unix/recep.c,
2812 unix/MANIFEST, unix/Makefile.in: keep trace of whether we have
2813 already received a file, in case the other side never sees our
2814 ack. Added new SN8 rejection, meaning that the file has already
2817 Sat Aug 15 11:50:32 1992 Ian Lance Taylor (ian@airs.com)
2819 * uuconf/time.c (itadd_span): Don Lewis: fixed bug if later span
2820 overlapped two or more earlier spans.
2822 Thu Aug 13 00:19:50 1992 Ian Lance Taylor (ian@airs.com)
2824 * system.h, rec.c (fremote_send_file_init, fremote_send_reply),
2825 uucico.c (fdo_call, faccept_call), uucp.c (main), uux.c (main),
2826 unix/opensr.c (zsysdep_receive_temp, esysdep_open_receive):
2827 implemented file restart.
2829 Wed Aug 12 23:32:05 1992 Ian Lance Taylor (ian@airs.com)
2831 * proti.c (fiprocess_data): ensure that the first argument to
2832 fgot_data is always > 0 if the second argument is > 0.
2834 Mon Aug 10 22:43:40 1992 Ian Lance Taylor (ian@airs.com)
2836 * trans.c (floop, ustats_failed): handle half-duplex connections
2837 and failed calls correctly.
2839 Sun Aug 9 17:56:32 1992 Ian Lance Taylor (ian@airs.com)
2841 * proti.c (firesend, fisenddata, ficheck_errors): made several
2842 changes to improve performance on a lossy line: can now shrink
2843 packet size using SYNC packets, avoids multiple bad header errors
2844 in a sequence of INTRO characters, avoids letting one side lock up
2847 * configure.in: set HAVE_LONG_FILE_NAMES to 0 if
2850 * tstuu.c: changed -p option to be mod 1000, not mod 100.
2852 * MANIFEST, Makefile.in, prot.h, uucico.c, protz.c, trans.c: Doug
2853 Evans: added Doug Evans's zmodem implementation as protocol 'a'.
2855 Wed Aug 5 22:28:14 1992 Ian Lance Taylor (ian@airs.com)
2857 * policy.h, uuconf.h, uucico.c (fcall), uuconf/tsinfo.c,
2858 uuconf/hsinfo.c, uuconf/syssub.c: added "max-retries" command for
2859 systems, eliminated CMAXRETRIES configuration parameter, set
2860 max_retries to 0 for HDB if retry time given, (from Chris Lewis)
2861 call once a day even if max_retries has been exceeded.
2863 * prot.h, uucico.c (fdo_call, faccept_call), prott.c, prote.c,
2864 proti.c, protg.c, protf.c: added pzlog argument to pfstart
2865 protocol entry point, changed handshake successful message to
2868 Tue Aug 4 00:04:31 1992 Ian Lance Taylor (ian@airs.com)
2870 * prot.h, uucico.c, protg.c (fbiggstart, cGshort_packets): Chip
2871 Salzenberg: added support for 'G' protocol. Added "short-packets"
2872 protocol parameter for 'g' and 'G' protocols.
2874 * uuconf.h, rec.c (flocal_rec_file_init), uucp.c, uux.c, uuxqt.c,
2875 uuchk.c, uuconv.c, uuconf/local.c, uuconf/tsinfo.c,
2876 uuconf/syssub.c: support UUCP forwarding. Added "forward-from",
2877 "forward-to", and "forward" commands for systems.
2879 * unix/spawn.c: don't close the file descriptor after dupping it.
2881 Sun Aug 2 23:04:18 1992 Ian Lance Taylor (ian@airs.com)
2883 * trans.c (fremote_hangup_reply): don't hangup if a file transfer
2886 * send.c (flocal_send_cancelled): don't pass a NULL buffer to
2889 Sun Jul 26 13:28:27 1992 Ian Lance Taylor (ian@airs.com)
2891 * unix/work.c (fsysdep_get_work_init): return TRUE if there is no
2894 * configure.in, sysh.unx: don't run any programs in configure if
2895 we are cross-configuring; this applies to HAVE_FTIME and
2896 HAVE_RESTARTABLE_SYSCALLS. The code can cope with the buggy
2897 ftime. If we are cross-configuring, HAVE_RESTARTABLE_SYSCALLS is
2898 set to -1, and sysh.unx guesses that if the system has sigvec but
2899 not sigaction or SV_INTERRUPT it is on 4.2BSD and system calls are
2900 automatically restarted.
2902 * configure.in, conf.h.in, tstuu.c, unix/serial.c: removed
2903 COMBINED_UNBLOCK configuration parameter, and changed the code
2904 which sets O_NONBLOCK and O_NDELAY to drop back to using just
2905 O_NONBLOCK if it gets an EINVAL error.
2907 * configure.in, conf.h.in, uucp.h, protg.c (fgsenddata), cu.c
2908 (icutake), chat.c (icexpect), lib/MANIFEST: removed all calls to
2909 memmove, avoiding the SCO bug and making the 'g' protocol slightly
2912 Sat Jul 25 14:20:30 1992 Ian Lance Taylor (ian@airs.com)
2914 * uucp.h, uudefs.h, many other files: broke part of uucp.h out
2915 into uudefs.h, stopped including uuconf.h in uucp.h, fixed up .c
2916 files to include uudefs.h and uuconf.h as necessary.
2918 * uuconf/syshdr.unx, uuconf/callin.c, uuconf/diacod.c
2919 uuconf/hdial.c, uuconf/hdnams.c, uuconf/hport.c, uuconf/hsinfo.c,
2920 uuconf/hsnams.c uuconf/rdlocs.c, uuconf/tcalou.c, uuconf/tdial.c,
2921 uuconf/tdnams.c, uuconf/tport.c, uuconf/vport.c, uuconf/vsinfo.c,
2922 uuconf/vsnams.c: changed uuconf library to not return an error if
2923 a configuration file does not exist; it now acts as though
2924 whatever it is is not found.
2926 * tstuu.c (main): use perror if execl fails.
2928 * configure.in, conf.h.in, uucp.h, uuconf.h, sysh.unx, conn.h,
2929 MANIFEST, Makefile.in, tli.c, chat.c (ccescape), conn.c
2930 (fconn_init), tcp.c, uucico.c (faccept_call), uuconv.c, uuchk.c,
2931 lib/MANIFEST, lib/Makefile.in, lib/escape.c, unix/cusub.c,
2932 unix/serial.c, uuconf/hport.c, uuconf/tportc.c: added support for
2933 TLI connections. Moved ccescape from chat.c to cescape in
2934 lib/escape.c. Made all connections on Unix use the same
2935 system dependent structure.
2937 Tue Jul 21 22:08:10 1992 Ian Lance Taylor (ian@airs.com)
2939 * uucp.h, trans.h, uucico.c (fdo_call, faccept_call), uuxqt.c
2940 (uqdo_xqt_file), uucp.c (main), uux.c (main), uustat.c
2941 (fsworkfile_show), parse.c (fparse_cmd), trans.c (fqueue,
2942 fgot_data, ftadd_cmd), send.c, rec.c, xcmd.c, protf.c
2943 (ffprocess_data), proti.c (fiprocess_data), tstuu.c
2944 (uprepare_tests), unix/splcmd.c (zsysdep_spool_commands),
2945 unix/statsb.c (fskill_or_rejuv), unix/work.c (fsysdep_get_work):
2946 added E request to send file executions which only require reading
2947 from standard input.
2949 Sat Jul 18 20:22:50 1992 Ian Lance Taylor (ian@airs.com)
2951 * proti.c, Makefile.in, MANIFEST, prot.h, system.h, trans.h,
2952 uucico.c, prote.c, protf.c, protg.c, prott.c, trans.c, send.c,
2953 rec.c, xcmd.c, unix/opensr.c: added 'i' protocol. Added local and
2954 remote channel arguments to protocol sendcmd and senddata entry
2955 points. Cleaned up send and receive state machines. Removed
2956 pfgone argument from esysdep_open_send.
2958 Fri Jul 17 09:41:05 1992 Ian Lance Taylor (ian@airs.com)
2960 * uuxqt.c (uqdo_xqt_file): only report base name of execution
2961 file, not full name.
2963 Thu Jul 16 00:45:06 1992 Ian Lance Taylor (ian@airs.com)
2965 * lib/crc.c: unroll the loop a bit.
2967 * configure.in, conf.h.in, unix/init.c: updated to autoconf 0.120.
2969 Wed Jul 15 14:45:32 1992 Ian Lance Taylor (ian@airs.com)
2971 * uuconf.h, uuconv.c, uuconf/uucnfi.h, uuconf/reliab.c,
2972 uuconf/tportc.c, uuconf/tdialc.c, uuconf/diasub.c, uuconf/hport.c,
2973 uuconf/prtsub.c, uuconf/vsinfo.c: added UUCONF_RELIABLE_FULLDUPLEX
2974 and "half-duplex" command for ports and dialers.
2976 Mon Jul 13 16:53:04 1992 Ian Lance Taylor (ian@airs.com)
2978 * prot.h, lib/crc.c, lib/Makefile.in, lib/MANIFEST: added icrc
2979 function to compute 32 bit CRC (from Gary S. Brown, via Doug
2982 Sun Jul 12 21:40:15 1992 Ian Lance Taylor (ian@airs.com)
2984 * uuconv.c (uvwrite_time): Chris Lewis: don't output two commas in
2987 * uuconv.c (uvwrite_taylor_system, uvwrite_taylor_port): Chris
2988 Lewis: generate command "protocol", not "protocols".
2990 Sat Jul 11 17:09:09 1992 Ian Lance Taylor (ian@airs.com)
2992 * xcmd.c (fremote_xcmd_init): Chris Lewis: use qdaemon->puuconf,
2993 since puuconf is not defined.
2995 * uuconf/syshdr.unx, uuconf/hinit.c (uuconf_hdb_init): Chris
2996 Lewis: added HDB_SEPARATOR to insert between oldconfiglib and
2997 strings in HDB Sysfiles.
2999 * uuconf/syshdr.unx: Chris Lewis: define strerror as a macro.
3001 * uuconf/freblk.c, uuconf/free.c: Chris Lewis: don't define as
3002 void when ! UUCONF_ANSI_C.
3004 Thu Jul 9 09:17:55 1992 Ian Lance Taylor (ian@airs.com)
3006 * prot.h, uucico.c (fdo_call, faccept_call), prote.c (festart),
3007 protf.c (ffstart), protg.c (fgstart), prott.c (ftstart): no need
3008 to pass fmaster as a separate argument to protocol start routine.
3010 * protf.c (ffawait_ack, ffawait_cksum): don't try to resend if we
3013 Wed Jul 8 14:28:23 1992 Ian Lance Taylor (ian@airs.com)
3015 * unix/srmdir.c (fsysdep_rmdir), unix/walk.c (usysdep_walk_tree):
3016 cast to char * to avoid warning.
3018 * cu.c (main): don't compare boolean to NULL.
3020 * unix/serial.c (isblocksigs), unix/signal.c (usset_signal): use
3021 extra parens to avoid bug in SCO 3.2.2 sys/signal.h header file.
3023 * sysh.unx: always define struct ssysdep_tcp, for the benefit of
3024 systems for which HAVE_TCP is 0.
3026 * MANIFEST, Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
3027 lib/Makefile.in: updated automatic distribution code for multiple
3030 * unix/cusub.c, unix/serial.c: don't clobber CR when using TERMIO
3031 or TERMIOS, and default MIN to 1 to the convenience of cu.
3033 * Makefile.in, uucp.h, system.h, prot.h, trans.h, uucico.c,
3034 trans.c, send.c, rec.c, xcmd.c, prot.c, protg.c, protf.c, prote.c,
3035 prott.c, log.c, file.c, unix/opensr.c, unix/work.c: rewrote file
3036 transfer internals to support bidirectional transfers. Keep queue
3037 of jobs to do, and support connections. Added new files trans.h,
3038 trans.c, send.c, rec.c, xcmd.c, and removed old file file.c.
3040 Mon Jun 29 15:14:15 1992 Ian Lance Taylor (ian@airs.com)
3042 * Makefile.in: Stephen J. Walick: copy uustat.1 to
3043 uustat.$(manext), not uucp.($manext). Also try to create
3046 * chat.c (fcsend, fcprogram): check for NULL return from
3049 Thu Jun 18 22:37:28 1992 Ian Lance Taylor (ian@airs.com)
3051 * configure.in, Makefile.in: updated to autoconf 0.118.
3053 Wed Jun 17 14:22:11 1992 Ian Lance Taylor (ian@airs.com)
3055 * unix/serial.c (fsserial_init): add /dev if necessary to device
3056 as well as to port name.
3058 * cu.c (main): set zdevice to NULL when faking line.
3060 * cu.c (main), uucp.c (main), uux.c (main), uuxqt.c (main): don't
3061 call zsysdep_localname until we've called usysdep_initialize.
3063 Tue Jun 16 17:42:50 1992 Ian Lance Taylor (ian@airs.com)
3065 * unix/signal.c (usset_signal): set SA_INTERRUPT to force system
3066 calls to be interrupted on SunOS.
3068 Mon Jun 15 15:10:24 1992 Ian Lance Taylor (ian@airs.com)
3070 * everything: integrated uuconf library. Split out lib and unix
3071 libraries. Made many changes, including defaults for port and
3072 dialer files, better handling of changed local name, better
3073 handling of HDB Permissions, new zbufalc routines to manage
3074 strings on the heap. Incorporated uuconv.
3076 Wed Jun 10 23:51:03 1992 Ian Lance Taylor (ian@airs.com)
3078 * uuconf.h, uuconf/Makefile.in, uuconf/locnm.c, uuconf/llocnm.c,
3079 uuconf/hlocnm.c, uuconf/tlocnm.c: renamed uuconf_localname to
3080 uuconf_login_localname and added new uuconf_localname which
3081 doesn't need to read system information.
3083 Tue Jun 9 14:19:20 1992 Ian Lance Taylor (ian@airs.com)
3085 * uuconf.h, uuconf/Makefile.in, uuconf/local.c: wrote
3086 uuconf_system_local.
3088 Mon Jun 8 14:14:30 1992 Ian Lance Taylor (ian@airs.com)
3090 * policy.h: changed description of LOCKDIR, which now need not
3093 * uuconf.h, uuconf/uucnfi.h, uuconf/lckdir.c, uuconf/iniglb.c,
3094 uuconf/tinit.c, uuconf/Makefile.in: added uuconf_lockdir, and
3095 ``lockdir'' command to config.
3097 Sat Jun 6 22:07:58 1992 Ian Lance Taylor (ian@airs.com)
3099 * configure.in: updated to autoconf 0.115, added code to set
3102 * uuconf/Makefile.in, uuconf/uucnfi.h: removed references to
3103 routines now in lib/, changed to include regular UUCP header
3106 Fri Jun 5 15:31:29 1992 Ian Lance Taylor (ian@airs.com)
3108 * uuconf.h, uuconf/uucnfi.h, uuconf/syssub.c, uuconf/uuconv.c:
3109 always set zpubdir for every system, changed uuconf_zpubdir to
3112 Wed Jun 3 15:15:32 1992 Ian Lance Taylor (ian@airs.com)
3114 * uuconf.h, uuconf/Makefile.in, uuconf/deblev.c, uuconf/maxuxq.c,
3115 uuconf/pubdir.c, uuconf/spool.c: wrote uuconf_debuglevel,
3116 uuconf_maxuuxqts, uuconf_pubdir, uuconf_spooldir.
3118 * configure.in: updated to autoconf 0.114.
3120 * uuconf/tportc.c: default TCP ports to being fully reliable.
3122 Mon Jun 1 17:03:22 1992 Ian Lance Taylor (ian@airs.com)
3124 * uuconf.h, uuconf/prtsub.c: removed uuconf_psysdep from
3127 Sun May 31 00:07:40 1992 Ian Lance Taylor (ian@airs.com)
3129 * uuconf.h, uuconf/Makefile.in, uuconf/diacod.c: wrote
3132 * uuconf.h, uuconf/Makefile.in, uuconf/logfil.c, uuconf/debfil.c,
3133 uuconf/stafil.c: wrote uuconf_logfile, uuconf_debugfile,
3136 * uuconf.h, uuconf/Makefile.in, uuconf/callin.c: wrote
3139 * uuconf/chatc.c, uuconf/time.c: Jean Mehat: only call tolower if
3142 * uuconf.h, uuconf/Makefile.in, uuconf/val.c, uuconf/tval.c: wrote
3143 uuconf_validate, uuconf_taylor_validate.
3145 Sat May 30 12:37:02 1992 Ian Lance Taylor (ian@airs.com)
3147 * system.h, sys1.unx: changed zsysdep_local_name to
3148 zsysdep_localname, and made it fatal out rather than return NULL.
3150 * uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
3151 uuconf/rdlocs.c, uuconf/locnm.c, uuconf/tlocnm.c, uuconf/hlocnm.c:
3152 wrote uuconf_localname, uuconf_taylor_localname,
3153 uuconf_hdb_localname.
3155 * uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
3156 uuconf/tinit.c, uuconf/tsinfo.c, uuconf/hunk.c, uuconf/unk.c:
3157 wrote uuconf_system_unknown, uuconf_hdb_system_unknown,
3158 uuconf_taylor_system_unknown.
3160 * log.c, time.c: always include <sys/types.h> in uucp.h.
3162 * configure.in, conf.h.in: check for size_t, renamed checks for
3165 * configure.in, conf.h.in: check for <stddef.h>.
3167 Fri May 29 00:03:05 1992 Ian Lance Taylor (ian@airs.com)
3169 * sysinf.c (ztranslate_system): Jac Kersing: must xstrdup the
3170 argument, since it points to a buffer that will be reused.
3172 Thu May 28 12:42:20 1992 Ian Lance Taylor (ian@airs.com)
3174 * sys3.unx (zsysdep_real_file_name): Ted Lindgreen: check return
3175 value of zstilde_expand.
3177 * copy.c, sys1.unx (usysdep_detach), sys2.unx (fsserial_close),
3178 sys3.unx, sys5.unx, sys7.unx: opening /dev/tty in usysdep_detach
3179 confuses the NeXT, so instead we just call TIOCNOTTY on 0. In
3180 fsserial_close we call TIOCNOTTY on the port before closing it, to
3181 make sure that we have ditched it under BSD. Also added O_NOCTTY
3182 to every open call other than opening a port, although there are
3183 still several fopen calls which should probably have it somehow.
3185 * system.h, uucico.c (fcall), uustat.c (fsquery_system,
3186 fsquery_show), sys3.unx (fsysdep_get_status), sys7.unx
3187 (zsysdep_all_status): Bob Izenberg: changed output of uustat -q to
3188 count number of commands rather than number of files being
3189 transferred, and to not report a non-existent status. Added
3190 pfnone argument to fsysdep_get_status, and changed all calls.
3192 * uucico.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, sys6.unx,
3193 sys7.unx: Rolf Nerstheimer: cast a bunch of arguments to open,
3194 creat, stat and chmod to avoid compiler warnings.
3196 * uucp.h, log.c (ulog), port.c (fport_close), prot.c (fgetcmd):
3197 Chip Salzenberg: don't log a SIGHUP signal while we're closing
3198 down the connection, since the other side might hang up faster
3199 than we do (we still react to it correctly, we just don't put it
3202 * sys1.unx (usysdep_detach), tcp.c (ftcp_open): Petri Helenius:
3203 update the process ID we log after a fork.
3205 * Makefile.in, sys1.unx: Chip Salzenberg: changed LIBDIR to
3208 * uucp.c (main, uccopy): Andreas Vogel: check local-receive of the
3209 correct system, rather than always using sLocalsys.
3211 * configure.in, conf.h.in, sys2.unx, tstuu.c: Rob Janssen: look
3212 for <sys/select.h>, and include it if it exists and we are using
3215 * protg.c: Rob Janssen: rearrange macros to avoid bug in XENIX
3218 * configure.in: Scott Blachowicz: check WIFEXITED before assuming
3219 HAVE_UNION_WAIT, to avoid problems on HP/UX.
3221 * configure.in, conf.h.in, sysh.unx, sys1.unx: John Theus: use
3222 sv_onstack instead of sv_flags in the sigvec structure on 4.2BSD.
3224 Wed May 27 23:23:39 1992 Ian Lance Taylor (ian@airs.com)
3226 * policy.h, sys2.unx (fsysdep_modem_no_carrier): Scott Reynolds:
3227 added HAVE_CLOCAL_BUG compilation parameter to work around
3228 problems on some serial ports.
3230 Tue May 26 15:50:17 1992 Ian Lance Taylor (ian@airs.com)
3232 * uustat.c, uustat.1: added a bunch of options to support uuclean:
3233 -e, -i, -K, -M, -N, -W, -Q.
3235 * system.h, sys7.unx (fsysdep_privileged, fskill_or_rejuv): added
3236 fsysdep_privileged function.
3238 Thu May 21 13:30:21 1992 Ian Lance Taylor (ian@airs.com)
3240 * uuxqt.c (uqdo_xqt_file): processing of execution file has to be
3241 case significant; this will change handling of "n" flag, which was
3242 not correctly handled before.
3244 Wed May 20 14:22:12 1992 Ian Lance Taylor (ian@airs.com)
3246 * sys1.unx (usysdep_detach): close the statistics file when
3249 * policy.h, sys3.unx (fsdo_lock, fsdo_unlock), sys7.unx
3250 (fsysdep_lock_status): force LOCKDIR to always be defined.
3252 * uucp.h: put in an extern for alloca.
3254 * sysh.unx, sys1.unx, sys5.unx, sys6.unx: defined all the ?_OK
3255 macros in sysh.unx, which means that <unistd.h> must be included
3256 before "sysdep.h" when they are both included.
3258 * sys2.unx (fsserial_set): corrected case in termio switch
3261 * chat.c (fcsend): simplified expression for old compilers.
3263 * sys1.unx (rmdir): wrote rmdir replacement which invokes
3264 /bin/rmdir for old systems.
3266 * configure.in, conf.h.in, Makefile.in: updated for autoconf
3267 0.112, added checks for ftw, ftw.h, and rmdir.
3269 * sys1.unx: added extern for ctime, removed externs for functions
3270 returning int, protected externs with ifndefs.
3272 * uucp.h, prot.h, system.h, uucico.c (fuucp), uuxqt.c
3273 (uqdo_xqt_file), prot.c (freceive_file), file.c (freceived_file),
3274 sys3.unx (fsysdep_move_file, fsysdep_change_mode), sys4.unx
3275 (zsysdep_save_temp_file): changed fsysdep_move_file to not set the
3276 file mode, and added fsysdep_change_mode to do it instead.
3278 * system.h, uucp.c (main, ucdirfile, uccopy), sys6.unx
3279 (usysdep_walk_tree, isdir, ftw, do_ftw): added -R option to uucp
3280 to recursively copy directories.
3282 Tue May 19 18:29:32 1992 Ian Lance Taylor (ian@airs.com)
3284 * sys3.unx: changed zsysdep_in_dir to always append the filename
3285 to the directory, even if the directory did not already exist.
3287 * sysh.unx, sys1.unx, sys3.unx, sys4.unx, sys5.unx: renamed
3288 fsdirectory_exists to fsysdep_directory.
3290 Mon May 18 14:49:35 1992 Ian Lance Taylor (ian@airs.com)
3292 * system.h, uucp.c (main), sys6.unx (zsysdep_uuto): added -t
3293 option to uucp to emulate uuto, wrote zsysdep_uuto to do Unix
3294 dependent destination translation for uuto, added -p option to
3295 uucp as synonym for -C for uuto compatibility.
3297 Sun May 17 22:04:09 1992 Ian Lance Taylor (ian@airs.com)
3299 * protg.c (fgexchange_init): permit a second INITB to override the
3300 segment size given in the first INITB.
3302 Tue May 5 16:03:22 1992 Ian Lance Taylor (ian@airs.com)
3304 * uucico.c (main, fdo_call), uucico.8: Chip Salzenberg: added -c
3305 option to uucico to not warn if invoked when the system may not be
3308 Tue Apr 28 15:05:01 1992 Ian Lance Taylor (ian@airs.com)
3310 * sysh.unx, sys2.unx (fsserial_open, fsblock): preserve file
3313 * protg.c (fgwait_for_packet): Heiko Rupp: only send RJ packet if
3314 there are no unacknowledged packets.
3316 Mon Apr 27 18:56:42 1992 Ian Lance Taylor (ian@airs.com)
3318 * system.h: added several routines for cu.
3320 * cu.c, cu.h, sys8.unx: checked into RCS.
3322 * uux.c (main): Jose Manas: dumb bug when checking against
3325 Fri Apr 24 20:32:06 1992 Ian Lance Taylor (ian@airs.com)
3327 * sys1.unx: changed HAVE_LONG_NAMES to HAVE_LONG_FILENAMES for new
3328 version of autoconf.
3330 * sys7.unx: check UTIME_NULL_MISSING with #if rather than #ifdef.
3332 * sys3.unx: check FS_* macros with #if rather than #ifdef.
3334 * uucp.h, sysh.unx: changed standard type definitions for new
3335 version of autoconf.
3337 * sysh.unx, sys1.unx, sys2.unx, tstuu.c: changed SIGtype to
3338 RETSIGTYPE for new version of autoconf.
3340 * sys1.unx, tstuu.c: make include of <sys/times.h> optional.
3342 * sys2.unx: get the right versions of major and minor.
3344 Wed Apr 22 11:19:11 1992 Ian Lance Taylor (ian@airs.com)
3346 * protg.c (fgsenddata, fggot_ack): Michael Haberler: the slow
3347 start after error code was essentially shrinking the window size.
3349 * sysh.unx, system.h, sys1.unx (usysdep_initialize), uuchk.c,
3350 uucico.c, uucp.c, uulog.c, uuname.c, uustat.c, uux.c, uuxqt.c:
3351 changed usysdep_initialize to take a single argument with bit
3352 flags, added INIT_NOCHDIR as one of the flags.
3354 * uucp.h, log.c (ulog): added pfLstart and pfLend functions for
3355 ulog, so that cu can use them to restore the terminal settings.
3357 * bnu.c (ubnu_read_systems, fbnu_read_dialer_info), v2.c
3358 (uv2_read_systems): Michael Richardson: don't core dump if no chat
3361 Tue Apr 21 00:19:47 1992 Ian Lance Taylor (ian@airs.com)
3363 * uucico.c (faccept_call): Chris Lewis: a successful call in
3364 should clear the number of retries.
3366 * sys2.unx (fsserial_set): set LLITOUT if going to CBREAK mode.
3368 * port.h, prote.c (festart), protf.c (ffstart), protg.c (fgstart),
3369 prott.c (ftstart), port.c (fport_set), sys2.unx
3370 (fsysdep_stdin_set, fsysdep_modem_set, fsysdep_direct_set,
3371 fsserial_set): gave fport_set independent control over output
3372 parity generation, input parity checking, and XON/XOFF
3373 handshaking, all to support cu.
3375 Mon Apr 20 11:47:23 1992 Ian Lance Taylor (ian@airs.com)
3377 * port.h, uucico.c (fdo_call), port.c (fport_dial, fmodem_dial),
3378 tcp.c (ftcp_dial): added separate zphone argument to fport_dial to
3381 Thu Apr 16 01:15:42 1992 Ian Lance Taylor (ian@airs.com)
3383 * bnu.c (ubadd_perm, ubadd_perm_alternate): Chris Lewis: handle a
3384 combination of Permissions entries which specify just LOGNAME with
3385 entries that specify both MACHINE and LOGNAME.
3387 Wed Apr 15 16:11:48 1992 Ian Lance Taylor (ian@airs.com)
3389 * sys1.unx (usysdep_initialize, zsysdep_login_name): John Theus:
3390 don't die if can't get login name, unless it's really needed.
3392 Tue Apr 14 12:39:18 1992 Ian Lance Taylor (ian@airs.com)
3394 * uucico.c (main, fcall): Petri Helenius: must relock system after
3395 detaching from terminal when trying different alternates.
3397 * system.h, uucico.c (fuucp), uustat.c (fsworkfiles_system,
3398 fsquery_system), sys4.unx (fsysdep_get_work_init,
3399 fsysdep_get_work): Marty Shannon: uustat would remove empty
3402 * bnu.c (ubadd_perm_alternate): John Harkin: permit ALIAS in
3405 * Makefile.in: John Harkin: add sys?.c dependencies to sys?.o to
3406 work around old makes which don't handle transitive .SUFFIXES.
3408 * sys2.unx: cast some function calls to void.
3410 * time.c (qttime_parse): cast to void warning.
3412 * sys1.unx (iswait): cast waitpid argument to avoid warning.
3414 * configure.in, policy.h, uucp.h, sys7.unx, tstuu.c: Zacharias
3415 Beckman: minor touchups for NeXT.
3417 * sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd), uux.c
3418 (main): Jarmo Raiha: heuristic for whether to get the current
3421 * sys1.unx: pass argument to uudir, cast sigemptyset calls to
3424 * uucp.texi: Harlan Stenn: correct case of references.
3426 Tue Apr 7 01:02:17 1992 Ian Lance Taylor (ian@airs.com)
3428 * Released version 1.03.
3430 Mon Apr 6 15:49:08 1992 Ian Lance Taylor (ian@airs.com)
3432 * uucico.c (faccept_call): Marc Boucher: set *pqsys to NULL.
3434 * bnu.c (ubnu_read_systems, fbnu_find_port): Erik Forsberg:
3435 support multiple character modem classes.
3437 Fri Apr 3 00:37:25 1992 Ian Lance Taylor (ian@airs.com)
3439 * sys2.unx: Petri Helenius: only clear known bits in termio or
3440 termios structure; didn't change HAVE_BSD_TTY handling--maybe next
3443 * configure.in: test TIMES_DECLARATION_OK correctly.
3445 * Makefile.in: update version to 1.03, remove distclean, add
3446 mostlyclean per GNU standards.
3448 * sys1.unx, chat.c: minor cleanups for gcc 2.1.
3450 Thu Apr 2 17:51:36 1992 Ian Lance Taylor (ian@airs.com)
3452 * tstuu.c: conditionally declare times.
3454 * uucp.h, prot.c, sysinf.c, prtinf.c: added gcc 2.0 format
3455 checking to ulog, and fixed a few problems it discovered.
3457 Wed Apr 1 16:21:08 1992 Ian Lance Taylor (ian@airs.com)
3459 * sys3.unx (esysdep_open_receive): David J. MacKenzie: some
3460 USG_STATFS systems use 512 as the block size of f_bfree, despite
3461 the existence of f_bsize.
3463 * port.c (fport_open): initialize stdin port.
3465 * policy.h, log.c: added CLOSE_LOGFILES configuration parameter.
3467 * sys2.unx: T. William Wells: handle a system without <poll.h> or
3470 * configure.in: Franc,ois Pinard: warn if none of napms, nap,
3471 usleep, poll or select are available, since \p will sleep for a
3474 * Makefile.in: Gerben Wierda: fixed uninstall to set file owner
3475 and mode correctly. Also changed install to handle uucp.info-4
3478 * MANIFEST: added uucp.info-4 and uustat.1.
3482 * uucico.8, uuxqt.8, uucp.1, uux.1: updated -x switch, cleaned up
3485 Tue Mar 31 14:40:06 1992 Ian Lance Taylor (ian@airs.com)
3487 * sys1.unx (usysdep_initialize): use $PWD to get the current
3488 working directory if it's defined and correct.
3490 * sys1.unx (usysdep_initialize): Brian Antoine: use name from
3491 getpwname rather than getlogin.
3493 * uucp.texi: David J. MacKenzie: put in a number of corrections.
3494 Also split sys file and config file nodes, and rearranged several
3497 * protg.c (fgsenddata): Niels Baggesen: packet to retransmit did
3498 not get reset correctly.
3500 Mon Mar 30 10:03:28 1992 Ian Lance Taylor (ian@airs.com)
3502 * tcp.c (ftcp_reset): Petri Helenius: TCP server never started
3503 uuxqt, because it exited in ftcp_reset.
3505 * policy.h, sysh.unx, sys2.unx (fsserial_lockfile): added
3506 HAVE_SVR4_LOCKFILES configuration parameter.
3508 * sys3.unx (esysdep_open_receive): Niels Baggesen: USG statfs has
3511 Sun Mar 29 23:04:20 1992 Ian Lance Taylor (ian@airs.com)
3513 * uucp.h, sysinf.c, prot.c, prote.c, protf.c, protg.c, prott.c:
3514 Niels Baggesen: added new debugging types abnormal and uucp-proto.
3516 * uucico.c (fuucp), prot.c (freceive_file), file.c
3517 (fstore_recfile): Dirk Musstopf: if a file receive fails before it
3518 starts, perhaps because the file was too large, remember to remove
3521 * sys2.unx (fsserial_lock, fsserial_open, fsserial_write,
3522 fsserial_io): always block and unblock the read and write
3523 descriptors together.
3525 Sat Mar 28 14:40:50 1992 Ian Lance Taylor (ian@airs.com)
3527 * uustat.c: allow multiple systems and users to be specified at
3528 once; likewise for kills and rejuvenates. Allow old and young to
3529 be combined with systems and users. As suggested by Niels
3530 Baggesen, make machine status output more columnar.
3532 * uucp.h, uucico.c, config.c, sys3.unx: Michael I Bushnell:
3533 renamed enum tstatus to tstatus_type to avoid conflict with
3534 <sys/ioctl.h> on some systems.
3536 * config.c, sysinf.c, prtinf.c, chat.c: David J. MacKenzie: allow
3537 backslash newline quoting in all TAYLOR_CONFIG configuration
3540 * chat.c (fchat): David J. MacKenzie: handle empty subexpect
3543 * uucico.c (main, fcall): Petri Helenius: must dump controlling
3544 terminal before going to next alternate. Also fixed David J.
3545 MacKenzie bug in which a signal did not prevent the next
3546 alternates from being tried. Also made sure qtime was always
3549 * uucp.h, uucico.c (fdo_call), sysinf.c (tialternate), uuchk.c
3550 (ukshow): Franc,ois Pinard: allow a name to be given to an
3551 alternate, and display the name when placing a call.
3553 * chat.c (fcprogram), port.c (fport_open, fport_close): David J.
3554 MacKenzie: send port device rather than port name to a chat
3555 program using \Y; make sure port device is reset if port open
3556 fails and when port is closed.
3558 * uucico.c (fuucp), log.c (ulog, ustats, ustats_close): close log
3559 and statistics file every time master and slave switch roles.
3561 Fri Mar 27 00:31:23 1992 Ian Lance Taylor (ian@airs.com)
3563 * uucico.c (fdo_call): Mark Mallett: minor cleanup.
3565 * uuname.c (main): Franc,ois Pinard: output aliases, added -a
3568 * uucico.8, uuxqt.8, uux.1, uucp.1: David J. MacKenzie: changed
3569 .TP5 to .TP 5; also updated to 1.03.
3571 * tstuu.c: Roberto Biancardi: if SIGCHLD is not defined, define it
3574 * config.c: David J. MacKenzie: cMaxuuxqts is independent of
3577 * uucp.h: Gerben Wierda: don't always declare bzero.
3579 * sys7.unx (ussettime, fsysdep_lock_status): Niels Baggesen,
3580 Gerben Wierda: minor patches.
3582 * sys2.unx: Gerben Wierda: minor cleanups.
3584 * uucp.h: Niels Baggesen: simplified debugging message macros to
3585 avoid broken compilers.
3587 * sys2.unx: don't use TIOCEXCL locking.
3589 * sys2.unx: rework HAVE_UNBLOCKED_WRITES == 0 to work even if
3590 writes are unblocked. Correct initialization of fwrite_blocking.
3592 * Makefile.in, configure.in: David J. MacKenzie: various cleanups.
3593 Changed default newconfigdir definition. Supported compilation in
3594 a different directory. Used symbolic links if available. Changed
3595 default infodir definition per Franc,ois Pinard.
3597 * policy.h: David J. MacKenzie: various cleanups.
3599 Thu Mar 26 12:17:41 1992 Ian Lance Taylor (ian@airs.com)
3601 * sys3.unx: reduced race condition in fsdo_lock.
3603 * sys1.unx: Gerben Wierda: various cleanups. Also don't set
3604 sa_flags to SV_INTERRUPT per Chip Salzenberg.
3606 Wed Mar 25 22:20:24 1992 Ian Lance Taylor (ian@airs.com)
3608 * configure.in: Overhauled for readability and functionality as
3609 suggested by T. William Wells and others. Added bug checks,
3610 including for SCO memmove and ftime.
3612 Tue Mar 24 12:18:56 1992 Ian Lance Taylor (ian@airs.com)
3614 * sysinf.c (uiread_systems): fixed handling of alternates in
3617 Wed Mar 18 01:01:25 1992 Ian Lance Taylor (ian@airs.com)
3619 * config.c (tprocess_one_cmd): handle CMDTABTYPE_FULLSTRING
3620 correctly if there are no arguments.
3622 * Released beta version 1.03
3624 * sys1.unx (usysdep_detach): open the controlling terminal in non
3625 delay mode since it might be a modem.
3627 Tue Mar 17 00:01:53 1992 Ian Lance Taylor (ian@airs.com)
3629 * uucico.c (fdo_call, faccept_call): T. William Wells: set current
3630 time in status file when call completes.
3632 * sys1.unx (iswait), sys2.unx (fsserial_read, fsserial_write,
3633 fsserial_io): log signals when they occur, even if we continue
3634 some sort of loop, rather than waiting for the next ulog call.
3636 * sys2.unx (fsserial_lock, fsserial_open): don't block when
3637 opening the write descriptor.
3639 Mon Mar 16 00:14:43 1992 Ian Lance Taylor (ian@airs.com)
3641 * system.h, uuxqt.c (uqdo_xqt_file), sys5.unx (fsysdep_execute):
3642 pass command to fsysdep_execute as first element of argument
3645 * tcp.c: declare _exit.
3647 * uucp.h: move definition of const before use for non ANSI C.
3649 * uucp.h, sys1.unx: undefine remove in uucp.h if the system does
3650 not have it to avoid conflict with macro definitions.
3652 * uucico.c, uuxqt.c, protf.c, prott.c, prote.c, config.c, chat.c,
3653 port.c, sys2.unx: miscellaneous cleanups.
3655 * tcp.c (ftcp_open): cast argument to bzero.
3657 * time.c (qtimegrade_parse): cast argument to qttime_parse to
3660 * file.c: changed iRecmode to unsigned int.
3662 * configure.in, uucp.h: on SCO 3.2.2 sig_atomic_t is defined in
3663 <sys/types.h> but not <signal.h>.
3665 * sys1.unx: undefined remove before the function definition to
3666 avoid trouble on systems for which it is a macro.
3668 * Makefile.in: removed dependencies of getopt.o.
3670 * sys1.unx, sys7.unx, tstuu.c: adjusted external declarations.
3672 * getopt.h, getopt.c: get new versions from glibc 1.01.
3674 * sys1.unx: don't declare sigemptyset.
3676 * version.c: updated to beta 1.03.
3678 * chat.c (fcsend): Scott Ballantyne: go ahead and send a character
3679 for an illegal escape sequence rather than failing out.
3681 * uuxqt.c (uqdo_xqt_file), sys5.unx (zsysdep_find_command): cast
3684 * protg.c (fgprocess_data): Niels Baggesen: improved debugging
3685 information. Also tweaked fgprocess_data code to use memchr to
3686 find the next DLE rather than searching for it by hand.
3688 * uucico.c (faccept_call, fuucp): accept SVR4 -U flag giving
3689 maximum file transfer size; accept and ignore SVR4 -R flag meaning
3690 that the system supports file restart.
3692 Sun Mar 15 00:21:56 1992 Ian Lance Taylor (ian@airs.com)
3694 * sysinf.c (titime, titimegrade): permit a retry time to be
3695 specified as an optional additional argument.
3697 * uucico.c (zget_uucp_cmd, zget_typed_line): turn off DEBUG_PORT
3698 when doing DEBUG_HANDSHAKE.
3700 * policy.h, sysh.unx, sys1.unx, sys2.unx (fsblock_writes,
3701 fsserial_write, fsserial_io): added configuration parameters
3702 HAVE_UNBLOCKED_WRITES and SINGLE_WRITE. Also blocked signals
3703 while clearing afSignal in fsysdep_modem_close.
3705 * chat.c (icexpect, fcsend): turn off DEBUG_PORT while doing chat
3708 * sysh.unx, sys2.unx (fsserial_lock, fsserial_open,
3709 fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
3710 fsysdep_tcp_io): T. William Wells: some systems don't support
3711 unblocked writes, so don't use them.
3713 * port.c (fport_read, fport_write): show calls to fport_read and
3714 fport_write under DEBUG_PORT.
3716 * bnu.c (fbnu_find_port): Scott Ballantyne: accept "Any" as a
3719 Sat Mar 14 20:52:11 1992 Ian Lance Taylor (ian@airs.com)
3721 * uucp.h, system.h, sysh.unx, uucico.c (main, zget_typed_line),
3722 uuxqt.c (main), uucp.c (main), uux.c (main, uxcopy_stdin), tcp.c
3723 (ftcp_open), log.c (ulog, ulog_close), sys1.unx (ussignal),
3724 sys2.unx (fsserial_close, fsysdep_modem_end_dial, fsserial_read,
3725 fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
3726 fsysdep_tcp_io): T. William Wells and Chip Salzenberg: keep an
3727 array of signals so that a new signal doesn't obliterate our
3728 knowledge of an old signal. Johan Vromans: if we get SIGINT
3729 continue the current session but don't start any new ones.
3731 * sysh.unx, sys1.unx (isspawn, espopen, iswait, fsysdep_mail,
3732 fsysdep_run, getcwd, mkdir), sys2.unx (fsrun_chat), sys3.unx
3733 (fsysdep_wildcard_start), sys5.unx (fsysdep_execute), sys7.unx
3734 (fsysdep_lock_status), uuxqt.c (uqdo_xqt_file), tcp.c (ftcp_open),
3735 tstuu.c (uchild): added function isspawn, espopen and iswait and
3736 channeled all execs of new processes and waits through them.
3738 Fri Mar 13 18:00:04 1992 Ian Lance Taylor (ian@airs.com)
3740 * sysinf.c (uset_system_defaults): Chip Salzenberg: changed
3741 default login script timeout to 10 seconds.
3743 * prot.h, prot.c (freceive_data, breceive_char), protg.c, protf.c,
3744 prott.c, prote.c: changed breceive_char to go through
3745 freceive_data rather than calling fport_read directly. Added an
3746 freport argument to freceive_data, and change all old calls to
3747 pass it in as FALSE.
3749 Thu Mar 12 14:49:59 1992 Ian Lance Taylor (ian@airs.com)
3751 * uucp.h: added a padding byte to scmd structure, since at least
3752 one compiler needs it.
3754 * uucp.c (main): use fake local name (from ``myname'' command)
3755 when generating an execution request intended for the local
3758 * sysh.unx: corrected readdir prototype.
3760 * sys2.unx: moved local header files ahead of sleep routine
3763 * General overhaul to change debugging system. Debugging is now
3764 done by type rather than by number. iDebug is now interpreted as
3765 a bit sequence. DEBUG may only be 0 (no checks or debugging), 1
3766 (checks, no debugging) or 2 (checks and debugging). The debugging
3767 names are parsed by idebug_parse and tidebug_parse in config.c.
3768 The debugging types are additive. Many source files changed.
3769 Inspired by Michael Richardson, Johan Vromans and Peter da Silva.
3771 Wed Mar 11 12:01:03 1992 Ian Lance Taylor (ian@airs.com)
3773 * policy.h, uuxqt.c (uqdo_xqt_file): Chip Salzenberg: support
3774 Internet mail addresses in uuxqt replies (added configuration
3775 parameter HAVE_INTERNET_MAIL to control this).
3777 * sys7.unx (fskill_or_rejuv): permit uucp user to delete any job.
3779 * uucp.h, system.h, sysh.unx, config.c, uuxqt.c (main, uqabort),
3780 sys5.unx (isysdep_lock_uuxqt, fsysdep_unlock_uuxqt), bnu.c
3781 (ubnu_read_sysfiles): Marty Shannon: added max-uuxqts command,
3782 along with support for BNU Maxuuxqts, to limit number of
3783 concurrent uuxqt processes.
3785 * chat.c (icexpect, fcsend), uucico.c (zget_uucp_cmd,
3786 zget_typed_line): improved debugging by avoiding incredibly long
3789 * system.h, sys5.unx (fsysdep_execute), uuxqt.c (uqdo_xqt_file):
3790 Jon Zeef: if a temporary failure occurs, retry the execution
3793 Tue Mar 10 12:40:30 1992 Ian Lance Taylor (ian@airs.com)
3795 * sysh.unx, sys1.unx (isfork), sys2.unx, sys5.unx, tcp.c:
3796 Franc,ois Pinard: retry fork several times before giving up.
3798 * uucp.h, prot.c (fploop, fgot_data), file.c (usendfile_error,
3799 urecfile_error, frecfile_rewind): Niels Baggesen: if we can't read
3800 or write a file, treat it as a temporary error rather than a
3801 permanent error; if we get an error on write, drop the connection
3802 rather they try to continue.
3804 * uucp.h, system.h, sysh.unx, uucico.c (fuucp), prot.c
3805 (fsend_file, freceive_file), file.c (fsent_file, usendfile_error,
3806 freceived_file, urecfile_error, fmail_transfer), sys1.unx
3807 (usmake_spool_dir), sys4.unx (zsysdep_save_temp_file): if a file
3808 send fails, save the file away rather than lose it forever.
3810 * uucico.c (main): don't run uuxqt if we got a SIGTERM.
3812 * tcp.c (ftcp_open): Petri Helenius: have server fork twice to
3815 * port.h, prtinf.c, v2.c, bnu.c (fbnu_find_port), uucico.c
3816 (fdo_call, faccept_call), uuchk.c (fkshow_port): added protocol
3817 command for ports, mostly to support BNU. Also modified uuchk to
3818 make the absence of any matching port or dialer more obvious.
3820 * sys3.unx (esysdep_open_receive): check size of destination file
3821 system as well as temporary file system; handle f_bsize field
3824 * configure.in, sysh.unx: test for including <termios.h> and
3825 <sys/ioctl.h> in the same file, setting new configuration
3826 parameter HAVE_TERMIOS_AND_SYS_IOCTL_H accordingly; handle it in
3829 Mon Mar 9 00:06:12 1992 Ian Lance Taylor (ian@airs.com)
3831 * sys2.unx (fsserial_close): Franc,ois Pinard: sleep for a second
3832 after closing the serial port to give it a chance to settle.
3834 * sysh.unx (fsetterminfodrain), sys2.unx (fsserial_close,
3835 fsserial_reset, fsserial_set): wait for terminal output to drain
3836 before closing it, resetting it, or changing its parameters.
3838 * uucico.c (zget_uucp_cmd): Ted Lindgreen: strip parity bit from
3839 initial handshake strings.
3841 * system.h, sys3.unx (esysdep_open_send), uucico.c (fuucp): Ted
3842 Lindgreen: don't send a mail message if a file to send has been
3843 removed, since it might have been sent in a previous session.
3845 * uuchk.c (ukshow): Zacharias Beckman: put list of permitted
3846 programs and execution path on separate lines.
3848 * uucico.c (fdo_call, faccept_call): only look for hangup string
3849 in debugging mode, since there's nothing to be done with it
3852 * uucico.c (faccept_call): Ted Lindgreen: report the minimum
3853 transfer grade requested during an incoming call in the log file.
3855 * uucp.h, uutime.h, config.c, uucico.c (fcall), time.c
3856 (ftimespan_match, btimegrade, cmax_size_now): added a new status
3857 type for ``wrong time to call''. If a system can never be called,
3858 this status type is not used (if an attempt is made to call the
3859 system, the status is left unchanged).
3861 Sun Mar 8 11:41:45 1992 Ian Lance Taylor (ian@airs.com)
3863 * uucico.c (main, flogin_prompt, faccept_call): Ted Lindgreen: if
3864 we were asked to call a single system, or if a single system
3865 called in, then start uuxqt with -s for just that system.
3867 * uucico.c (main): Ted Lindgreen: ignore the -u option.
3869 * tstuu.c: Ted Lindgreen: don't include <sys/ioct.h> if it's not
3870 there. Also removed the ``ignore this error'' message from the
3871 chat scripts since it's no longer marked as an error.
3873 * sys2.unx (fsserial_set): Ted Lindgreen: if CRTSCTS is defined
3874 and turned on, then don't turn on IXOFF.
3876 * uucp.h, log.c, uucico.c (fdo_call, faccept_call): Ted Lindgreen:
3877 report the port name and (for incoming calls) the login name in
3880 Sat Mar 7 10:00:47 1992 Ian Lance Taylor (ian@airs.com)
3882 * port.h, prtinf.c, sys2.unx (fsserial_lockfile, fsserial_lock):
3883 Peter da Silva: added ``lockname'' command to ports to permit
3884 specification of the file name to use when locking.
3886 * sys1.unx (usysdep_detach): let setpgrp fail silently.
3888 * sys2.unx: always include <sys/ioctl.h> if it's present on the
3891 * time.c (btimegrade, cmax_size_now): removed extraneous
3894 * sys2.unx (fsserial_lock, fsserial_open, fsserial_close): support
3897 * sys2.unx (fsserial_open): preserve unknown bits in c_cflag when
3898 using HAVE_SYSV_TERMIO or HAVE_POSIX_TERMIOS.
3900 * prot.h: never included more than once.
3902 Fri Mar 6 21:53:28 1992 Ian Lance Taylor (ian@airs.com)
3904 * uucp.h: Eric Ziegast: some systems don't define EXIT_SUCCESS or
3905 EXIT_FAILURE in stdlib.h.
3907 * uucp.h, uutime.h, uucico.c (fuucp), sysinf.c (uinittimetables,
3908 uaddtimetable), uuchk.c (main, ukshow_size, ukshow_time,
3909 qcompress_span), time.c (all new): rewrote time routines
3910 completely for consistency and simplicity. Fixed bug causing
3911 incorrect maximum possible transfer size. Added new file
3914 Wed Mar 4 10:06:13 1992 Ian Lance Taylor (ian@airs.com)
3916 * sys2.unx (fsserial_lockfile, fsserial_lock, fsysdep_modem_open,
3917 fsysdep_direct_open, fsysdep_modem_close, fsysdep_direct_close):
3918 Petri Helenius: if the open failed on a serial port, the lock
3919 files were not removed.
3921 * config.c (igradecmp): the local variables in igradecmp have to
3922 be integers; signed characters might not work correctly (although
3923 they would in all normal cases).
3925 * sys4.unx (fsysdep_has_work): Johan Vromans: set *pbgrade
3926 correctly if we still have work left over that we haven't looked
3929 * tstuu.c (main, uchoose, fwriteable): Roberto Biancardi: use poll
3930 if we haven't got select.
3932 * uucico.c (zget_uucp_cmd): Michael Haberler: some systems send \n
3933 after Shere, rather than a null byte.
3935 Tue Mar 3 01:03:22 1992 Ian Lance Taylor (ian@airs.com)
3937 * uuxqt.c (main, uqdo_xqt_file): permit local executions, don't
3938 get grade out of system dependent file name.
3940 * sys4.unx (fsysdep_get_work): Bob Denny: warn if we can't open a
3943 * v2.c (uv2_read_systems): Jeff Putsch: infinite loop when reading
3946 * uucp.h, sys1.unx, sys2.unx, sys3.unx, tstuu.c, configure.in:
3947 Thomas Fischer: some NeXT compatibility stuff: removed externs of
3948 sleep and alarm, included <libc.h> in uucp.h.
3950 * uucp.h, port.h, uucico.c (zget_uucp_cmd, zget_typed_line),
3951 port.c (cdebug_char, udebug_buffer), chat.c (icexpect, fcsend,
3952 fcphone), log.c (ulog): Michael Richardson: added LOG_DEBUG_START,
3953 LOG_DEBUG_CONTINUE and LOG_DEBUG_END to allow a debugging line in
3954 the log file to be built character by character. Used this new
3955 feature in chat script debugging, rather than having each
3956 character appear on a separate line. Added fPort_debug variable
3957 to control port debugging.
3959 * uustat.c (fsquery, fsquery_system, fsquery_show): handle
3960 execution files queued up for the local system correctly when
3961 using -q option (they still don't show up on any other option).
3963 * uucp.texi, protg.c (fgstart, fgshutdown): Aleksey P. Rudnev:
3964 added remote-window and remote-packet-size 'g' protocol
3965 parameters. Reset the parameters to their default values in
3968 * sysh.unx, sys2.unx (fsserial_read, usalarm), sys1.unx
3969 (usset_signal, usysdep_detach), uucico.c (main): overhauled
3970 fsserial_read yet again. The timeout passed in is now an absolute
3971 bound. A special SIGALRM handler does some wierd stuff to avoid
3974 * config.c (uread_config), sysinf.c (uiread_systems,
3975 fcallout_login, fcheck_login), prtinf.c (ffind_port,
3976 fread_dialer_info), chat.c (fctranslate), uucico.c (faccept_call):
3977 T. William Wells: when using HAVE_TAYLOR_CONFIG in combination
3978 with V2 or BNU configuration files, don't complain if the
3979 HAVE_TAYLOR_CONFIG files are missing.
3981 Mon Mar 2 10:21:36 1992 Ian Lance Taylor (ian@airs.com)
3983 * sys2.unx (fsserial_read): T. William Wells: don't arbitrarily
3984 extend read timeout.
3986 * uux.c (main): check iSignal before entering fread, since the
3987 user may have hit ^C earlier in the program.
3989 Sun Mar 1 23:39:33 1992 Ian Lance Taylor (ian@airs.com)
3991 * policy.h, uucp.h, sysh.unx, sys2.unx (fsserial_lock,
3992 fsysdep_modem_close, fsysdep_direct_close), util.c (strlwr),
3993 configure.in: Marc Unangst: added HAVE_SCO_LOCKFILES configuration
3994 parameter to force lock file names to lower case.
3996 Fri Feb 28 00:07:12 1992 Ian Lance Taylor (ian@airs.com)
3998 * system.h, uucico.c (faccept_call, fdo_xcmd), uuxqt.c
3999 (uqdo_xqt_file), uux.c (main), uucp.c (main, ucspool_cmds),
4000 sys3.unx (zsysdep_spool_cmds), uux.1, uucp.1: added -j switch to
4001 uucp and uux to display the jobid of the spooled job.
4003 * uucp.h, system.h, sysh.unx, uucico.c (fuucp, fdo_xcmd,
4004 fok_to_send, fok_to_receive), uuxqt.c (uqdo_xqt_files), uux.c
4005 (main, uxcopy_stdin), uucp.c (main), file.c (freceived_file),
4006 config.c (fin_directory_list), sys1.unx (fsysdep_file_exists,
4007 fsuser_access, fsysdep_in_directory), sys3.unx (esysdep_open_send,
4008 fsysdep_move_file), sys5.unx (fsysdep_xqt_check_file): Chip
4009 Salzenberg: recheck file access permissions before sending, to try
4010 to avoid symbolic link games. Check that the user has search
4011 access on all directories down to the file, and read or write
4012 access to the file or directory itself. Check in uucp and uux as
4013 well as uucico, to provide early messages. Check the standard
4014 input file in uuxqt. Be more careful about creating files in the
4015 spool directory. This eliminates all security problems I know of,
4016 except for a very short race in fsysdep_move_file.
4018 * sys3.unx (esysdep_open_send): give an error message if we try to
4019 send a directory (used to just fail silently).
4021 * system.h, sysh.unx, sys1.unx (usysdep_detach, ussignal,
4022 fsysdep_catch, usysdep_start_catch), sys2.unx
4023 (fsysdep_modem_end_dial, fsserial_read), uux.c (main): T. William
4024 Wells: fsysdep_catch obviously must be a macro, since it calls
4025 setjmp. Also TIOCNOTTY sets the process group to 0, so we don't
4026 have to fork before calling it.
4028 Thu Feb 27 00:08:09 1992 Ian Lance Taylor (ian@airs.com)
4030 * sys1.unx, sys6.unx, sys7.unx: added some extern definitions.
4032 * configure.in, uucp.h, system.h, sysh.unx, uucico.c (main,
4033 ucatch, uabort, zget_typed_line, zget_uucp_cmd), uuxqt.c (main,
4034 uqcatch, uqabort), uux.c (main, uxcatch, uxrecord_file, uxabort),
4035 uucp.c (main, uccatch, ucrecord_file, ucabort), uustat.c (main,
4036 uscatch), uulog.c (main, ulcatch), uuname.c (main, uncatch),
4037 uucheck.c (main, ukcatch), log.c (ulog_fatal_fn, ulog,
4038 ulog_close), tstuu.c (main, uchild, uprepare_test), sys1.unx
4039 (usysdep_initialize, usysdep_detach, usysdep_signal,
4040 fsysdep_catch, usysdep_end_catch, ussignal, fsset_signal,
4041 fsysdep_run, raise), sys2.unx (usalarm, usysdep_pause,
4042 fsserial_lock, fsserial_open, fsysdep_stdin_close,
4043 fsysdep_modem_close, fsysdep_modem_end_dial, fsserial_read,
4044 fsserial_write, fsserial_io), sys5.unx (fsysdep_execute): T.
4045 William Wells: overhaul to support detaching from the terminal and
4046 completely reliable signals. uucico now calls usysdep_detach at
4047 various points; new option -D prevents detaching. The signal
4048 handling code all goes through usysdep_signal, fsysdep_catch and
4049 usysdep_end_catch. A signal now just sets iSignal, which is
4050 checked at various points, notably in the port routines and in the
4051 main loops in uucico and uuxqt.
4053 Tue Feb 25 10:59:23 1992 Ian Lance Taylor (ian@airs.com)
4055 * protg.c (fgwait_for_packet): Bob Denny: reset the count of
4056 timeouts only when data is recognized, so that we aren't fooled by
4057 a sequence of imperfect echoes.
4059 * sys5.unx (zsysdep_get_xqt): Bob Denny: don't warn if opendir
4060 gets ENOENT. I think POSIX requires ENOTDIR, but what can you do?
4062 Mon Feb 24 14:37:10 1992 Ian Lance Taylor (ian@airs.com)
4064 * uucico.c (main, uusage): don't treat an extra argument as a port
4067 * sys3.unx (esysdep_truncate): Roberto Biancardi: support F_CHSIZE
4068 and F_FREESP in esysdep_truncate.
4070 * configure.in, sys2.unx (fsserial_read, usysdep_pause): Roberto
4071 Biancardi: use poll to sleep less than a second if we haven't got
4074 * v2.c (uv2_read_systems, fv2_find_port), bnu.c
4075 (ubnu_read_systems, fbnu_find_port, fbnu_read_dialer_info),
4076 uustat.c (fsworkfile_show): Roberto Biancardi: skip spaces and
4077 tabs after doing a strtok ((char *) NULL, "").
4079 * copy.c (fcopy_file), sys1.unx (esysdep_fopen), sys2.unx,
4080 sys3.unx (esysdep_open_receive, esysdep_truncate, fsdo_lock,
4081 fscmd_seq), sys5.unx (fsysdep_execute), sys7.unx, tstuu.c: John
4082 Theus: some systems use <sys/file.h> instead of <fcntl.h>. Also
4083 changed the code to call creat instead of open when appropriate.
4084 Should now work on V7, with the exception of O_NONBLOCK and
4085 O_NDELAY in sys2.unx and tstuu.c.
4087 * uucp.h: John Theus: if we don't have vprintf, ulog is defined
4088 without an ellipsis, so don't declare it with one.
4090 Sun Feb 23 14:45:53 1992 Ian Lance Taylor (ian@airs.com)
4092 * uucp.h, system.h, bnu.c (ubnu_read_systems), config.c
4093 (fin_directory_list), sys1.unx (fsysdep_in_directory), sys5.unx
4094 (fsysdep_xqt_check_file), uucp.c (main), uuxqt.c (uqdo_xqt_file),
4095 uucico.c (fdo_xcmd, fok_to_send, fok_to_receive), tstuu.c
4096 (uprepare_test): only permit files to be received into directories
4097 that are world writeable. Check for this in fsysdep_in_directory,
4098 with a new argument. Changed calls appropriately. In tstuu
4099 create /usr/tmp/tstuu as world writeable.
4101 * bnu.c (ubadd_perm_alternate): Doug Evans: after all that, I got
4102 it wrong: WRITE only applies to remote requests.
4104 * uucp.h, uucico.c (fuucp, fdo_xcmd, fok_to_send, fok_to_receive),
4105 uuxqt.c (uqdo_xqt_file), uuchk.c (ukshow), sysinf.c
4106 (uset_system_defaults, tialternate), sys5.unx
4107 (fsysdep_xqt_check_file), bnu.c (ubadd_perm_alternate): fixed READ
4108 and WRITE handling to match BNU semantics. Added
4109 zcalled_local_send, zcalled_local_receive, zcalled_remote_send and
4110 zcalled_remote_receive fields to ssysteminfo structure for this,
4111 and handled them in all the appropriate places.
4113 Sat Feb 22 22:30:59 1992 Ian Lance Taylor (ian@airs.com)
4115 * Complete overhaul of configuration to use automatic shell
4116 script. Eliminated conf.h, now generated by configure. Renamed
4117 Makefile to Makefile.in. Added policy.h for administrative
4118 decisions and other choices which can not be made automatically.
4119 Many changes to many source files, none having to do with code.
4121 Thu Feb 20 17:57:55 1992 Ian Lance Taylor (ian@airs.com)
4123 * uucico.c (fdo_call): Chip Salzenberg: some systems truncate the
4124 Shere= machine name to 7 characters.
4126 Wed Feb 19 14:36:31 1992 Ian Lance Taylor (ian@airs.com)
4128 * sys7.unx (fskill_or_rejuv): make sure that only the submitter or
4129 the superuser is permitted to cancel (or rejuvenate) a request.
4131 * system.h, sysh.unx, sys3.unx (zsfile_to_jobid, zsjobid_to_file),
4132 sys4.unx (zsysdep_jobid), sys7.unx, uustat.c, Makefile, MANIFEST:
4133 wrote uustat. Changed CSEQLEN in sys3.unx from 5 to 4. Added
4134 several new system dependent functions, mostly in sys7.unx.
4136 * system.h, sys1.unx, log.c, file.c, chat.c, protg.c, uucico.c:
4137 rearranged the time functions for the convenience of uustat. Made
4138 isysdep_time take an optional pimicros arguments. Renamed
4139 usysdep_full_time to isysdep_process_time, and made clear that it
4140 need only work within a single process. Changed usysdep_localtime
4141 to take a time returned by isysdep_time rather than always use the
4142 current time. Changed the calls as appropriate.
4144 Tue Feb 18 14:03:19 1992 Ian Lance Taylor (ian@airs.com)
4146 * uuxqt.c (main): pass fdaemon argument correctly to
4149 Mon Feb 17 17:09:16 1992 Ian Lance Taylor (ian@airs.com)
4151 * uuxqt.c (uqdo_xqt_file): T. William Wells: make sure sh uses
4152 absolute path of command, rather than relying on PATH.
4154 * sys5.unx (zsysdep_find_command): Michael Nolan: allow full
4155 command name to be specified by remote system, not just basename,
4156 if command is not in path.
4158 * log.c (ulog): don't use headers when outputting to terminal.
4160 * sys2.unx (fsrun_chat): Bob Denny: log chat program messages as
4161 LOG_NORMAL, not LOG_ERROR.
4163 Fri Feb 14 00:17:57 1992 Ian Lance Taylor (ian@airs.com)
4165 * uucico.c (ucatch), uuxqt.c (uqcatch): Neils Baggesen: under
4166 HAVE_BNU_LOGGING, don't lose the system name when dieing.
4168 * uulog.c, Makefile, MANIFEST: wrote uulog.
4170 * uuname.c, Makefile, MANIFEST: wrote uuname.
4172 * bnu.c (ubadd_perm_alternate): T. William Wells: must xstrdup the
4173 system name before calling uadd_validate.
4175 * log.c (ulog_close): Micheal Nolan: don't refer to eLdebug if the
4176 DEBUG configuration parameter is 0.
4178 * uucp.c (main): Niels Baggesen: abtname must be copied into
4179 memory, or it will be overwritten by the next file to be copied.
4181 Sun Feb 9 00:12:58 1992 Ian Lance Taylor (ian@airs.com)
4183 * uucico.c (fuucp), prot.c (fsend_file, freceive_file): Bob Denny:
4184 call fmail_transfer before calling fsysdep_did_work, because the
4185 latter frees up strings used by the former.
4187 * sysh.unx, sys1.unx (mkdir), uudir.c (new file), Makefile: added
4188 HAVE_MKDIR configuration parameter for systems without the mkdir
4189 system call. The emulation function in sys1.unx invokes the new
4190 suid program uudir which sets its uid to uucp and invokes
4191 /bin/mkdir. Added rules to create uudir to Makefile.
4193 Sat Feb 8 14:25:50 1992 Ian Lance Taylor (ian@airs.com)
4195 * sysh.unx, sys1.unx (opendir, readdir, closedir), sys4.unx,
4196 sys5.unx: added HAVE_OLD_DIRECTORIES configuration parameter to
4197 support systems without opendir/readdir/closedir which use
4198 original Unix directory format.
4200 * sysh.unx, sys1.unx (dup2): added HAVE_DUP2 configuration
4201 parameter and dup2 emulation function.
4203 * sys1.unx (zsysdep_local_name): put utsname structure on stack
4204 rather than making it static.
4206 * sysh.unx, sys1.unx (usysdep_initialize, getcwd): if we have
4207 neither getcwd nor getwd, fork /bin/pwd to get the current working
4210 * system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
4211 (main), uuchk.c (main), sys1.unx (usysdep_initialize), sys6.unx
4212 (fsysdep_needs_cwd, zsysdep_add_cwd): because getting the current
4213 working directory can be expensive on Unix, since some
4214 implementation of getcwd fork a shell to execute pwd, only try to
4215 get the cwd if it is going to be needed by uux or uucp.
4217 * uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
4218 uuchk.c (main), log.c (ulog): handle all possible signals raised
4219 by abort, namely SIGABRT, SIGILL and SIGIOT. In ulog always call
4220 abort rather than raise (SIGABRT).
4222 * sys4.unx (usysdep_get_work_free): the qSwork_file information
4223 was freed up incorrectly if a file transfer failed.
4225 * sysh.unx, sys2.unx: Archaic Zilog System III computers use
4226 setret and longret rather than setjmp and longjmp, so I added a
4227 HAVE_SETRET configuration option.
4229 * prott.c (ftstart, ftsenddata): shifts of integers by more than
4230 15 are not portable.
4232 * prot.c (fsend_file, freceive_file, fploop, fgot_data): I ran
4233 into an old compiler which couldn't handle the calls to pffile, so
4234 I simplified them to use a variable.
4236 * port.c (fmodem_dial): cast result of alloca.
4238 * getopt.h, getopt.c: Jay Vassos-Libove: renamed getopt and
4239 related variables by macro defining them to gnu_*. This avoids
4240 conflicts with system header files and system libraries.
4242 Fri Feb 7 12:08:42 1992 Ian Lance Taylor (ian@airs.com)
4244 * everything: added HAVE_STRING_H and HAVE_STRINGS_H. Removed
4245 include of <string.h> in every source file and put it in uucp.h.
4246 Since I had to change everything anyhow, added 1992 to the
4249 * uucico.c (fcall): Bob Denny: retry time not reached is not
4250 really an error, so just make a normal log entry for it.
4252 Sun Feb 2 01:38:47 1992 Ian Lance Taylor (ian@airs.com)
4254 * uucp.c (main): Get the file name for the destination of a local
4255 copy using zsysdep_real_file_name rather than zsysdep_in_dir,
4256 since the latter doesn't get the basename of the argument.
4258 * sys3.unx (fsysdep_get_status): Niels Baggesen: cast enum to int
4261 * system.h, uucp.c (main), uux.c (main), sys6.unx (fsysdep_access,
4262 fsysdep_daemon_access): Niels Baggesen: check user access to file
4263 since programs are running setuid. Previously uucp and uux
4264 permitted a file readable only by uucp to be transferred to
4265 another system by user request!
4267 * chat.c (fchat): Michael Nolan: portions of a chat string might
4268 be separated by more than just a single space if they are read
4269 from a V2 or BNU configuration file.
4271 Fri Jan 31 19:51:57 1992 Ian Lance Taylor (ian@airs.com)
4273 * protg.c: Chip Salzenberg: change default window size to 7.
4275 * sys3.unx (fsdo_unlock): Michael Nolan: cast result of alloca to
4276 (char *), not that it really matters.
4278 * log.c (ulog): Michael Nolan: if SIGABRT is not defined, just
4281 Thu Jan 30 18:19:33 1992 Ian Lance Taylor (ian@airs.com)
4283 * bnu.c (ubadd_perm): Michael Nolan: debugging check was done
4284 wrong for entry with LOGNAME but no MACHINE.
4286 Wed Jan 29 13:28:59 1992 Ian Lance Taylor (ian@airs.com)
4288 * uucico.c (zget_uucp_cmd): Patrick Smith: only wait a short time
4289 for the hangup string.
4291 * sys4.unx (iswork_cmp): Patrick Smith: fixed casts to not cast
4294 Tue Jan 28 11:06:34 1992 Ian Lance Taylor (ian@airs.com)
4296 * sys1.unx, sys3.unx, tstuu.c: Jay Vassos-Libove: removed some
4297 declarations of system functions that conflict with system header
4298 files on BSD/386 alpha.
4300 * Makefile: Jeff Ross: make sure the uninstall target restores the
4301 original file owner and mode.
4303 * protg.c (fgsendcmd): the previous patch wasn't really correct.
4305 Mon Jan 27 22:30:47 1992 Ian Lance Taylor (ian@airs.com)
4307 * log.c (ustats): Marty Shannon: don't report a failed transfer
4308 under USE_BNU_LOGGING.
4310 * sys3.unx (zsysdep_real_file_name): Marty Shannon: a trailing '/'
4311 on the name means that it is a directory, even if the directory
4312 does not already exist.
4314 * uucico.c (fuucp): Marty Shannon: the -f flag indicating that
4315 directories should not be created was not being handled correctly.
4317 * uucico.c (fcall): Chip Salzenberg: set .Status correctly if
4320 * protg.c (fgsendcmd): John Antypas: didn't handle null byte at
4321 end of command which was exactly a power of two in length
4324 Tue Jan 21 14:37:10 1992 Ian Lance Taylor (ian@airs.com)
4326 * Released version 1.02.
4328 * system.h, uucico.c (main), uux.c (main), uucp.c (main,
4329 zcone_system), sys1.unx (fsysdep_run): Chip Salzenberg: have uucp
4330 and uux start up uucico -s system rather than uucico -r1.
4332 Mon Jan 20 11:45:38 1992 Ian Lance Taylor (ian@airs.com)
4334 * sys1.unx (fsysdep_make_dirs): don't try to create a directory
4337 * version.c: change version number to 1.02.
4339 * uucico.8, uuxqt.8, uucp.1, uux.1: change version number to 1.02.
4341 * MANIFEST: removed texinfo.tex; it's twice the size of any other
4342 file, so I think it's just to large to distribute.
4344 * uucico.c (fcall, fdo_call): Marty Shannon: update the time in
4345 the .Status file if it's the wrong time to call, and upon
4348 Sun Jan 19 13:29:23 1992 Ian Lance Taylor (ian@airs.com)
4350 * protg.c (fgsendcmd, fgsenddata): Dave Platt: if the remote UUCP
4351 accepts packets larger than 64 bytes, assume it can handle
4352 differing packet sizes, so if we have a small amount of data to
4353 send, use a small packet. Besides the two routines mentioned,
4354 also made minor changes to other routines to get the packet length
4355 out of the packet data rather than always assuming the same packet
4358 * conf.h, uucp.h: Matthew Lyle: some systems don't declare errno
4359 in <errno.h>, so I added HAVE_ERRNO_DECLARATION.
4361 * conf.h, uucp.h, util.c (bsearch): added HAVE_BSEARCH
4362 configuration parameter.
4364 Sat Jan 18 17:45:28 1992 Ian Lance Taylor (ian@airs.com)
4366 * tstuu.c (utransfer): Mike Park: don't sleep when the input
4367 buffer is full; it's too slow.
4369 * Makefile: when making a distribution,change the mode of separate
4370 copies of the configuration files Makefile, conf.h and sysh.unx.
4372 * uucico.c (faccept_call): Marty Shannon: update .Status file on
4375 * uucp.h, prot.h, uucico.c (fuucp), prot.c (fsend_file,
4376 fpsendfile_confirm, freceive_file, fprecfile_confirm, fxcmd,
4377 ustats_failed), file.c (fsent_file, usendfile_error,
4378 freceived_file, urecfile_error, frecfile_rewind, fmail_transfer):
4379 reworked calls to fsydep_did_work and sending of mail messages to
4380 be more sensible. Now sends mail to requestor if request fails
4381 permanently and does not remove file if request fails only
4384 Thu Jan 16 11:33:08 1992 Ian Lance Taylor (ian@airs.com)
4386 * protg.c (fgsendcmd, fgsenddata): zero out unused bytes in short
4389 * prot.c (zgetcmd), protf.c (ffsendcmd), prott.c (ftsendcmd),
4390 prote.c (fesendcmd): Niels Baggesen: added some debugging
4393 * protg.c (fgsendcmd): corrected misspelling in debugging message.
4395 * log.c (ustats): Niels Baggesen: add FAILED to end of xferstats
4396 line if appropriate.
4398 * uuxqt.c (uqdo_xqt_file): Niels Baggesen: was checking strcmp
4399 return value incorrectly, so messages to other systems were not
4402 * sys2.unx, tstuu.c: Mike Park: ioctl is sometimes declared
4403 varadic, so we can't declare it.
4405 Wed Jan 15 02:03:43 1992 Ian Lance Taylor (ian@airs.com)
4407 * sys1.unx: put \n at end of fsysdep_run error message.
4409 * sysh.unx, sys1.unx, sys2.unx, tstuu.c: Mike Park: on some
4410 systems <sys/time.h> includes <time.h> but <time.h> can only be
4411 included once; added HAVE_SYS_TIME_AND_TIME_H to sysh.unx.
4413 * tstuu.c: Mike Park: removed prototype for times since some
4414 systems don't have clock_t.
4416 * conf.h, sys2.unx, util.c: Mike Park: some systems don't have
4417 <limits.h>. Every macro used from it already had a check to make
4418 sure it was defined anyhow.
4420 * tstuu.c (uprepare_test): Mike Park: sh on NeXT interprets a
4421 leading ~, so we have to quote the argument to system(3).
4424 * conf.h, uucp.h: Mike Park: if HAVE_ALLOCA is 0 when compiling
4425 with gcc, don't define alloca as a macro. This will let the NeXT
4426 define it in some header file.
4428 * sysh.unx, sys2.unx, sys5.unx, tstuu.c: Mike Park: handle
4429 HAVE_UNION_WAIT completely. Assume that system(3) returns an int
4430 which should be put into the w_status field. Define macros for
4431 union wait if they are not already defined. Move all this stuff
4432 into sysh.unx rather than duplicating it in three different files.
4434 * conf.h, uucp.h, sysh.unx, config.c, bnu.c, v2.c, uucico.c,
4435 uuxqt.c, uux.c, uucp.c, uuchk.c, Makefile: set directory to look
4436 for configuration files in in Makefile rather than in sysh.unx.
4437 This forced a number of changes, as now all new style
4438 configuration files are looked up using NEWCONFIGLIB. Old style
4439 configuration files are looked up using OLDCONFIGLIB.
4441 Mon Jan 13 00:35:43 1992 Ian Lance Taylor (ian@airs.com)
4443 * sys3.unx: David Nugent: don't declare chmod, since it may be
4444 prototyped to take an argument that is smaller than an int.
4446 * uucico.c (faccept_call): Chip Salzenberg: only declare sportinfo
4447 if it will be used (if HAVE_TAYLOR_CONFIG is true).
4449 * sys3.unx (isysdep_get_sequence): Chip Salzenberg: avoid use
4450 before set warning from gcc.
4452 * protf.c (ffprocess_data): Chip Salzenberg: avoid use before set
4455 * sysh.unx, sys2.unx (fsserial_read, usysdep_pause): Chip
4456 Salzenberg: added HAVE_USLEEP configuration parameter for the AIX
4459 * uuchk.c, prtinf.c, config.c: Chip Salzenberg: strcmp is a macro
4460 on AIX, so avoid declaring it and undef it in config.c where we
4461 want to declare it because we want to take its address.
4463 * uucp.h, sys3.unx (fsysdep_get_status, fsysdep_set_status): Chip
4464 Salzenberg: handle out of range status codes in status files.
4466 * Makefile, sysh.unx: defined LIBDIR in the Makefile, rather than
4467 forcing the user to define it in two different places.
4469 * sys.unx, tstuu.c: Chip Salzenberg: can't declare execl, since it
4472 * sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: David Nugent:
4473 can't declare open or fcntl, since they may use ... in header file
4474 prototype; added declaration for popen; added casts of first mkdir
4477 * sysh.unx, tstuu.c (uchild): Mike Park: added HAVE_WAITPID and
4478 HAVE_WAIT4 configuration parameters to allow the use of wait4 as
4481 * tstuu.c (uprepare_test): Mike Park: use IPUBLIC_DIRECTORY_MODE
4482 rather than S_IRWXU | S_IRWXG | S_IRWXO.
4484 * sysinf.c (tisystem): Mike Park: ulog was being passed the wrong
4485 number of arguments.
4487 Sun Jan 12 14:32:47 1992 Ian Lance Taylor (ian@airs.com)
4489 * Eliminated CONFIG, INSTALL and THANKS. They are now included in
4490 uucp.texi. Changed README and MANIFEST accordingly. Added
4491 uucp.info* and texinfo.tex to MANIFEST.
4493 * Makefile, uucp.texi: renamed taylor.texi to uucp.texi.
4495 * uucico.c (fcall, fdo_call): John Antypas: pass in sportinfo
4496 structure for fdo_call to use for an unknown port.
4498 * log.c (ulog): allocate enough bytes to name file if
4499 HAVE_BNU_LOGGING is in use but zLogfile has no %s.
4501 Sat Jan 11 12:11:56 1992 Ian Lance Taylor (ian@airs.com)
4503 * Makefile: changed to correspond to GNU standards, according to
4504 standards.text of 24 Nov 91.
4506 * Makefile: Franc,ois Pinard: use $(INSTALL_PROGRAM) and
4507 $(INSTALL) rather than cp to install the programs.
4509 * time.c (ftime_now), sys1.unx (usysdep_localtime): John Antypas:
4510 use memcpy to get the result of localtime rather than relying on
4511 structure assignment.
4513 * sysh.unx, prtinf.c: Hannu Strang: changed definition of
4514 SYSDEP_STDIN_CMDS to pass structure instead of address of
4515 structure to avoid bug in AIX compiler which causes it to fail to
4516 recognize an address constant containing the -> operator.
4518 Tue Jan 7 10:22:43 1992 Ian Lance Taylor (ian@airs.com)
4520 * Released beta 1.02.
4522 * protg.c (fgcheck_errors): discount out of order packets in the
4523 total error count, and allow a negative error count to mean that
4524 any number of errors are accepted.
4526 * sysinf.c (tadd_proto_param): Niels Baggesen: allocate number of
4527 protocol parameters based on *pc, not sIhold.cproto_params.
4529 Sat Jan 4 16:42:21 1992 Ian Lance Taylor (ian@airs.com)
4531 * log.c (ulog): tweaked HAVE_V2_LOGGING slightly.
4533 * v2.c (uv2_read_systems): set chat script correctly.
4535 * uucp.h, sys3.unx: avoid redefining SEEK_SET if it appears in
4536 <unistd.h> but not <stdio.h>.
4538 * chat.c (fcsend): made fcsend into a static function.
4540 * uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, uuchk.c, version.c:
4541 changed abProgram and abVersion from const char [] to char []
4542 because the Microsoft compiler on SCO can't handle const char []
4545 * uux.c (main): allocate enough space for log message.
4547 * sys1.unx (usysdep_localtime): to get the current time, we can't
4548 call usysdep_full_time if the latter uses times.
4550 * sys1.unx, sys3.unx: added a couple more extern definitions for
4553 * uucico.c (main): start uuxqt even if a call fails.
4555 * sysh.unx, system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
4556 (fsysdep_xqt_check_file): Chip Salzenberg: added configuration
4557 option ALLOW_FILENAME_ARGUMENTS to permit arguments that look like
4558 filenames, to allow undoing the patch I just made.
4560 Fri Jan 3 00:44:59 1992 Ian Lance Taylor (ian@airs.com)
4562 * system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
4563 (fsysdep_xqt_check_file): David J. Fiander: make sure that if an
4564 argument looks like a filename we are permitted to access it.
4566 * sys3.unx (fsdo_lock): remove temporary file if link fails in
4569 Thu Jan 2 00:01:53 1992 Ian Lance Taylor (ian@airs.com)
4571 * protg.c (fgstart, fgshutdown, fgprocess_data): count remote
4572 rejections separately from resent packets when counting errors.
4574 Tue Dec 31 14:31:38 1991 Ian Lance Taylor (ian@airs.com)
4576 * protg.c (fgstart): Franc,ois Pinard: forgot to initialize
4579 * prot.h, uucico.c, prote.c: added the 'e' protocol, creating the
4582 * prot.c (freceive_data), protf.c (fffile), prott.c (ftfile):
4583 changed pffile protocol entry point to pass number of bytes being
4584 sent; fixed bug in freceive_data which caused to ask for the wrong
4585 number of bytes when the buffer was empty.
4587 Mon Dec 30 23:16:48 1991 Ian Lance Taylor (ian@airs.com)
4589 * sys2.unx (fsserial_open): Chip Salzenberg: don't turn on IXON
4590 and IXOFF initially; after all, the initialization packets might
4591 contain an XOFF character.
4593 Sun Dec 29 00:00:42 1991 Ian Lance Taylor (ian@airs.com)
4595 * uucp.h, prot.c (fploop): John Theus: check for EOF before
4596 reading from file to work around bug in Tektronix library.
4598 * protg.c (fprocess_data): don't send RR packets when an error
4599 occurs; the other side will probably ignore them, and it may
4600 confuse some Telebit modems.
4602 * sys1.unx (usysdep_localtime): don't take the address of a cast
4605 * log.c (zldate_and_time): wasn't allocating enough buffer space.
4607 Sat Dec 28 01:09:58 1991 Ian Lance Taylor (ian@airs.com)
4609 * uuxqt.c (uqdo_xqt_file): forgot to initialize zmail.
4611 * uucp.h, time.c, copy.c, sys1.unx, sys2.unx, sys3.unx, sys4.unx,
4612 sys5.unx, config.c, log.c, uuxqt.c, uux.c, tstuu.c: added a bunch
4613 of externs to decrease the number of implicit function
4616 * system.h, sys1.unx (usysdep_localtime), log.c (zldate_and_time):
4617 Lele Gaifax: put the full year in the log file, using the format
4618 YYYY-MM-DD HH:MM:SS.HH (ending in hundredths of seconds).
4620 * config.c (uprocesscmds): Terry Gardner: allow a # to be quoted
4621 in a configuration file. Also made uprocesscmds reentrant.
4623 * sysh.unx, sys2.unx (fsrun_chat), sys5.unx (fsysdep_execute),
4624 tstuu.c (uchild): Monty Solomon: added HAVE_UNION_WAIT
4625 configuration option to pass a variable of type union wait to the
4626 wait and waitpid system calls.
4628 * sysh.unx, sys1.unx (usysdep_initialize): John Theus: added
4629 HAVE_GETWD to use getwd instead of getcwd.
4631 * sysh.unx, sys1.unx (usysdep_full_time): added HAVE_FTIME
4632 configuration option.
4634 * tstuu.c (uchild): use TIMES_TICK from sysh.unx rather than
4637 * conf.h, uucp.h, util.c, getopt.c, tstuu.c: added HAVE_STRCHR and
4638 HAVE_INDEX to conf.h.
4640 Fri Dec 27 01:00:41 1991 Ian Lance Taylor (ian@airs.com)
4642 * uucico.c (fuucp): set fmasterdone correctly when running as a
4645 * port.c (cpshow, upshow, fport_read, fport_write, fport_io):
4646 cleaned up debugging code by isolating out upshow and by making
4647 cpshow handle backslash.
4649 * tstuu.c (uprepare_test): create spool directories by hand, to
4650 make sure test 6 can be done and to test creating needed
4653 * conf.h, uucp.h, bnu.c, v2.c, chat.c, protg.c, prott.c, sysinf.c,
4654 tcp.c, getopt.c, tstuu.c, util.c: added HAVE_MEMFNS and HAVE_BFNS
4655 to conf.h. Changed memset calls to use bzero.
4657 * protg.c (fgcheck_errors, fgprocess_data): added protocol
4658 parameter ``errors'' to set maximum number of errors permitted.
4659 Also made fgprocess_data only reply once per batch of data.
4661 Thu Dec 26 17:54:54 1991 Ian Lance Taylor (ian@airs.com)
4663 * tcp.c (ftcp_dial, itcp_port_number): Monty Solomon: cast
4664 arguments to avoid prototype errors on NeXT.
4666 Mon Dec 23 00:16:19 1991 Ian Lance Taylor (ian@airs.com)
4668 * uucp.h, sysinf.c, uucico.c (main, flogin_prompt, faccept_call),
4669 uuchk.c (main): David Nugent: allow debugging level to be set for
4672 Sun Dec 22 15:51:10 1991 Ian Lance Taylor (ian@airs.com)
4674 * conf.h, uucp.c, sysh.unx, tcp.c, sys1.unx, sys2.unx, sys3.unx,
4675 sys5.unx, sys6.unx, tstuu.c: Monty Solomon: added HAVE_UNISTD_H to
4676 conf.h for systems which don't have <unistd.h>. Also added
4677 externs for all functions from <unistd.h>, which required adding
4678 definitions for pid_t, uid_t and off_t to sysh.unx.
4680 * config.c, prtinf.c, time.c, uuchk.c: added externs for
4681 strcasecmp or strncasecmp, to avoid implicit function definitions
4682 now that I took the prototypes out of uucp.h.
4684 * sys3.unx (fsysdep_get_status): Franc,ois Pinard: the code added
4685 to avoid scanf had a stupid bug.
4687 * uucp.h: Monty Solomon: removed prototypes for strcasecmp and
4688 strncasecmp from uucp.h, since they may be in string.h.
4690 Sat Dec 21 16:04:58 1991 Ian Lance Taylor (ian@airs.com)
4692 * uucp.h, uucico.c (ucatch), prot.c (fpsendfile_confirm,
4693 fprecfile_confirm, ustats_failed), file.c (fsent_file,
4694 freceived_file), log.c (ustats): Terry Gardner: record failed file
4695 transfers in the statistics file.
4697 * uucico.c: change protocol ordering to 't', 'g', 'f'.
4699 * uucico.c (faccept_call), tstuu.c (uprepare_test): John Theus:
4700 don't warn if the port file doesn't exist when the slave mode
4701 uucico looks up the port.
4703 * sys1.unx, sys5.unx: moved fsysdep_file_exists from sys5.unx to
4704 sys1.unx so that uucico can call it.
4706 * uux.c: Fran,cois Pinard: remove parentheses from ZSHELLSEPS so
4707 that they may be used to quote arguments as documented. This
4708 means that may not be used to start subshell, but that is no great
4711 * uux.c (main): use ulog to report illegal grade error message.
4713 * sys1.unx (fsysdep_run): use the real program name from abProgram
4714 in the error messages in fsysdep_run.
4716 Thu Dec 19 19:02:28 1991 Ian Lance Taylor (ian@airs.com)
4718 * uucico.c (fdo_call, faccept_call): Terry Gardner: put the length
4719 of the conversation in the ``Call complete'' log file message.
4721 * uux.c: added space and tab to ZSHELLSEPS, because otherwise the
4722 command was parsed to include whitespace.
4724 * protg.c, protf.c: Oleg Tabarovsky: added statistical logging
4725 messages to the 'g' and 'f' protocols. These go to the main log
4726 file right now, but I'm not sure if that's appropriate.
4728 * sys2.unx (fsserial_set): don't change terminal settings if we
4731 * port.c (fport_io): add complete diagnostics for fport_io so we
4732 can see every byte that goes in or out.
4734 * uucico.c (fuucp): don't give user name in errors produced by
4735 getting the next command.
4737 * uuxqt.c (main): don't process execute files for unknown systems.
4738 This is not unreasonable, I hope, and it avoids errors caused by
4739 an uninitialized sUnknown structure.
4741 * sys4.unx (fsysdep_get_work_init): sort the previously found
4742 files all together so we can correctly check new files using
4745 * protf.c (pfprocess, pfprocess_data, pfwait): Franc,ois Pinard:
4746 don't kill 'f' protocol because of an illegal byte. Also slightly
4747 optimized the protocol to wait for up to seven characters at a
4748 time rather than just one.
4750 Wed Dec 18 00:12:42 1991 Ian Lance Taylor (ian@airs.com)
4752 * sysh.unx, sys2.unx, tstuu.c: Terry Gardner: added
4753 USE_FOR_UNBLOCKED configuration parameter to support systems that
4754 don't permit O_NONBLOCK and O_NDELAY to both be set.
4756 * tstuu.c (uchild): give the uucico processes a chance to die on
4757 their own rather than killing them immediately.
4759 * uuxqt.c (main, uqdo_xqt_file): David Nugent: keep rescanning the
4760 list of execute files until nothing can be done. Also, don't
4761 remove the execute file if we get some sort of internal error.
4763 * sys4.unx (fsysdep_get_work, usysdep_get_work_free): David
4764 Nugent: after we've processed all the work files we found
4765 initially, rescan the work directory to pick up any that may have
4766 come in in the meantime. Also, reset iSwork_file to 0 in
4767 usysdep_get_work_free so that we can handle more than one system.
4769 * tstuu.c, uucico.c (main, fwait_for_calls, flogin_prompt): added
4770 -l option to uucico to prompt for the login name and password once
4773 Tue Dec 17 00:24:41 1991 Ian Lance Taylor (ian@airs.com)
4775 * uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, config.c
4776 (uread_config), log.c (ulog): eliminated ulog_program and added
4777 abProgram and ulog_to_file. Made log messages output to stderr
4780 * log.c (ulog): use a fixed number of fields in a log file message
4781 by replacing a missing system or user with '-'.
4783 * port.h, chat.c (renamed fchat_send to fcsend), bnu.c
4784 (fbnu_read_dialer_info), prtinf.c (tpcomplete), sys2.unx
4785 (fsysdep_modem_close), uuchk.c (ukshow_dialer): T. William Wells:
4786 change the modem complete and abort strings into chat scripts.
4788 * sys2.unx (fsserial_open): on BSD start in RAW mode to avoid
4789 dropping characters when we switch over. I originally thought
4790 being able to use XON/XOFF was worth the risk; I no longer think
4793 * tstuu.c (uprepare_test): have shell script sleep before printing
4794 the login name to make sure the second system has finished
4795 flushing its input buffer.
4797 * protg.c (fginit_sendbuffers), prott.c (ftsendcmd): David Nugent:
4798 avoid sending confidential information by zeroing out memory
4799 buffers before using them.
4801 * sysinf.c (tirequest, titransfer), prtinf.c (tpseven_bit,
4802 tpreliable, tpdtr_toggle): Marc Unangst: several functions did not
4803 accept true and false as boolean strings, contradicting the
4806 * uucp.h, system.h, sysh.unx, sys1.unx (usysdep_full_time), file.c
4807 (fstore_sendfile, fsent_file, fstore_recfile, freceived_file),
4808 log.c (ustats): generate statistics in microseconds instead of
4809 seconds for more accurate time keeping.
4811 * sys2.unx (fsserial_open): David Nugent: flush pending input
4812 when a serial port is opened. This will clear out a
4813 NO\sCARRIER string left by a previous dropped connection.
4815 Mon Dec 16 11:26:17 1991 Ian Lance Taylor (ian@airs.com)
4817 * uucico.c (main), uuxqt.c (main), tstuu.c (main, uchild): David
4818 Nugent: ignore SIGHUP in uucico and uuxqt, so that they are
4819 unaffected by the parent shell closing down and by the remote
4820 terminal dropping the connection.
4822 * bnu.c (ubnu_read_sysfiles, ubnu_read_systems, fbnu_find_port,
4823 fbnu_read_dialer_info): Mike Bernson: ignore lines that begin with
4824 whitespace, fix compilation error.
4826 Sat Dec 14 20:59:10 1991 Ian Lance Taylor (ian@airs.com)
4828 * sys2.unx (fsserial_open): don't turn on ISTRIP initially.
4830 * uucp.h, sysinf.c, chat.c (icexpect), uuchk.c (ukshow_chat):
4831 added chat-seven-bit command to allow control over whether
4832 parity bits are stripped out of chat scripts.
4834 * uucp.h, port.h, chat.c (fchat, fcprogram),
4835 config.c (tprocess_one_cmd), prtinf.c,
4836 sysinf.c (tichat, tprocess_chat_cmd),
4837 bnu.c (fbnu_read_dialer_info), port.c (fpdo_dial),
4838 uucico.c (fdo_call, faccept_call) uuchk.c (ukshow_chat):
4839 changed processing of chat commands to go through
4840 tprocess_chat_cmd, avoiding repetition. All chat script
4841 information is now held in an schat_info structure.
4842 Eliminated the fchat_program function, renaming it fcprogram
4843 and making it static to chat.c (it is now called via fchat).
4844 Added CMDTABTYPE_PREFIX. Added INIT_CHAT macro to initialize
4845 chat script information. Added TTYPE_CMDTABTYPE and
4846 CARGS_CMDTABTYPE to eliminate hex constants in
4849 * sys5.unx (zsysdep_get_xqt): Oleg Tabarovsky: don't stop
4850 processing files just because opendir failed on one; it could just
4851 be because we don't have read permission.
4853 Fri Dec 13 17:43:52 1991 Ian Lance Taylor (ian@airs.com)
4855 * config.c (uprocesscmds): don't continually allocate and free the
4858 Thu Dec 12 12:46:01 1991 Ian Lance Taylor (ian@airs.com)
4860 * prot.c (fgetcmd): Franc,ois Pinard: don't bother to give an
4861 error if the final HY doesn't come in; apparently the MtXinu UUCP
4864 * chat.c (icexpect, fchat_send): Franc,ois Pinard: add some chat
4865 script debugging messages.
4867 * log.c (ulog): David Nugent: move ERROR: from the start of the
4868 line to after the date and time; this makes it easier to use awk
4871 * sys3.unx (fsdo_lock), sys1.unx (usysdep_initialize): do locking
4872 using link rather than O_CREAT | O_EXCL to avoid race conditions
4873 and to safely run as the superuser.
4875 * sys3.unx (fsysdep_move_file): fcopyfile now creates the
4876 destination file with IPRIVATE_MODE, so we don't need to chmod to
4879 * sys1.unx (usysdep_initialize, fsysdep_other_config): set the
4880 GID as well as the UID, in case anybody wants to run this as a
4883 Wed Dec 11 10:03:22 1991 Ian Lance Taylor (ian@airs.com)
4885 * conf.h, uucp.h, util.c (strtol): Mark Powell: added my own
4886 version of strtol to util.c, for systems which lack it.
4888 * protg.c (fgstart, fgexchange_init): if we start resending
4889 packets during initialization, don't forget which packets we have
4890 already seen; otherwise the other side may assume we've already
4891 seen them while we're looking for them.
4893 Tue Dec 10 15:42:41 1991 Ian Lance Taylor (ian@airs.com)
4895 * conf.h, sysh.unx, log.c (ulog, ustats), tstuu.c (uprepare_test):
4896 Arne Ludwig: merged in Arne Ludwig's patches to support V2 and BNU
4897 style logging, with some minor additions and changes.
4899 * sys1.unx, sys3.unx, sys5.unx, uux.c, uucp.c, uucico.c, copy.c,
4900 uucp.h, system.h: create directories when necessary rather than
4901 assuming that they exist. Added fmkdirs argument to esysdep_fopen
4902 and fcopy_file, changing all calls. Added fpublic argument to
4903 fsysdep_make_dirs, changing all calls. Moved fsysdep_make_dirs
4904 and fsdirectory_exists from sys3.unx to sys1.unx. Added checks
4905 for ENOENT in several places in sys3.unx and sys5.unx.
4907 * log.c, port.c (fport_open), sys2.unx (fsserial_open): added
4908 ulog_device routine to record device name. This is currently only
4909 used for the BNU statistics file, but more uses might arise later.
4911 * file.c, log.c, uucp.h: moved statistics file routines from
4912 file.c to log.c in preparation for supporting BNU log file
4915 Mon Dec 9 12:00:52 1991 Ian Lance Taylor (ian@airs.com)
4917 * bnu.c (ubnu_read_systems): Arne Ludwig: the device entry for a
4918 system can be followed by a comma and a list of protocols.
4920 * sysh.unx, sys3.unx (fsdo_lock): Richard Todd: add
4921 HAVE_V2_LOCKFILES, in which the process ID is written out in
4924 * uuxqt.c (uqdo_xqt_file): Richard Todd: the requestor address is
4925 relative to the requesting system.
4927 * config.c (uprocesscmds, umulti_pushback): Richard Todd: each
4928 line pushed back because of "#" is local to a particular
4929 smulti_file structure.
4931 * prtinf.c (asPdialer_cmds): Richard Todd: exit the current dialer
4932 if the special command "#" is seen. A similar thing should be put
4933 in for ports, but it's marginally more complex.
4935 * config.c (uprocesscmds): Richard Todd: don't warn if the special
4936 "#" command is unrecognized.
4938 Sat Dec 7 13:05:40 1991 Ian Lance Taylor (ian@airs.com)
4940 * config.c (uprocesscmds): Franc,ois Pinard: don't limit the
4941 number of arguments to a command!
4943 * chat.c (fchat): handle a chat script which consists only of a
4946 Fri Dec 6 16:11:29 1991 Ian Lance Taylor (ian@airs.com)
4948 * sys5.unx (fsysdep_execute): David J. Fiander: if execve fails
4949 with ENOEXEC, try using /bin/sh with a quoted argument.
4951 * uux.c (main): split arguments the way /bin/sh does. If any
4952 shell metacharacters appears, request uuxqt to execute the command
4955 * tstuu.c (uprepare_test): allow the uux to test to send a failure
4958 * uuxqt.c (uqdo_xqt_file): don't send mail on successful execution
4959 unless specifically requested; pay attention to the 'n' line
4960 which requests mail on success; ignore the 'Z' line because it
4961 now specifies the default action.
4963 * sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd):
4964 Franc,ois Pinard: getcwd may legitimately fail, so only give an
4965 error if we really need the result.
4967 * chat.c (ccescape): Franc,ois Pinard: ccescape should never
4968 return a negative number, since the callers don't know how to deal
4971 Mon Dec 2 16:26:16 1991 Ian Lance Taylor (ian@airs.com)
4973 * bnu.c (ubnu_read_systems): Dave Buck: time strings with grades
4974 were parsed in an endless loop!
4976 * sys3.unx (fsdo_lock, fsdo_unlock): the alloca when using LOCKDIR
4977 was one byte too small.
4979 * config.c (tprocess_one_cmd): pass 10 to strtol rather than 0 to
4980 avoid surprises if a leading zero is used.
4982 * prtinf.c (tpproto_param, tpdialer_proto_param): Niels Baggesen:
4983 the ``protocol-parameter'' command didn't work for ports or
4986 Sun Dec 1 09:46:12 1991 Ian Lance Taylor (ian@airs.com)
4988 * tstuu.c: don't use the fd_set typedef at all.
4990 * tstuu.c (uprepare_test): don't read V2 or BNU configuration
4991 files while testing.
4993 * bnu.c, v2.c, config.c (uread_config): David Nugent: even if the
4994 code was compiled with HAVE_TAYLOR_CONFIG, read the V2 and BNU
4995 configuration files if the code was compiled to support them.
4997 * uuchk.c (fkshow_port): Bob Izenberg: report dialer/token pairs
5000 Sat Nov 30 17:40:00 1991 Ian Lance Taylor (ian@airs.com)
5002 * tstuu.c: Bob Izenberg: copied over conditional definitions of
5003 EAGAIN and EWOULDBLOCK from sys2.unx.
5005 * bnu.c (fbnu_read_dialer_info): Niels Baggesen: accept dialers
5006 with no substitutions.
5008 * bnu.c (ubnu_read_systems, ubadd_perm): Niels Baggesen: don't
5009 free up zline in ubadd_perm; in fact, changed the calling sequence
5010 to not even pass zline in at all.
5012 * bnu.c (ubadd_perm): Niels Baggesen: didn't handle multiple
5013 MACHINE= and multiple LOGNAME= values in a single Permissions
5014 line, because it was clobbering the machine name while processing
5017 * bnu.c: Made zread and zwrite elements of sperm structure const
5018 char * to avoid warning.
5020 * copy.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: Niels
5021 Baggesen: don't multiply include <unistd.h>. Eventually there
5022 should be a macro controlling whether it gets included at all, for
5025 * sys3.unx (fsysdep_get_status, isysdep_get_sequence): Marty
5026 Shannon: accept a truncated status file. I also eliminated scanf
5027 calls in sys3.unx, since that was the only place it was called;
5028 this was to make the executables smaller for systems which cared.
5030 * bnu.c (ubnu_read_sysfiles): Marty Shannon: accept comment
5031 characters in Sysfiles.
5033 * sysh.unx, sys3.unx: Marty Shannon: added HAVE_RENAME, put a fake
5034 rename system call in sys3.unx.
5036 * prtinf.c (ffind_port): Marty Shannon: failed to handle multiple
5037 ports in the port file since I forgot to reset my pointer
5040 * bnu.c (ubnu_read_systems): Marty Shannon: don't initialize the
5041 auto array abpubdir, since old cc didn't permit initialization of
5044 Mon Nov 25 20:56:39 1991 Ian Lance Taylor (ian@airs.com)
5046 * tstuu.c: Bob Denny: add definitions for FD_SET, FD_ZERO and
5049 * config.c: Bob Denny: add explicit externs for strcmp and
5052 * sys2.unx: the fread_blocking and fwrite_blocking fields were
5053 not getting initialized correctly in the TCP support routines.
5055 * sysh.unx, sys2.unx, sys5.unx, tstuu.c: Marty Shannon: added
5056 configuration option HAVE_SYSWAIT_H.
5058 * bnu.c (fbnu_find_port, fbnu_read_dialer_info), v2.c
5059 (fv2_find_port): Marty Shannon: the ireliable field of ports
5060 and dialers was not getting initialized.
5062 Sun Nov 24 15:06:37 1991 Ian Lance Taylor (ian@airs.com)
5064 * tcp.c (itcp_port_number): Michael Haberler: wasn't calling
5065 htons if passed a numeric string.
5067 Sat Nov 23 13:43:52 1991 Ian Lance Taylor (ian@airs.com)
5069 * Released version 1.01 to alt.sources and uunet