NetBSD/gnu/libexec/uucp/ChangeLog

3153 lines
117 KiB
Plaintext

Sat Feb 13 15:57:30 1993 Ian Lance Taylor (ian@comton.airs.com)
* Released version 1.04.
* unix/detach.c: Andrew A. Chernov: Don't check return of setsid.
Sun Jan 31 01:45:56 1993 Ian Lance Taylor (ian@comton.airs.com)
* cu.c (main): Pass "cu" to uuconf_init.
* protz.c (fzprocess): Restore ZPAD char before calling getinsync.
Sat Jan 30 22:19:26 1993 Ian Lance Taylor (ian@comton.airs.com)
* Makefile.in (doc-dist): New target.
Wed Jan 27 22:55:26 1993 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgstart): Set iGremote_segsize when using
remote-packet-size.
Tue Jan 26 01:01:34 1993 Ian Lance Taylor (ian@comton.airs.com)
* proti.c (fiprocess_data): always send an ACK after receiving
half a window, rather than sometimes resending a packet. Half a
window of short packets can arrive very quickly.
* tstuu.c (main, cread, fsend): rewrote communication routines to
avoid deadlock.
Sun Jan 24 01:02:47 1993 Ian Lance Taylor (ian@comton.airs.com)
* trans.c (ufailed): don't report statistics if no bytes
transferred.
* Makefile.in (install): simplified somewhat.
(dist): distribute the sample directory.
Sat Jan 23 19:47:12 1993 Ian Lance Taylor (ian@comton.airs.com)
* configure.in, conf.h.in, tli.c: Karl Swarz: check for and use
<sys/tli.h>.
Fri Jan 22 00:09:37 1993 Ian Lance Taylor (ian@comton.airs.com)
* send.c (flocal_send_request): Alan Judge: don't send C in option
string when faking an E command as an S command.
Thu Jan 21 00:09:31 1993 Ian Lance Taylor (ian@comton.airs.com)
* uux.c (main): don't use E command if forwarding.
Wed Jan 20 00:22:38 1993 Ian Lance Taylor (ian@comton.airs.com)
* send.c (fsend_exec_file_init), rec.c (frec_file_end), uux.c
(main): Chip Salzenberg: always put the C line last in an
execution file, to support Fredmail.
Tue Jan 19 00:09:43 1993 Ian Lance Taylor (ian@comton.airs.com)
* trans.h, trans.c (ftcharge, floop, fgot_data): rewrote timing
code.
* trans.h, trans.c, send.c, rec.c, xcmd.c, protf.c, protz.c
(fqueue_local, fqueue_remote, fqueue_send, fqueue_receive): added
boolean return value and qdaemon argument.
Mon Jan 18 00:01:46 1993 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (fdo_call, faccept_call): Ted Lindgreen, Chip
Salzenberg: wait for remote hangup string before hanging up.
* proti.c (fiprocess_data, fiprocess_packet): stop scanning input
buffer after a CLOSE packet.
Sat Jan 16 22:44:28 1993 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uucico.c (main), uuxqt.c (main), unix/init.c: Ted
Lindgreen: eliminated INIT_DAEMON.
* log.c (ulog): don't log SIGINT if fLog_sighup is FALSE.
* unix/move.c (fsysdep_move_file), unix/xqtsub.c
(fsysdep_move_uuxqt_files): the system call rename seems to fail
on some systems for arbitrary reasons, so always try to copy the
file by hand, not just if we get EXDEV.
* policy.h, unix/pause.c: Gregory Gulik: added HAVE_HUNDREDTHS_NAP
configuration parameter.
Wed Jan 6 21:06:45 1993 Ian Lance Taylor (ian@comton.airs.com)
* unix/serial.c (fsserial_lockfile): create HDB lock files when
using HAVE_COHERENT_LOCKING.
unix/cohtty.c (fscoherent_disable_tty): consistently return FALSE
on error.
* unix/cusub.c (fsysdep_terminal_raw): Andrew A. Chernov: if
POSIX_TERMIOS, turn of IEXTEN flag.
Sat Jan 2 23:19:27 1993 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgprocess_data): treat a duplicate RR as an RJ.
Fri Jan 1 11:17:30 1993 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, unix/proctm.c: Steven S. Dick: use sysconf
(_SC_CLK_TCK) for TIMES_TICK if possible.
* uuconf/diacod.c: Gregory Gulik: accept an empty dialcode string.
* system.h, uucico.c (main), uucp.c (main), uux.c (main),
unix/run.c: Karsten Thygesen: removed ffork argument from
fsysdep_run.
Wed Dec 30 00:21:55 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/link.c: Andrey G Blochintsev: don't fail just because
destination directories do not exist.
* send.c (flocal_send_open_file): Scott Ballantyne: record file
name when logging send of execution command.
* protz.c: Chip Salzenberg: reformatted to 80 columns.
Tue Dec 29 23:50:52 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconv.c (uvwrite_time): scott@geom.umn.edu: handle midnight
more correctly.
Fri Dec 18 00:49:16 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uucp.c (uccopy), uux.c (main), cu.c (icuput, icutake),
unix/ufopen.c (esysdep_user_fopen): Doug Evans: open files used
for %put and %take using esysdep_user_fopen, rather than with
privileges of uucp. Added frd and fbinary arguments to
esysdep_user_fopen.
Thu Dec 17 00:04:53 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/picksb.c (zsysdep_uupick): Peter Wemm: allocation error.
* uupick.c (main): Peter Wemm: pass INIT_GETCWD to
usysdep_initialize; really quit if 'q' is typed.
* uulog.c (main): Peter Wemm: always canonicalize system name, not
just if using HDB_LOGGING.
* uudefs.h, log.c (ustats), trans.c (ufailed), send.c
(fsend_await_confirm), rec.c (frec_file_end): Peter Wemm: added
fmaster argument to ustats, used only in HDB_LOGGING.
Wed Dec 16 23:35:51 1992 Ian Lance Taylor (ian@comton.airs.com)
* uustat.c (main): Marc Unangst: forgot to call strtol for -y.
* policy.h, sysh.unx: Brian J. Murrell: yet another configuration
parameter: HAVE_BROKEN_SETREUID.
Tue Dec 15 00:13:04 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconv.c (uvwrite_taylor_system): mnichols@pacesetter.com: use
command-path rather than path.
* trans.c (floop): Marc Unangst: don't clear frequested_hangup if
we didn't manage to hang up.
* uucp.h, rec.c (fremote_send_file_init): Oleg Girko: patches to
make code compile if USE_STDIO is 0.
* unix/proctm.c: Tim Peiffer: reverse sense of TIMES_TICK check in
hopes of avoiding ISC preprocessor bug.
* unix/fsusg.h, unix/fsusg.c, unix/bytfre.c, system.h, conf.h.in,
configure.in, unix/Makefile.in, unix/MANIFEST: use new disk space
checking routines from GNU fileutils 3.4.
* unix/opensr.c (zsysdep_receive_temp): don't check free space
here any more.
* policy.h, trans.h, trans.c, rec.c, uucico.c, uudefs.h: Chip
Salzenberg: check amount of remaining space on disk every
FREE_SPACE_DELTA bytes, and abort the file transfer if disk space
gets too low.
Wed Dec 2 00:24:12 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, unix/serial.c (fsserial_set): Frank Conrad: added
HAVE_PARITY_BUG parameter for the Sony NEWS.
Mon Nov 30 00:06:59 1992 Ian Lance Taylor (ian@comton.airs.com)
* lib/spool.c (fspool_file): Andrew Chernov: accept any
alphanumeric character in the name, because it could be a grade
from another system.
Sun Nov 29 22:36:47 1992 Ian Lance Taylor (ian@comton.airs.com)
* lib/buffer.c (ubuffree): scott@geom.umn.edu, Richard Gumpertz:
use a temporary variable to hold the offsetof result.
* configure.in: scott@geom.umn.edu: define HAVE_SYS_SELECT_H
correctly.
* protg.c (fgsend_control): Niels Baggesen: report all non-RR
packets if DEBUG_ABNORMAL.
* unix/cusub.c (uscu_child): Ed Carp: apparently the read and
write calls can get EAGAIN on some systems.
* unix/status.c (fsysdep_get_status, fsysdep_set_status): Chip
Salzenberg: map status values when using SPOOLDIR_HDB.
* rec.c (fremote_send_reply): do file restart correctly for E
commands.
Sun Nov 22 15:09:43 1992 Ian Lance Taylor (ian@comton.airs.com)
* protz.c: Chip Salzenberg: always do bitwise operations on
unsigned values.
* getopt.h: Chip Salzenberg: don't rely on __STDC__.
Thu Nov 19 00:13:46 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/freblk.c: Niels Baggesen: loop over the right list.
* uulog.c (main): Peter Wemm: added -D, -F and -S options, made -f
take an argument and default to showing 10 current lines.
(ulusage): added new options and missing old ones.
Wed Nov 18 22:26:36 1992 Ian Lance Taylor (ian@comton.airs.com)
* rec.c (frec_file_end): Andrey G Blochintsev: call
fsysdep_remember_reception as soon as the file has been moved to
the final destination; write fake execution file via a temporary
file to prevent uuxqt from getting at it early.
* trans.c (usent_receive_ack): don't call
fsysdep_remember_reception here.
* unix/tmpfil.c (ZDIGS): don't use '.', since we use it to
separate parts of the file name.
Sun Nov 15 15:31:49 1992 Ian Lance Taylor (ian@comton.airs.com)
* uustat.c (fsquery_show, csunits_show): Marc Unangst, Chip
Salzenberg: line up uustat -q output.
* sysh.unx, ftw.c (ftw_dir, ftw), srmdir.c (isremove_dir), walk.c
(iswalk_dir): Marc Unangst: stat argument to function argument to
ftw is const.
* unix/serial.c (fsserial_set): Mike Bernson: set CSIZE correctly
when changing parity.
* uux.c (main): Andrew A. Chernov: check for executions which name
the local system, to handle dumb mailers.
* uucp.h: Doug Evans: #undef strerror if HAVE_STRERROR is 0, to
avoid macro definition on Xenix.
* unix/serial.c (fsserial_set): Peter Wemm: only check CRTSCTS if
HAVE_POSIX_TERMIOS.
* cu.c (main): Peter Wemm: use alternates for systems if a call
fails.
* tstuu.c (uprepare_test): Gerben Wierda: set execute bits for
Chat1 and Chat2.
* trans.c (floop): Marc Unangst: don't hang up when requested
unless the send queue is empty.
* uuxqt.c (iqrequestor): Marc Boucher: new function to accept R
command with two arguments, as generated by UUPC.
* uucico.c (faccept_call): Christian Seyb: don't free the system
info until after writing the status.
* configure.in: Marc Boucher: check -lsocket and -lnsl together.
* unix/portnm.c: Stephen J. Walick: it's types.tcp.h, not
tcp.types.h.
* configure.in: Brian Campbell: check for /usr/bin/mailx.
Sat Nov 14 11:11:04 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/hlocnm.c (uuconf_hdb_login_localname): Christian Seyb:
check for _uuconf_unset as well as NULL.
* conn.c (fconn_dial): initialize *ptdialerfound.
* many files: rearranged header files to include "sysdep.h" before
system header files. Also eliminated various pedantic warnings,
and made _uuconf_unset char * to avoid possible alignment
problems.
Tue Nov 10 00:16:35 1992 Ian Lance Taylor (ian@comton.airs.com)
* trans.h, uucico.c (fcall, faccept_call), trans.c (uclear_queue,
floop): Stephen J. Walick: move clean up from end of floop into
uclear_queue, and call it instead of just doing
usysdep_get_work_free.
* unix/serial.c (fsserial_lockfile): Marc Unangst: bad #endif
location for HAVE_SVR4_LOCKFILES.
(fsserial_init): Doug Evans: null terminate the device name.
Sun Nov 8 10:58:59 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (fcall, faccept_call): Stephen J. Walick: call
usysdep_get_work_free here.
trans.c (floop): don't call usysdep_get_work free here.
Sun Nov 1 17:05:07 1992 Ian Lance Taylor (ian@comton.airs.com)
* Released gamma version 1.04.
* configure.in: check that sys/select.h and sys/time.h work
together, since that's how they are currently used.
* cu.c, uustat.c, uuconf/diacod.c: add casts to eliminate
warnings.
* configure.in: don't add strlwr to LIBOBJS.
* policy.h, unix/cohtty.c: Bob Hemedinger: finish Coherent style
locking.
Wed Oct 28 00:20:15 1992 Ian Lance Taylor (ian@comton.airs.com)
* tstuu.c: Ralf Stephan: check HAVE_POLL_H and HAVE_STROPTS_H.
* Nickolay Saukh: accept SVR4 style R request file position.
uudefs.h: added ipos field to struct scmd.
lib/parse.c: accept SVR4 style R request with file position to
start from.
send.c (fremote_rec_file_init): start transferring file from
requested position.
uucp.c, uux.c, uuxqt.c, xcmd.c: initialize ipos field.
Sun Oct 25 10:39:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/serial.c (fsysdep_conn_write, fsysdep_conn_io): T. William
Wells: take special care to ensure we don't write after SIGHUP.
* policy.h, sysh.unx, unix/MANIFEST, unix/Makefile.in,
unix/serial.c (fsserial_lockfile), unix/cohtty.c (new file): Bob
Hemedinger: added HAVE_COHERENT_LOCKFILES.
* unix/cusub.c (uscu_child): Igor V. Semenyuk: accept a 0 return
from read until we have read some data at some point.
Thu Oct 22 10:38:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* proti.c: various tweaks for bad connections.
* uucp.h: T. William Wells: rename strcasecmp and strncasecmp, if
the system doesn't provide them, to avoid the ANSI C name space.
* lib/buffer.c: Bob Hemedinger: put ab in union so that offsetof
will not take the address of an array.
* uuxqt.c (uqdo_xqt_file): Bob Hemedinger: don't take address of
array.
Wed Oct 21 00:05:31 1992 Ian Lance Taylor (ian@comton.airs.com)
* uustat.c (fsnotify): Gert Doering: if the file appears to be
binary, don't include it in any mail message.
* unix/mkdir.c: Michael Yu.Yaroslavtsev: check whether directory
already exists before spawning /bin/mkdir.
* proti.c: Michael Yu.Yaroslavtsev: iIsendpos and iIrecpos should
be long.
* send.c (flocal_send_await_reply): Gert Doering: improved error
messages.
* tli.c, unix/detach.c: include "sysdep.h" before <sys/ioctl.h>.
* configure.in, conf.h.in: added some system specific checks
provided by autoconf.
* tstuu.c, unix/serial.c: Merlyn LeRoy: check for ENODATA as well
as EAGAIN and EWOULDBLOCK.
* uucico.c (faccept_call): Zacharias J. Beckman: if calling back,
clear status first.
* uucico.c (fdo_call, faccept_call): Hans-Dieter Doll: avoid
overflow when turning ulimit value into bytes.
Tue Oct 20 23:12:26 1992 Ian Lance Taylor (ian@comton.airs.com)
* serial.c (fsmodem_carrier): Hans-Dieter Doll: use IS68K LNOMDM
bit if available.
* chat.c (fcsend): Hans-Dieter Doll: advance z after EOT.
* cu.c: T. William Wells: beep on connected and disconnected
messages (only if ANSI_C, to use \a).
* unix/run.c: Peter Wemm: pass fsetuid as TRUE to ixsspawn.
Sun Oct 18 13:58:17 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, unix/serial.c (fsmodem_close): Stephen J. Walick:
added HAVE_RESET_BUG for SCO Xenix.
* configure.in: Igor V. Semenyuk: avoid looking in -linet for
getline, since ISC has a different function there by that name.
* unix/ufopen.c: Igor V. Semenyuk: handle unsigned uid_t.
Sat Oct 17 11:00:30 1992 Ian Lance Taylor (ian@comton.airs.com)
* conf.h.in, configure.in, uucp.h, unix/serial.c
(fsserial_lockfile), lib/MANIFEST: eliminated strlwr.
Fri Oct 16 01:10:56 1992 Ian Lance Taylor (ian@comton.airs.com)
* Igor V. Semenyuk: uuchk.c (ukshow): print max-remote-debug
correctly.
lib/debug.c (idebug_parse): accept DEBUG_NONE.
Thu Oct 15 00:49:58 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/cusub.c (fsysdep_terminal_puts): don't modify zalc before
freeing it up.
* protg.c (fgcheck_errors, fggot_ack, fgprocess_data): Mark E.
Mallett: better handling of error decay.
Wed Oct 14 22:09:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/lock.c: Tomi Vainio: make sure SEEK_SET is defined.
* tcp.c (ftcp_dial): print a better error message if gethostbyname
doesn't set errno.
* Stephen J. Walick: configure.in, conf.h.in: check for
<sys/types.tcp.h>.
tcp.c, unix/opensr.c: include <sys/types.tcp.h> if available.
lib/debug.c, unix/portnm.c, uuconf/int.c, uuconf/llocnm.c,
uuconf/time.c: cast more arguments to eliminate more warnings.
Tue Oct 13 00:25:03 1992 Ian Lance Taylor (ian@comton.airs.com)
* prot.h, proti.c (fistart, fijstart), protj.c, uucico.c, tstuu.c
(uprepare_test), Makefile.in, MANIFEST: added 'j' protocol.
Sun Oct 11 23:45:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, unix/serial.c (fsserial_set): added HAVE_STRIP_BUG to
policy.h to get around stupid Ultrix bug.
* sysh.unx, unix/cusub.c, unix/serial.c (fsserial_open): for
HAVE_BSD_TTY, keep tchars and ltchars in the sterminal structure,
and in fsserial_open disable all interrupt characters.
Sat Oct 10 01:18:31 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/tinit.c (itunknown): Gert Doering: don't save "unknown"
with the other arguments.
Fri Oct 9 00:56:43 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/lock.c: check for running process before doing kill.
Thu Oct 8 00:20:12 1992 Ian Lance Taylor (ian@comton.airs.com)
* chat.c, protf.c, send.c, rec.c, unix/locfil.c: Stephen J.
Walick: cast arguments to strtol and strcspn to avoid warnings.
* uustat.c (fsnotify): Marc Boucher: don't free string from
uuconf_localname, and only prepend remote system name to execution
requests, not to local UUCP commands.
* unix/lock.c (fsdo_lock): Marc Boucher: set fret to TRUE before
going around the loop again.
* uucico.c: Marc Boucher: use 'a' protocol before 'g'.
* unix/spool.c (zsfind_file): Matthias Zepf: fixed typos for
SPOOLDIR_BSD*.
Wed Oct 7 00:03:08 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuname.c (main): Marc Boucher: reverse sense of -a, and do not
display aliases by default.
* uucico.c (fdo_call): Marc Boucher: some systems only provide 14
characters in the Shere line.
* tstuu.c (main): Marc Boucher: add support for STREAMS ptys.
Tue Oct 6 23:16:15 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h: Marc Boucher: improve comments to describe SVR4.
* chat.c (fcsend, fcecho_send, fcecho_send_strip,
fcecho_send_nostrip): Marc Boucher: don't send CR after BREAK or
EOT, and let chat-seven-bit apply to echo checking.
* uuname.c (main): Andreas Vogel: usysdep_exit (TRUE) rather than
usysdep_exit (EXIT_SUCCESS).
Mon Oct 5 22:59:51 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysh.unx, unix/serial.c (fsserial_init): Marc Boucher: avoid
freeing unallocated string.
* unix/serial.c (fsmodem_carrier): Peter Wemm: eliminated useless
undeclared variable which only appeared if HAVE_CLOCAL_BUG.
* cu.c (main): don't require carrier when opening a direct line.
(fcudo_cmd, fcudo_subcmd, uculist_fns, icuunrecogfn): T. William
Wells: give reasonable error messages.
Sun Oct 4 00:03:10 1992 Ian Lance Taylor (ian@comton.airs.com)
* */Makefile.in: T. William Wells: use ar qc rather than ar rc.
* many: T. William Wells: renamed isysdep_* functions to
ixsysdep_*, and renamed isfork, isspawn, and isswait similarly, to
avoid ANSI C namespace restrictions.
* uucp.h: T. William Wells: default size_t to unsigned, not int.
* configure.in: T. William Wells: new definition for
AC_RETSIGTYPE.
* configure.in: T. William Wells: test for sh builtin echo.
conf.h.in: default ECHO_PROGRAM to undefined.
* proti.c (fiprocess_data, fiprocess_packet): fix confusion
between iIremote_winsize and iIrequest_winsize.
* proti.c (fiwindow_wait, fisenddata): wait for a window opening
before sending SPOS.
* proti.c (fiprocess_data): don't send a NAK for a duplicate of
the most recent packet.
* configure.in: Stephen J. Walick: don't use AC_PREFIX, check for
/usr/bin/mail.
* system.h, sysh.unx, send.c (flocal_send_file_init,
fsend_exec_file_init), rec.c (flocal_rec_file_init,
fremote_send_file_init, frec_file_end), xcmd.c
(fremote_xcmd_init), uuxqt.c (uqdo_xqt_file, uqcleanup), uux.c
(main, uxadd_send_file), uucp.c (main, uccopy), uustat.c
(fsworkfile_show, fsexecutions, fsnotify), unix/filnam.c
(zsfile_name, zsysdep_data_file_name, zsysdep_xqt_file_name),
unix/jobid.c (zsfile_to_jobid, zsjobid_to_file), unix/splcmd.c
(zsysdep_spool_commands), unix/splnam.c (zsysdep_spool_file_name),
spool.c (zsfind_file), statsb.c (fskill_or_rejuv,
isysdep_work_time), work.c (fswork_file, fsysdep_get_work,
zsysdep_jobid, bsgrade): Marc Unangst, Brian Murrell: Corrected
support for SPOOLDIR_SVR4, since SVR4 doesn't use grades in file
names. Changed flocal argument to pseq argument in
zsysdep_spool_file_name, and changed flocal argument to bgrade
argument in zfind_file. Added fxqt argument to
zsysdep_data_file_name. Added bsgrade function. Added bgrade
argument to zsfile_to_jobid, and pbgrade argument to
zsjobid_to_file.
Sat Oct 3 11:03:13 1992 Ian Lance Taylor (ian@comton.airs.com)
* MANIFEST, Makefile.in, lib/MANIFEST, lib/Makefile.in,
lib/parse.c: moved parse.c from main directory to lib.
* system.h, unix/size.c, unix/Makefile.in, unix/MANIFEST: moved
csysdep_size into its own file, made it return -1 if the file does
not exist or -2 on other errors.
uustat.c (fsworkfile_show): handle errors from csysdep_size.
send.c (flocal_send_file_init): handle errors from csysdep_size,
removed unneeded calls to fsysdep_file_exists.
* trans.c (flocal_poll_file), tcp.c (ftcp_dial): Bob Cunningham:
declare functions consistently static.
* Makefile.in: Marc Unangst: don't run config.status
unnecessarily.
* configure.in: Marc Unangst: check for socket and t_open in
-lsocket, -lnsl and -lxti.
* uuconf/cmdarg.c: check first character to avoid calls to
strcmp or strcasecmp.
Thu Oct 1 23:44:24 1992 Ian Lance Taylor (ian@comton.airs.com)
* trans.h, uucico.c (fdo_call, faccept_call), parse.c
(fparse_cmd), send.c (flocal_send_request): Gert Doering: SVR4
UUCP uses a dummy string between the notify field and the size,
for some reason.
* tstuu.c (main, uprepare_test): added -n switch to not destroy
existing configuration files.
Fri Sep 25 00:16:35 1992 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgsenddata): T. William Wells: clear bytes correctly so
that resending a packet doesn't get a completely incorrect size.
* send.c (usadd_exec_line): Stephen J. Walick: don't send trailing
spaces on the created execute file, because it confuses Waffle.
Thu Sep 24 00:25:18 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/jobid.c (zsjobid_to_file): Franc,ois Pinard: if the job ID
is too short, return NULL rather than dumping core.
unix/statsb.c (fskill_or_rejuv, isysdep_work_time): handle a NULL
return from zsjobid_to_file.
Mon Sep 21 09:01:02 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/init.c, uuconf/syssub.c: Lele Gaifax: moved
declaration of _uuconf_unset from syssub.c to addstr.c because
NeXT linker does not pull in object files solely because of
variable declarations.
* sysh.unx: Lele Gaifax: typo in ftw declaration.
* lib/Makefile.in, unix/Makefile.in: Lele Gaifax: bug in clean
target.
Thu Sep 17 01:01:13 1992 Ian Lance Taylor (ian@comton.airs.com)
* Released beta version 1.04.
Wed Sep 16 01:02:55 1992 Ian Lance Taylor (ian@comton.airs.com)
* uux.c (main): null terminate the options list for an 'E'
command.
* ustat.c (fsexecutions): allow privileged users to kill remote
execution files, and handle local executions correctly.
* uuconf/hinit.c: added parens to avoid warning.
* unix/splcmd.c: cast to avoid warning.
* unix/serial.c (fsmodem_close): fixed HAVE_SYSV_TERMIO typo.
* trans.c (uqueue_receive, floop, fgot_data): improved timing code
to make fewer system calls.
* send.c (fsend_exec_file_init, fsend_exec_file): handle separate
E file correctly, and make a good statistics file entry for it.
* Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
lib/Makefile.in: use -I flags to permit compilation in a separate
directory. Set up clean targets per GNU standards.
Tue Sep 15 00:07:09 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (zget_uucp_cmd): can't set size_t variable to -1.
* Makefile.in (install): don't install info files. Added new
targets info and install-info.
Mon Sep 14 13:19:42 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuxqt.c (main): Gregory Bond: canonicalize the system name given
by the -s argument.
* system.h, uuconf.h, uucico.c (faccept_call), unix/unknwn.c,
unix/Makefile.in, unix/MANIFEST, uuconf/syshdr.unx,
uuconf/remunk.c, uuconf/hrmunk.c, uuconf/Makefile.in,
uuconf/MANIFEST: support HDB remote.unknown shell script.
* protg.c (igchecksum, igchecksum2): Inspired by Mark Pizzolato,
put in new, improved checksum routines.
* uuxqt.c (uqdo_xqt_file): make sure the execution file still
exists after locking it.
* unix/lock.c (fsdo_lock): don't fail if the lock file is removed
between the link and the open.
* unix/xqtsub.c (fsysdep_execute, fsysdep_lock_uuxqt_dir,
fsysdep_unlock_uuxqt_dir, fsysdep_move_uuxqt_files): use .Xqtdir
for first uuxqt execution, not .Xqtdir0000.
Sun Sep 13 11:51:22 1992 Ian Lance Taylor (ian@comton.airs.com)
* trans.h, uucico.c (fdo_call, faccept_call), send.c
(flocal_send_request), rec.c (flocal_rec_send_request) parse.c
(fparse_cmd): send file size in hex for SVR4 compatibility.
Required new FEATURE_V103 for 1.03 backward compatibility, since
1.03 requires decimal size.
* various: eliminated remaining calls to alloca.
* tcp.c (ftcp_open), tli.c (ftli_open): set FD_CLOEXEC for sockets
and TLI descriptors.
* tcp.c (ftcp_open): switch to real user ID before binding the
socket when running as a server. This will permit uucico invoked
by root to open privileged TCP ports. Don't switch to real ID if
effective ID is already root, to permit an suid root program to be
invoked by anybody.
* uuxqt.c (uqdo_xqt_file): removed special case for system which
does not permit any commands: unnecessary and unusual.
* uucico.c (fconn_call): Ed Carp: clear the SIGHUP signal
indication before opening the modem.
* trans.h, trans.c (fqueue, fcheck_queue, floop, fgot_data),
send.c (fsend_await_confirm), rec.c (frec_file_send_confirm),
uucico.c (fcall, faccept_call): recheck the work queue every 10
minutes. Honor CYM from the remote system. Send CYM if we have
something to do.
Sat Sep 12 15:47:52 1992 Ian Lance Taylor (ian@comton.airs.com)
* Makefile.in: use $(MAKE) instead of make for recursive calls.
* system.h, uucp.c (main), uux.c (main), unix/ufopen.c,
unix/MANIFEST, unix/Makefile.in: added esysdep_user_open to open a
file with user permissions.
Fri Sep 11 00:27:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* uudefs.h, copy.c: added fcopy_open_file.
* policy.h: added HAVE_SAVED_SETUID.
* configure.in, conf.h.in: check for setreuid.
Tue Sep 8 00:11:10 1992 Ian Lance Taylor (ian@comton.airs.com)
* protf.c (ffsendcmd), prott.c (ftsendcmd): eliminate calls to
alloca.
* uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
uustat.c (main), uuchk.c (main), uuconv.c (main), uuname.c (main),
uulog.c (main), uupick.c (main), cu.c (main), lib/getop1.c,
lib/Makefile.in, lib/MANIFEST: added getopt_long, and changed all
calls to getopt to call getopt_long instead.
Mon Sep 7 22:26:51 1992 Ian Lance Taylor (ian@comton.airs.com)
* getopt.h, lib/getopt.c, lib/Makefile.in: bring getopt up to
glibc 1.04; call malloc instead of alloca in exchange.
* system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
(main), uustat.c (main), cu.c (main), uuname.c (main), unix/init.c
(usysdep_initialize): added INIT_SUID, for old systems which don't
do setuid correctly for root.
* cu.c, unix/cusub.c: various minor improvements.
Sun Sep 6 20:25:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* uux.c (uxcopy_stdin): use getchar rather than fread to avoid
SVR4 bug.
* uucico.c (fsend_uucp_cmd): Niels Baggesen: report message when
DEBUG_HANDSHAKE.
* protg.c (fgsend_control): Niels Baggesen: report sending an RJ
when DEBUG_ABNORMAL.
Tue Aug 25 00:07:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/time.c: Zacharias Beckman: let user defined time tables
override the defaults.
Mon Aug 24 00:25:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uuxqt.c (uqdo_xqt_file), unix/xqtsub.c
(zsysdep_xqt_local_file): Jarmo Raiha: expand ~name in uuxqt.c.
* send.c (fremote_rec_reply): SVR4 sends the size of the file with
the RY string, so we do too. We don't look for it, though.
* uustat.c, uustat.1: Don Phillips: removed all printing of years
and seconds. Hope nobody complains.
* uucico.c (fdo_call): don't set the status to TALKING until we
see the Shere string.
* configure.in, conf.h.in, unix/wldcrd.c: if the system has glob,
use it for wildcards. If it doesn't, quote special characters in
the wildcard string.
* uucico.c (fdo_call): Zacharias Beckman: don't report ``Login
successful'' until we see the Shere string.
* prot.c (fsend_data): Don Lewis: bug in crec calculation.
* uustat.c (fsworkfile_show, usworkfile_header, fsnotify): Don
Lewis: show poll files.
* unix/init.c: check LOGNAME and USER environment variables before
invoking getlogin.
* unix/serial.c: Brian Campbell: check for B57600, B76800 and
B115200 in baud rate table.
Sun Aug 23 13:05:28 1992 Ian Lance Taylor (ian@comton.airs.com)
* chat.c (fcsend), tstuu.c (uchild): Chip Salzenberg: call sleep
(2) instead of sleep (1). Hopefully this won't break any chat
scripts.
* system.h, parse.c, trans.c (fqueue, flocal_poll_file), uustat.c
(fsworkfiles_system, fsquery_system), unix/work.c
(fsysdep_get_work, fsysdep_get_work_init): don't delete poll files
immediately, but instead return a 'P' command and delete them when
the command is passed to fsysdep_did_work.
* tstuu.c (uprepare_test): change ``call-request'' to ``request''.
* uuconf/iniglb.c (_uuconf_itimetable): return CMDTABRET_KEEP so
we don't lose the timetable name and definition.
* uuconf.h, send.c (fremote_rec_file_init), rec.c
(fremote_send_file_init), uuchk.c (ukshow), uuconv.c
(uvwrite_taylor_system, uvwrite_hdb_system), uuconf/tsinfo.c
(iirequest), uuconf/hsinfo.c, uuconf/hunk.c, uuconf/syssub.c:
added ``send-request'' and ``receive-request'' commands,
eliminated ``call-request'' and ``called-request'' commands.
* uux.c (main): make sure we are permitted to transfer files
before queuing requests.
* uuconf.h, uucico.c (fcall), uuconf/tsinfo.c, uuconf/syssub.c:
David Nugent: added ``success-wait'' command for systems, to set a
minimum time between successful calls.
* send.c (fremote_rec_file_init): Don Phillips: let a request only
specify the file base name in the TO argument.
* uucico.c (main): Don Lewis: don't exit with success just because
we were able to start uuxqt.
* unix/serial.c (fsmodem_close, fsserial_read): always drop DTR
when closing a modem connection. Also, retry if we time out when
setting MIN.
Sat Aug 22 22:31:34 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/time.c: Stephen Walick: don't require a comma between
time strings, since HDB doesn't seem to.
* protg.c (fgcheck_errors): added "error-decay" protocol parameter
to decay errors as packets are successfully received.
* uustat.c (fsmachines), uustat.1: Chris Lewis: don't display the
year or seconds for uustat -m. Probably uustat -q should be
changed as well.
* tstuu.c: Larry Fahnoe: don't report EWOULDBLOCK errors when
writing to a pty. Also removed functions which are now in lib.
* MANIFEST, Makefile.in, uusched.in: added a simple uusched shell
script.
* parse.c: Heiko Rupp: don't die if there is trailing garbage in
an 'R' command.
* policy.h, system.h, sysh.unx, send.c, rec.c, uuxqt.c, uux.c,
unix/filnam.c, unix/init.c, unix/jobid.c, unix/splnam.c,
unix/spool.c, unix/statsb.c, unix/tmpfil.c, unix/work.c,
unix/xqtfil.c: Brian J. Murrell and Don Phillips: added
SPOOLDIR_SVR4.
Thu Aug 20 00:06:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysh.unx: Chiaki Ishikawa: some systems define some but not all
of the S_ file mode bits.
* uuchk.c (ikshow_port): Chiaki Ishikawa: display lockname.
Wed Aug 19 22:41:39 1992 Ian Lance Taylor (ian@comton.airs.com)
* log.c (ustats): Scott Blachowicz: avoid overflow when reporting
bytes per second.
* unix/lock.c (fsdo_lock): Chip Salzenberg: sometimes other
programs create lock files that uucp can't write.
* trans.h, system.h, trans.c (floop, fgot_data, usent_receive_ack,
uwindow_acked), send.c (flocal_send_await_reply,
flocal_send_fail), rec.c (fremote_send_fail_send,
frec_file_send_confirm), prote.c, protf.c, protg.c, proti.c,
prott.c, protz.c (calls to fgot_data), unix/recep.c,
unix/MANIFEST, unix/Makefile.in: keep trace of whether we have
already received a file, in case the other side never sees our
ack. Added new SN8 rejection, meaning that the file has already
been received.
Sat Aug 15 11:50:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf/time.c (itadd_span): Don Lewis: fixed bug if later span
overlapped two or more earlier spans.
Thu Aug 13 00:19:50 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, rec.c (fremote_send_file_init, fremote_send_reply),
uucico.c (fdo_call, faccept_call), uucp.c (main), uux.c (main),
unix/opensr.c (zsysdep_receive_temp, esysdep_open_receive):
implemented file restart.
Wed Aug 12 23:32:05 1992 Ian Lance Taylor (ian@comton.airs.com)
* proti.c (fiprocess_data): ensure that the first argument to
fgot_data is always > 0 if the second argument is > 0.
Mon Aug 10 22:43:40 1992 Ian Lance Taylor (ian@comton.airs.com)
* trans.c (floop, ustats_failed): handle half-duplex connections
and failed calls correctly.
Sun Aug 9 17:56:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* proti.c (firesend, fisenddata, ficheck_errors): made several
changes to improve performance on a lossy line: can now shrink
packet size using SYNC packets, avoids multiple bad header errors
in a sequence of INTRO characters, avoids letting one side lock up
if a NAK is lost.
* configure.in: set HAVE_LONG_FILE_NAMES to 0 if
cross-configuring.
* tstuu.c: changed -p option to be mod 1000, not mod 100.
* MANIFEST, Makefile.in, prot.h, uucico.c, protz.c, trans.c: Doug
Evans: added Doug Evans's zmodem implementation as protocol 'a'.
Wed Aug 5 22:28:14 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, uuconf.h, uucico.c (fcall), uuconf/tsinfo.c,
uuconf/hsinfo.c, uuconf/syssub.c: added "max-retries" command for
systems, eliminated CMAXRETRIES configuration parameter, set
max_retries to 0 for HDB if retry time given, (from Chris Lewis)
call once a day even if max_retries has been exceeded.
* prot.h, uucico.c (fdo_call, faccept_call), prott.c, prote.c,
proti.c, protg.c, protf.c: added pzlog argument to pfstart
protocol entry point, changed handshake successful message to
display it.
Tue Aug 4 00:04:31 1992 Ian Lance Taylor (ian@comton.airs.com)
* prot.h, uucico.c, protg.c (fbiggstart, cGshort_packets): Chip
Salzenberg: added support for 'G' protocol. Added "short-packets"
protocol parameter for 'g' and 'G' protocols.
* uuconf.h, rec.c (flocal_rec_file_init), uucp.c, uux.c, uuxqt.c,
uuchk.c, uuconv.c, uuconf/local.c, uuconf/tsinfo.c,
uuconf/syssub.c: support UUCP forwarding. Added "forward-from",
"forward-to", and "forward" commands for systems.
* unix/spawn.c: don't close the file descriptor after dupping it.
Sun Aug 2 23:04:18 1992 Ian Lance Taylor (ian@comton.airs.com)
* trans.c (fremote_hangup_reply): don't hangup if a file transfer
is in progress.
* send.c (flocal_send_cancelled): don't pass a NULL buffer to
pfsenddata.
Sun Jul 26 13:28:27 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/work.c (fsysdep_get_work_init): return TRUE if there is no
work directory.
* configure.in, sysh.unx: don't run any programs in configure if
we are cross-configuring; this applies to HAVE_FTIME and
HAVE_RESTARTABLE_SYSCALLS. The code can cope with the buggy
ftime. If we are cross-configuring, HAVE_RESTARTABLE_SYSCALLS is
set to -1, and sysh.unx guesses that if the system has sigvec but
not sigaction or SV_INTERRUPT it is on 4.2BSD and system calls are
automatically restarted.
* configure.in, conf.h.in, tstuu.c, unix/serial.c: removed
COMBINED_UNBLOCK configuration parameter, and changed the code
which sets O_NONBLOCK and O_NDELAY to drop back to using just
O_NONBLOCK if it gets an EINVAL error.
* configure.in, conf.h.in, uucp.h, protg.c (fgsenddata), cu.c
(icutake), chat.c (icexpect), lib/MANIFEST: removed all calls to
memmove, avoiding the SCO bug and making the 'g' protocol slightly
more efficient.
Sat Jul 25 14:20:30 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h, uudefs.h, many other files: broke part of uucp.h out
into uudefs.h, stopped including uuconf.h in uucp.h, fixed up .c
files to include uudefs.h and uuconf.h as necessary.
* uuconf/syshdr.unx, uuconf/callin.c, uuconf/diacod.c
uuconf/hdial.c, uuconf/hdnams.c, uuconf/hport.c, uuconf/hsinfo.c,
uuconf/hsnams.c uuconf/rdlocs.c, uuconf/tcalou.c, uuconf/tdial.c,
uuconf/tdnams.c, uuconf/tport.c, uuconf/vport.c, uuconf/vsinfo.c,
uuconf/vsnams.c: changed uuconf library to not return an error if
a configuration file does not exist; it now acts as though
whatever it is is not found.
* tstuu.c (main): use perror if execl fails.
* configure.in, conf.h.in, uucp.h, uuconf.h, sysh.unx, conn.h,
MANIFEST, Makefile.in, tli.c, chat.c (ccescape), conn.c
(fconn_init), tcp.c, uucico.c (faccept_call), uuconv.c, uuchk.c,
lib/MANIFEST, lib/Makefile.in, lib/escape.c, unix/cusub.c,
unix/serial.c, uuconf/hport.c, uuconf/tportc.c: added support for
TLI connections. Moved ccescape from chat.c to cescape in
lib/escape.c. Made all connections on Unix use the same
system dependent structure.
Tue Jul 21 22:08:10 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h, trans.h, uucico.c (fdo_call, faccept_call), uuxqt.c
(uqdo_xqt_file), uucp.c (main), uux.c (main), uustat.c
(fsworkfile_show), parse.c (fparse_cmd), trans.c (fqueue,
fgot_data, ftadd_cmd), send.c, rec.c, xcmd.c, protf.c
(ffprocess_data), proti.c (fiprocess_data), tstuu.c
(uprepare_tests), unix/splcmd.c (zsysdep_spool_commands),
unix/statsb.c (fskill_or_rejuv), unix/work.c (fsysdep_get_work):
added E request to send file executions which only require reading
from standard input.
Sat Jul 18 20:22:50 1992 Ian Lance Taylor (ian@comton.airs.com)
* proti.c, Makefile.in, MANIFEST, prot.h, system.h, trans.h,
uucico.c, prote.c, protf.c, protg.c, prott.c, trans.c, send.c,
rec.c, xcmd.c, unix/opensr.c: added 'i' protocol. Added local and
remote channel arguments to protocol sendcmd and senddata entry
points. Cleaned up send and receive state machines. Removed
pfgone argument from esysdep_open_send.
Fri Jul 17 09:41:05 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuxqt.c (uqdo_xqt_file): only report base name of execution
file, not full name.
Thu Jul 16 00:45:06 1992 Ian Lance Taylor (ian@comton.airs.com)
* lib/crc.c: unroll the loop a bit.
* configure.in, conf.h.in, unix/init.c: updated to autoconf 0.120.
Wed Jul 15 14:45:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconv.c, uuconf/uucnfi.h, uuconf/reliab.c,
uuconf/tportc.c, uuconf/tdialc.c, uuconf/diasub.c, uuconf/hport.c,
uuconf/prtsub.c, uuconf/vsinfo.c: added UUCONF_RELIABLE_FULLDUPLEX
and "half-duplex" command for ports and dialers.
Mon Jul 13 16:53:04 1992 Ian Lance Taylor (ian@comton.airs.com)
* prot.h, lib/crc.c, lib/Makefile.in, lib/MANIFEST: added icrc
function to compute 32 bit CRC (from Gary S. Brown, via Doug
Evans).
Sun Jul 12 21:40:15 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconv.c (uvwrite_time): Chris Lewis: don't output two commas in
a row.
* uuconv.c (uvwrite_taylor_system, uvwrite_taylor_port): Chris
Lewis: generate command "protocol", not "protocols".
Sat Jul 11 17:09:09 1992 Ian Lance Taylor (ian@comton.airs.com)
* xcmd.c (fremote_xcmd_init): Chris Lewis: use qdaemon->puuconf,
since puuconf is not defined.
* uuconf/syshdr.unx, uuconf/hinit.c (uuconf_hdb_init): Chris
Lewis: added HDB_SEPARATOR to insert between oldconfiglib and
strings in HDB Sysfiles.
* uuconf/syshdr.unx: Chris Lewis: define strerror as a macro.
* uuconf/freblk.c, uuconf/free.c: Chris Lewis: don't define as
void when ! UUCONF_ANSI_C.
Thu Jul 9 09:17:55 1992 Ian Lance Taylor (ian@comton.airs.com)
* prot.h, uucico.c (fdo_call, faccept_call), prote.c (festart),
protf.c (ffstart), protg.c (fgstart), prott.c (ftstart): no need
to pass fmaster as a separate argument to protocol start routine.
* protf.c (ffawait_ack, ffawait_cksum): don't try to resend if we
don't have a file.
Wed Jul 8 14:28:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/srmdir.c (fsysdep_rmdir), unix/walk.c (usysdep_walk_tree):
cast to char * to avoid warning.
* cu.c (main): don't compare boolean to NULL.
* unix/serial.c (isblocksigs), unix/signal.c (usset_signal): use
extra parens to avoid bug in SCO 3.2.2 sys/signal.h header file.
* sysh.unx: always define struct ssysdep_tcp, for the benefit of
systems for which HAVE_TCP is 0.
* MANIFEST, Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
lib/Makefile.in: updated automatic distribution code for multiple
directories.
* unix/cusub.c, unix/serial.c: don't clobber CR when using TERMIO
or TERMIOS, and default MIN to 1 to the convenience of cu.
* Makefile.in, uucp.h, system.h, prot.h, trans.h, uucico.c,
trans.c, send.c, rec.c, xcmd.c, prot.c, protg.c, protf.c, prote.c,
prott.c, log.c, file.c, unix/opensr.c, unix/work.c: rewrote file
transfer internals to support bidirectional transfers. Keep queue
of jobs to do, and support connections. Added new files trans.h,
trans.c, send.c, rec.c, xcmd.c, and removed old file file.c.
Mon Jun 29 15:14:15 1992 Ian Lance Taylor (ian@comton.airs.com)
* Makefile.in: Stephen J. Walick: copy uustat.1 to
uustat.$(manext), not uucp.($manext). Also try to create
$(infodir).
* chat.c (fcsend, fcprogram): check for NULL return from
uuconf_callout.
Thu Jun 18 22:37:28 1992 Ian Lance Taylor (ian@comton.airs.com)
* configure.in, Makefile.in: updated to autoconf 0.118.
Wed Jun 17 14:22:11 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/serial.c (fsserial_init): add /dev if necessary to device
as well as to port name.
* cu.c (main): set zdevice to NULL when faking line.
* cu.c (main), uucp.c (main), uux.c (main), uuxqt.c (main): don't
call zsysdep_localname until we've called usysdep_initialize.
Tue Jun 16 17:42:50 1992 Ian Lance Taylor (ian@comton.airs.com)
* unix/signal.c (usset_signal): set SA_INTERRUPT to force system
calls to be interrupted on SunOS.
Mon Jun 15 15:10:24 1992 Ian Lance Taylor (ian@comton.airs.com)
* everything: integrated uuconf library. Split out lib and unix
libraries. Made many changes, including defaults for port and
dialer files, better handling of changed local name, better
handling of HDB Permissions, new zbufalc routines to manage
strings on the heap. Incorporated uuconv.
Wed Jun 10 23:51:03 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/Makefile.in, uuconf/locnm.c, uuconf/llocnm.c,
uuconf/hlocnm.c, uuconf/tlocnm.c: renamed uuconf_localname to
uuconf_login_localname and added new uuconf_localname which
doesn't need to read system information.
Tue Jun 9 14:19:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/Makefile.in, uuconf/local.c: wrote
uuconf_system_local.
Mon Jun 8 14:14:30 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h: changed description of LOCKDIR, which now need not
always be defined.
* uuconf.h, uuconf/uucnfi.h, uuconf/lckdir.c, uuconf/iniglb.c,
uuconf/tinit.c, uuconf/Makefile.in: added uuconf_lockdir, and
``lockdir'' command to config.
Sat Jun 6 22:07:58 1992 Ian Lance Taylor (ian@comton.airs.com)
* configure.in: updated to autoconf 0.115, added code to set
LIBOBJS.
* uuconf/Makefile.in, uuconf/uucnfi.h: removed references to
routines now in lib/, changed to include regular UUCP header
files.
Fri Jun 5 15:31:29 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/uucnfi.h, uuconf/syssub.c, uuconf/uuconv.c:
always set zpubdir for every system, changed uuconf_zpubdir to
const char *.
Wed Jun 3 15:15:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/Makefile.in, uuconf/deblev.c, uuconf/maxuxq.c,
uuconf/pubdir.c, uuconf/spool.c: wrote uuconf_debuglevel,
uuconf_maxuuxqts, uuconf_pubdir, uuconf_spooldir.
* configure.in: updated to autoconf 0.114.
* uuconf/tportc.c: default TCP ports to being fully reliable.
Mon Jun 1 17:03:22 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/prtsub.c: removed uuconf_psysdep from
uuconf_port.
Sun May 31 00:07:40 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuconf.h, uuconf/Makefile.in, uuconf/diacod.c: wrote
uuconf_dialcode.
* uuconf.h, uuconf/Makefile.in, uuconf/logfil.c, uuconf/debfil.c,
uuconf/stafil.c: wrote uuconf_logfile, uuconf_debugfile,
uuconf_statsfile.
* uuconf.h, uuconf/Makefile.in, uuconf/callin.c: wrote
uuconf_callin.
* uuconf/chatc.c, uuconf/time.c: Jean Mehat: only call tolower if
isupper is true.
* uuconf.h, uuconf/Makefile.in, uuconf/val.c, uuconf/tval.c: wrote
uuconf_validate, uuconf_taylor_validate.
Sat May 30 12:37:02 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, sys1.unx: changed zsysdep_local_name to
zsysdep_localname, and made it fatal out rather than return NULL.
* uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
uuconf/rdlocs.c, uuconf/locnm.c, uuconf/tlocnm.c, uuconf/hlocnm.c:
wrote uuconf_localname, uuconf_taylor_localname,
uuconf_hdb_localname.
* uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
uuconf/tinit.c, uuconf/tsinfo.c, uuconf/hunk.c, uuconf/unk.c:
wrote uuconf_system_unknown, uuconf_hdb_system_unknown,
uuconf_taylor_system_unknown.
* log.c, time.c: always include <sys/types.h> in uucp.h.
* configure.in, conf.h.in: check for size_t, renamed checks for
time_t.
* configure.in, conf.h.in: check for <stddef.h>.
Fri May 29 00:03:05 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysinf.c (ztranslate_system): Jac Kersing: must xstrdup the
argument, since it points to a buffer that will be reused.
Thu May 28 12:42:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys3.unx (zsysdep_real_file_name): Ted Lindgreen: check return
value of zstilde_expand.
* copy.c, sys1.unx (usysdep_detach), sys2.unx (fsserial_close),
sys3.unx, sys5.unx, sys7.unx: opening /dev/tty in usysdep_detach
confuses the NeXT, so instead we just call TIOCNOTTY on 0. In
fsserial_close we call TIOCNOTTY on the port before closing it, to
make sure that we have ditched it under BSD. Also added O_NOCTTY
to every open call other than opening a port, although there are
still several fopen calls which should probably have it somehow.
* system.h, uucico.c (fcall), uustat.c (fsquery_system,
fsquery_show), sys3.unx (fsysdep_get_status), sys7.unx
(zsysdep_all_status): Bob Izenberg: changed output of uustat -q to
count number of commands rather than number of files being
transferred, and to not report a non-existent status. Added
pfnone argument to fsysdep_get_status, and changed all calls.
* uucico.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, sys6.unx,
sys7.unx: Rolf Nerstheimer: cast a bunch of arguments to open,
creat, stat and chmod to avoid compiler warnings.
* uucp.h, log.c (ulog), port.c (fport_close), prot.c (fgetcmd):
Chip Salzenberg: don't log a SIGHUP signal while we're closing
down the connection, since the other side might hang up faster
than we do (we still react to it correctly, we just don't put it
in the log file).
* sys1.unx (usysdep_detach), tcp.c (ftcp_open): Petri Helenius:
update the process ID we log after a fork.
* Makefile.in, sys1.unx: Chip Salzenberg: changed LIBDIR to
SBINDIR.
* uucp.c (main, uccopy): Andreas Vogel: check local-receive of the
correct system, rather than always using sLocalsys.
* configure.in, conf.h.in, sys2.unx, tstuu.c: Rob Janssen: look
for <sys/select.h>, and include it if it exists and we are using
select.
* protg.c: Rob Janssen: rearrange macros to avoid bug in XENIX
compiler.
* configure.in: Scott Blachowicz: check WIFEXITED before assuming
HAVE_UNION_WAIT, to avoid problems on HP/UX.
* configure.in, conf.h.in, sysh.unx, sys1.unx: John Theus: use
sv_onstack instead of sv_flags in the sigvec structure on 4.2BSD.
Wed May 27 23:23:39 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, sys2.unx (fsysdep_modem_no_carrier): Scott Reynolds:
added HAVE_CLOCAL_BUG compilation parameter to work around
problems on some serial ports.
Tue May 26 15:50:17 1992 Ian Lance Taylor (ian@comton.airs.com)
* uustat.c, uustat.1: added a bunch of options to support uuclean:
-e, -i, -K, -M, -N, -W, -Q.
* system.h, sys7.unx (fsysdep_privileged, fskill_or_rejuv): added
fsysdep_privileged function.
Thu May 21 13:30:21 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuxqt.c (uqdo_xqt_file): processing of execution file has to be
case significant; this will change handling of "n" flag, which was
not correctly handled before.
Wed May 20 14:22:12 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys1.unx (usysdep_detach): close the statistics file when
detaching.
* policy.h, sys3.unx (fsdo_lock, fsdo_unlock), sys7.unx
(fsysdep_lock_status): force LOCKDIR to always be defined.
* uucp.h: put in an extern for alloca.
* sysh.unx, sys1.unx, sys5.unx, sys6.unx: defined all the ?_OK
macros in sysh.unx, which means that <unistd.h> must be included
before "sysdep.h" when they are both included.
* sys2.unx (fsserial_set): corrected case in termio switch
expression.
* chat.c (fcsend): simplified expression for old compilers.
* sys1.unx (rmdir): wrote rmdir replacement which invokes
/bin/rmdir for old systems.
* configure.in, conf.h.in, Makefile.in: updated for autoconf
0.112, added checks for ftw, ftw.h, and rmdir.
* sys1.unx: added extern for ctime, removed externs for functions
returning int, protected externs with ifndefs.
* uucp.h, prot.h, system.h, uucico.c (fuucp), uuxqt.c
(uqdo_xqt_file), prot.c (freceive_file), file.c (freceived_file),
sys3.unx (fsysdep_move_file, fsysdep_change_mode), sys4.unx
(zsysdep_save_temp_file): changed fsysdep_move_file to not set the
file mode, and added fsysdep_change_mode to do it instead.
* system.h, uucp.c (main, ucdirfile, uccopy), sys6.unx
(usysdep_walk_tree, isdir, ftw, do_ftw): added -R option to uucp
to recursively copy directories.
Tue May 19 18:29:32 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys3.unx: changed zsysdep_in_dir to always append the filename
to the directory, even if the directory did not already exist.
* sysh.unx, sys1.unx, sys3.unx, sys4.unx, sys5.unx: renamed
fsdirectory_exists to fsysdep_directory.
Mon May 18 14:49:35 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uucp.c (main), sys6.unx (zsysdep_uuto): added -t
option to uucp to emulate uuto, wrote zsysdep_uuto to do Unix
dependent destination translation for uuto, added -p option to
uucp as synonym for -C for uuto compatibility.
Sun May 17 22:04:09 1992 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgexchange_init): permit a second INITB to override the
segment size given in the first INITB.
Tue May 5 16:03:22 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (main, fdo_call), uucico.8: Chip Salzenberg: added -c
option to uucico to not warn if invoked when the system may not be
called.
Tue Apr 28 15:05:01 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysh.unx, sys2.unx (fsserial_open, fsblock): preserve file
status flags.
* protg.c (fgwait_for_packet): Heiko Rupp: only send RJ packet if
there are no unacknowledged packets.
Mon Apr 27 18:56:42 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h: added several routines for cu.
* cu.c, cu.h, sys8.unx: checked into RCS.
* uux.c (main): Jose Manas: dumb bug when checking against
calloc_args.
Fri Apr 24 20:32:06 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys1.unx: changed HAVE_LONG_NAMES to HAVE_LONG_FILENAMES for new
version of autoconf.
* sys7.unx: check UTIME_NULL_MISSING with #if rather than #ifdef.
* sys3.unx: check FS_* macros with #if rather than #ifdef.
* uucp.h, sysh.unx: changed standard type definitions for new
version of autoconf.
* sysh.unx, sys1.unx, sys2.unx, tstuu.c: changed SIGtype to
RETSIGTYPE for new version of autoconf.
* sys1.unx, tstuu.c: make include of <sys/times.h> optional.
* sys2.unx: get the right versions of major and minor.
Wed Apr 22 11:19:11 1992 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgsenddata, fggot_ack): Michael Haberler: the slow
start after error code was essentially shrinking the window size.
* sysh.unx, system.h, sys1.unx (usysdep_initialize), uuchk.c,
uucico.c, uucp.c, uulog.c, uuname.c, uustat.c, uux.c, uuxqt.c:
changed usysdep_initialize to take a single argument with bit
flags, added INIT_NOCHDIR as one of the flags.
* uucp.h, log.c (ulog): added pfLstart and pfLend functions for
ulog, so that cu can use them to restore the terminal settings.
* bnu.c (ubnu_read_systems, fbnu_read_dialer_info), v2.c
(uv2_read_systems): Michael Richardson: don't core dump if no chat
script.
Tue Apr 21 00:19:47 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (faccept_call): Chris Lewis: a successful call in
should clear the number of retries.
* sys2.unx (fsserial_set): set LLITOUT if going to CBREAK mode.
* port.h, prote.c (festart), protf.c (ffstart), protg.c (fgstart),
prott.c (ftstart), port.c (fport_set), sys2.unx
(fsysdep_stdin_set, fsysdep_modem_set, fsysdep_direct_set,
fsserial_set): gave fport_set independent control over output
parity generation, input parity checking, and XON/XOFF
handshaking, all to support cu.
Mon Apr 20 11:47:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* port.h, uucico.c (fdo_call), port.c (fport_dial, fmodem_dial),
tcp.c (ftcp_dial): added separate zphone argument to fport_dial to
support cu.
Thu Apr 16 01:15:42 1992 Ian Lance Taylor (ian@comton.airs.com)
* bnu.c (ubadd_perm, ubadd_perm_alternate): Chris Lewis: handle a
combination of Permissions entries which specify just LOGNAME with
entries that specify both MACHINE and LOGNAME.
Wed Apr 15 16:11:48 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys1.unx (usysdep_initialize, zsysdep_login_name): John Theus:
don't die if can't get login name, unless it's really needed.
Tue Apr 14 12:39:18 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (main, fcall): Petri Helenius: must relock system after
detaching from terminal when trying different alternates.
* system.h, uucico.c (fuucp), uustat.c (fsworkfiles_system,
fsquery_system), sys4.unx (fsysdep_get_work_init,
fsysdep_get_work): Marty Shannon: uustat would remove empty
command files.
* bnu.c (ubadd_perm_alternate): John Harkin: permit ALIAS in
Permissions.
* Makefile.in: John Harkin: add sys?.c dependencies to sys?.o to
work around old makes which don't handle transitive .SUFFIXES.
* sys2.unx: cast some function calls to void.
* time.c (qttime_parse): cast to void warning.
* sys1.unx (iswait): cast waitpid argument to avoid warning.
* configure.in, policy.h, uucp.h, sys7.unx, tstuu.c: Zacharias
Beckman: minor touchups for NeXT.
* sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd), uux.c
(main): Jarmo Raiha: heuristic for whether to get the current
directory can fail.
* sys1.unx: pass argument to uudir, cast sigemptyset calls to
void.
* uucp.texi: Harlan Stenn: correct case of references.
Tue Apr 7 01:02:17 1992 Ian Lance Taylor (ian@comton.airs.com)
* Released version 1.03.
Mon Apr 6 15:49:08 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (faccept_call): Marc Boucher: set *pqsys to NULL.
* bnu.c (ubnu_read_systems, fbnu_find_port): Erik Forsberg:
support multiple character modem classes.
Fri Apr 3 00:37:25 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys2.unx: Petri Helenius: only clear known bits in termio or
termios structure; didn't change HAVE_BSD_TTY handling--maybe next
version.
* configure.in: test TIMES_DECLARATION_OK correctly.
* Makefile.in: update version to 1.03, remove distclean, add
mostlyclean per GNU standards.
* sys1.unx, chat.c: minor cleanups for gcc 2.1.
Thu Apr 2 17:51:36 1992 Ian Lance Taylor (ian@comton.airs.com)
* tstuu.c: conditionally declare times.
* uucp.h, prot.c, sysinf.c, prtinf.c: added gcc 2.0 format
checking to ulog, and fixed a few problems it discovered.
Wed Apr 1 16:21:08 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys3.unx (esysdep_open_receive): David J. MacKenzie: some
USG_STATFS systems use 512 as the block size of f_bfree, despite
the existence of f_bsize.
* port.c (fport_open): initialize stdin port.
* policy.h, log.c: added CLOSE_LOGFILES configuration parameter.
* sys2.unx: T. William Wells: handle a system without <poll.h> or
<stropts.h>.
* configure.in: Franc,ois Pinard: warn if none of napms, nap,
usleep, poll or select are available, since \p will sleep for a
full second.
* Makefile.in: Gerben Wierda: fixed uninstall to set file owner
and mode correctly. Also changed install to handle uucp.info-4
and uustat.1.
* MANIFEST: added uucp.info-4 and uustat.1.
* uustat.1: Wrote.
* uucico.8, uuxqt.8, uucp.1, uux.1: updated -x switch, cleaned up
a bit.
Tue Mar 31 14:40:06 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys1.unx (usysdep_initialize): use $PWD to get the current
working directory if it's defined and correct.
* sys1.unx (usysdep_initialize): Brian Antoine: use name from
getpwname rather than getlogin.
* uucp.texi: David J. MacKenzie: put in a number of corrections.
Also split sys file and config file nodes, and rearranged several
nodes.
* protg.c (fgsenddata): Niels Baggesen: packet to retransmit did
not get reset correctly.
Mon Mar 30 10:03:28 1992 Ian Lance Taylor (ian@comton.airs.com)
* tcp.c (ftcp_reset): Petri Helenius: TCP server never started
uuxqt, because it exited in ftcp_reset.
* policy.h, sysh.unx, sys2.unx (fsserial_lockfile): added
HAVE_SVR4_LOCKFILES configuration parameter.
* sys3.unx (esysdep_open_receive): Niels Baggesen: USG statfs has
an f_bsize field.
Sun Mar 29 23:04:20 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h, sysinf.c, prot.c, prote.c, protf.c, protg.c, prott.c:
Niels Baggesen: added new debugging types abnormal and uucp-proto.
* uucico.c (fuucp), prot.c (freceive_file), file.c
(fstore_recfile): Dirk Musstopf: if a file receive fails before it
starts, perhaps because the file was too large, remember to remove
the temporary file.
* sys2.unx (fsserial_lock, fsserial_open, fsserial_write,
fsserial_io): always block and unblock the read and write
descriptors together.
Sat Mar 28 14:40:50 1992 Ian Lance Taylor (ian@comton.airs.com)
* uustat.c: allow multiple systems and users to be specified at
once; likewise for kills and rejuvenates. Allow old and young to
be combined with systems and users. As suggested by Niels
Baggesen, make machine status output more columnar.
* uucp.h, uucico.c, config.c, sys3.unx: Michael I Bushnell:
renamed enum tstatus to tstatus_type to avoid conflict with
<sys/ioctl.h> on some systems.
* config.c, sysinf.c, prtinf.c, chat.c: David J. MacKenzie: allow
backslash newline quoting in all TAYLOR_CONFIG configuration
files.
* chat.c (fchat): David J. MacKenzie: handle empty subexpect
strings correctly.
* uucico.c (main, fcall): Petri Helenius: must dump controlling
terminal before going to next alternate. Also fixed David J.
MacKenzie bug in which a signal did not prevent the next
alternates from being tried. Also made sure qtime was always
freed up.
* uucp.h, uucico.c (fdo_call), sysinf.c (tialternate), uuchk.c
(ukshow): Franc,ois Pinard: allow a name to be given to an
alternate, and display the name when placing a call.
* chat.c (fcprogram), port.c (fport_open, fport_close): David J.
MacKenzie: send port device rather than port name to a chat
program using \Y; make sure port device is reset if port open
fails and when port is closed.
* uucico.c (fuucp), log.c (ulog, ustats, ustats_close): close log
and statistics file every time master and slave switch roles.
Fri Mar 27 00:31:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (fdo_call): Mark Mallett: minor cleanup.
* uuname.c (main): Franc,ois Pinard: output aliases, added -a
switch.
* uucico.8, uuxqt.8, uux.1, uucp.1: David J. MacKenzie: changed
.TP5 to .TP 5; also updated to 1.03.
* tstuu.c: Roberto Biancardi: if SIGCHLD is not defined, define it
as SIGCLD.
* config.c: David J. MacKenzie: cMaxuuxqts is independent of
HAVE_TAYLOR_CONFIG.
* uucp.h: Gerben Wierda: don't always declare bzero.
* sys7.unx (ussettime, fsysdep_lock_status): Niels Baggesen,
Gerben Wierda: minor patches.
* sys2.unx: Gerben Wierda: minor cleanups.
* uucp.h: Niels Baggesen: simplified debugging message macros to
avoid broken compilers.
* sys2.unx: don't use TIOCEXCL locking.
* sys2.unx: rework HAVE_UNBLOCKED_WRITES == 0 to work even if
writes are unblocked. Correct initialization of fwrite_blocking.
* Makefile.in, configure.in: David J. MacKenzie: various cleanups.
Changed default newconfigdir definition. Supported compilation in
a different directory. Used symbolic links if available. Changed
default infordir definition per Franc,ois Pinard.
* policy.h: David J. MacKenzie: various cleanups.
Thu Mar 26 12:17:41 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys3.unx: reduced race condition in fsdo_lock.
* sys1.unx: Gerben Wierda: various cleanups. Also don't set
sa_flags to SV_INTERRUPT per Chip Salzenberg.
Wed Mar 25 22:20:24 1992 Ian Lance Taylor (ian@comton.airs.com)
* configure.in: Overhauled for readability and functionality as
suggested by T. William Wells and others. Added bug checks,
including for SCO memmove and ftime.
Tue Mar 24 12:18:56 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysinf.c (uiread_systems): fixed handling of alternates in
file-wide defaults.
Wed Mar 18 01:01:25 1992 Ian Lance Taylor (ian@comton.airs.com)
* config.c (tprocess_one_cmd): handle CMDTABTYPE_FULLSTRING
correctly if there are no arguments.
* Released beta version 1.03
* sys1.unx (usysdep_detach): open the controlling terminal in non
delay mode since it might be a modem.
Tue Mar 17 00:01:53 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (fdo_call, faccept_call): T. William Wells: set current
time in status file when call completes.
* sys1.unx (iswait), sys2.unx (fsserial_read, fsserial_write,
fsserial_io): log signals when they occur, even if we continue
some sort of loop, rather than waiting for the next ulog call.
* sys2.unx (fsserial_lock, fsserial_open): don't block when
opening the write descriptor.
Mon Mar 16 00:14:43 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uuxqt.c (uqdo_xqt_file), sys5.unx (fsysdep_execute):
pass command to fsysdep_execute as first element of argument
array.
* tcp.c: declare _exit.
* uucp.h: move definition of const before use for non ANSI C.
* uucp.h, sys1.unx: undefine remove in uucp.h if the system does
not have it to avoid conflict with macro definitions.
* uucico.c, uuxqt.c, protf.c, prott.c, prote.c, config.c, chat.c,
port.c, sys2.unx: miscellaneous cleanups.
* tcp.c (ftcp_open): cast argument to bzero.
* time.c (qtimegrade_parse): cast argument to qttime_parse to
long.
* file.c: changed iRecmode to unsigned int.
* configure.in, uucp.h: on SCO 3.2.2 sig_atomic_t is defined in
<sys/types.h> but not <signal.h>.
* sys1.unx: undefined remove before the function definition to
avoid trouble on systems for which it is a macro.
* Makefile.in: removed dependencies of getopt.o.
* sys1.unx, sys7.unx, tstuu.c: adjusted external declarations.
* getopt.h, getopt.c: get new versions from glibc 1.01.
* sys1.unx: don't declare sigemptyset.
* version.c: updated to beta 1.03.
* chat.c (fcsend): Scott Ballantyne: go ahead and send a character
for an illegal escape sequence rather than failing out.
* uuxqt.c (uqdo_xqt_file), sys5.unx (zsysdep_find_command): cast
result of alloca.
* protg.c (fgprocess_data): Niels Baggesen: improved debugging
information. Also tweaked fgprocess_data code to use memchr to
find the next DLE rather than searching for it by hand.
* uucico.c (faccept_call, fuucp): accept SVR4 -U flag giving
maximum file transfer size; accept and ignore SVR4 -R flag meaning
that the system supports file restart.
Sun Mar 15 00:21:56 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysinf.c (titime, titimegrade): permit a retry time to be
specified as an optional additional argument.
* uucico.c (zget_uucp_cmd, zget_typed_line): turn off DEBUG_PORT
when doing DEBUG_HANDSHAKE.
* policy.h, sysh.unx, sys1.unx, sys2.unx (fsblock_writes,
fsserial_write, fsserial_io): added configuration parameters
HAVE_UNBLOCKED_WRITES and SINGLE_WRITE. Also blocked signals
while clearing afSignal in fsysdep_modem_close.
* chat.c (icexpect, fcsend): turn off DEBUG_PORT while doing chat
script debugging.
* sysh.unx, sys2.unx (fsserial_lock, fsserial_open,
fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
fsysdep_tcp_io): T. William Wells: some systems don't support
unblocked writes, so don't use them.
* port.c (fport_read, fport_write): show calls to fport_read and
fport_write under DEBUG_PORT.
* bnu.c (fbnu_find_port): Scott Ballantyne: accept "Any" as a
Device speed.
Sat Mar 14 20:52:11 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h, system.h, sysh.unx, uucico.c (main, zget_typed_line),
uuxqt.c (main), uucp.c (main), uux.c (main, uxcopy_stdin), tcp.c
(ftcp_open), log.c (ulog, ulog_close), sys1.unx (ussignal),
sys2.unx (fsserial_close, fsysdep_modem_end_dial, fsserial_read,
fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
fsysdep_tcp_io): T. William Wells and Chip Salzenberg: keep an
array of signals so that a new signal doesn't obliterate our
knowledge of an old signal. Johan Vromans: if we get SIGINT
continue the current session but don't start any new ones.
* sysh.unx, sys1.unx (isspawn, espopen, iswait, fsysdep_mail,
fsysdep_run, getcwd, mkdir), sys2.unx (fsrun_chat), sys3.unx
(fsysdep_wildcard_start), sys5.unx (fsysdep_execute), sys7.unx
(fsysdep_lock_status), uuxqt.c (uqdo_xqt_file), tcp.c (ftcp_open),
tstuu.c (uchild): added function isspawn, espopen and iswait and
channeled all execs of new processes and waits through them.
Fri Mar 13 18:00:04 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysinf.c (uset_system_defaults): Chip Salzenberg: changed
default login script timeout to 10 seconds.
* prot.h, prot.c (freceive_data, breceive_char), protg.c, protf.c,
prott.c, prote.c: changed breceive_char to go through
freceive_data rather than calling fport_read directly. Added an
freport argument to freceive_data, and change all old calls to
pass it in as FALSE.
Thu Mar 12 14:49:59 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h: added a padding byte to scmd structure, since at least
one compiler needs it.
* uucp.c (main): use fake local name (from ``myname'' command)
when generating an execution request intended for the local
system.
* sysh.unx: corrected readdir prototype.
* sys2.unx: moved local header files ahead of sleep routine
determination.
* General overhaul to change debugging system. Debugging is now
done by type rather than by number. iDebug is now interpreted as
a bit sequence. DEBUG may only be 0 (no checks or debugging), 1
(checks, no debugging) or 2 (checks and debugging). The debugging
names are parsed by idebug_parse and tidebug_parse in config.c.
The debugging types are additive. Many source files changed.
Inspired by Michael Richardson, Johan Vromans and Peter da Silva.
Wed Mar 11 12:01:03 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, uuxqt.c (uqdo_xqt_file): Chip Salzenberg: support
Internet mail addresses in uuxqt replies (added configuration
parameter HAVE_INTERNET_MAIL to control this).
* sys7.unx (fskill_or_rejuv): permit uucp user to delete any job.
* uucp.h, system.h, sysh.unx, config.c, uuxqt.c (main, uqabort),
sys5.unx (isysdep_lock_uuxqt, fsysdep_unlock_uuxqt), bnu.c
(ubnu_read_sysfiles): Marty Shannon: added max-uuxqts command,
along with support for BNU Maxuuxqts, to limit number of
concurrent uuxqt processes.
* chat.c (icexpect, fcsend), uucico.c (zget_uucp_cmd,
zget_typed_line): improved debugging by avoiding incredibly long
lines.
* system.h, sys5.unx (fsysdep_execute), uuxqt.c (uqdo_xqt_file):
Jon Zeef: if a temporary failure occurs, retry the execution
later.
Tue Mar 10 12:40:30 1992 Ian Lance Taylor (ian@comton.airs.com)
* sysh.unx, sys1.unx (isfork), sys2.unx, sys5.unx, tcp.c:
Franc,ois Pinard: retry fork several times before giving up.
* uucp.h, prot.c (fploop, fgot_data), file.c (usendfile_error,
urecfile_error, frecfile_rewind): Niels Baggesen: if we can't read
or write a file, treat it as a temporary error rather than a
permanent error; if we get an error on write, drop the connection
rather they try to continue.
* uucp.h, system.h, sysh.unx, uucico.c (fuucp), prot.c
(fsend_file, freceive_file), file.c (fsent_file, usendfile_error,
freceived_file, urecfile_error, fmail_transfer), sys1.unx
(usmake_spool_dir), sys4.unx (zsysdep_save_temp_file): if a file
send fails, save the file away rather than lose it forever.
* uucico.c (main): don't run uuxqt if we got a SIGTERM.
* tcp.c (ftcp_open): Petri Helenius: have server fork twice to
avoid zombies.
* port.h, prtinf.c, v2.c, bnu.c (fbnu_find_port), uucico.c
(fdo_call, faccept_call), uuchk.c (fkshow_port): added protocol
command for ports, mostly to support BNU. Also modified uuchk to
make the absence of any matching port or dialer more obvious.
* sys3.unx (esysdep_open_receive): check size of destination file
system as well as temporary file system; handle f_bsize field
under FS_MNTENT.
* configure.in, sysh.unx: test for including <termios.h> and
<sys/ioctl.h> in the same file, setting new configuration
parameter HAVE_TERMIOS_AND_SYS_IOCTL_H accordingly; handle it in
sysh.unx.
Mon Mar 9 00:06:12 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys2.unx (fsserial_close): Franc,ois Pinard: sleep for a second
after closing the serial port to give it a chance to settle.
* sysh.unx (fsetterminfodrain), sys2.unx (fsserial_close,
fsserial_reset, fsserial_set): wait for terminal output to drain
before closing it, resetting it, or changing its parameters.
* uucico.c (zget_uucp_cmd): Ted Lindgreen: strip parity bit from
initial handshake strings.
* system.h, sys3.unx (esysdep_open_send), uucico.c (fuucp): Ted
Lindgreen: don't send a mail message if a file to send has been
removed, since it might have been sent in a previous session.
* uuchk.c (ukshow): Zacharias Beckman: put list of permitted
programs and execution path on separate lines.
* uucico.c (fdo_call, faccept_call): only look for hangup string
in debugging mode, since there's nothing to be done with it
anyhow.
* uucico.c (faccept_call): Ted Lindgreen: report the minimum
transfer grade requested during an incoming call in the log file.
* uucp.h, uutime.h, config.c, uucico.c (fcall), time.c
(ftimespan_match, btimegrade, cmax_size_now): added a new status
type for ``wrong time to call''. If a system can never be called,
this status type is not used (if an attempt is made to call the
system, the status is left unchanged).
Sun Mar 8 11:41:45 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (main, flogin_prompt, faccept_call): Ted Lindgreen: if
we were asked to call a single system, or if a single system
called in, then start uuxqt with -s for just that system.
* uucico.c (main): Ted Lindgreen: ignore the -u option.
* tstuu.c: Ted Lindgreen: don't include <sys/ioct.h> if it's not
there. Also removed the ``ignore this error'' message from the
chat scripts since it's no longer marked as an error.
* sys2.unx (fsserial_set): Ted Lindgreen: if CRTSCTS is defined
and turned on, then don't turn on IXOFF.
* uucp.h, log.c, uucico.c (fdo_call, faccept_call): Ted Lindgreen:
report the port name and (for incoming calls) the login name in
the log file.
Sat Mar 7 10:00:47 1992 Ian Lance Taylor (ian@comton.airs.com)
* port.h, prtinf.c, sys2.unx (fsserial_lockfile, fsserial_lock):
Peter da Silva: added ``lockname'' command to ports to permit
specification of the file name to use when locking.
* sys1.unx (usysdep_detach): let setpgrp fail silently.
* sys2.unx: always include <sys/ioctl.h> if it's present on the
system.
* time.c (btimegrade, cmax_size_now): removed extraneous
semicolons.
* sys2.unx (fsserial_lock, fsserial_open, fsserial_close): support
TIOCEXCL locking.
* sys2.unx (fsserial_open): preserve unknown bits in c_cflag when
using HAVE_SYSV_TERMIO or HAVE_POSIX_TERMIOS.
* prot.h: never included more than once.
Fri Mar 6 21:53:28 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h: Eric Ziegast: some systems don't define EXIT_SUCCESS or
EXIT_FAILURE in stdlib.h.
* uucp.h, uutime.h, uucico.c (fuucp), sysinf.c (uinittimetables,
uaddtimetable), uuchk.c (main, ukshow_size, ukshow_time,
qcompress_span), time.c (all new): rewrote time routines
completely for consistency and simplicity. Fixed bug causing
incorrect maximum possible transfer size. Added new file
uutime.h.
Wed Mar 4 10:06:13 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys2.unx (fsserial_lockfile, fsserial_lock, fsysdep_modem_open,
fsysdep_direct_open, fsysdep_modem_close, fsysdep_direct_close):
Petri Helenius: if the open failed on a serial port, the lock
files were not removed.
* config.c (igradecmp): the local variables in igradecmp have to
be integers; signed characters might not work correctly (although
they would in all normal cases).
* sys4.unx (fsysdep_has_work): Johan Vromans: set *pbgrade
correctly if we still have work left over that we haven't looked
at yet.
* tstuu.c (main, uchoose, fwriteable): Roberto Biancardi: use poll
if we haven't got select.
* uucico.c (zget_uucp_cmd): Michael Haberler: some systems send \n
after Shere, rather than a null byte.
Tue Mar 3 01:03:22 1992 Ian Lance Taylor (ian@comton.airs.com)
* uuxqt.c (main, uqdo_xqt_file): permit local executions, don't
get grade out of system dependent file name.
* sys4.unx (fsysdep_get_work): Bob Denny: warn if we can't open a
command file.
* v2.c (uv2_read_systems): Jeff Putsch: infinite loop when reading
time string.
* uucp.h, sys1.unx, sys2.unx, sys3.unx, tstuu.c, configure.in:
Thomas Fischer: some NeXT compatibility stuff: removed externs of
sleep and alarm, included <libc.h> in uucp.h.
* uucp.h, port.h, uucico.c (zget_uucp_cmd, zget_typed_line),
port.c (cdebug_char, udebug_buffer), chat.c (icexpect, fcsend,
fcphone), log.c (ulog): Michael Richardson: added LOG_DEBUG_START,
LOG_DEBUG_CONTINUE and LOG_DEBUG_END to allow a debugging line in
the log file to be built character by character. Used this new
feature in chat script debugging, rather than having each
character appear on a separate line. Added fPort_debug variable
to control port debugging.
* uustat.c (fsquery, fsquery_system, fsquery_show): handle
execution files queued up for the local system correctly when
using -q option (they still don't show up on any other option).
* uucp.texi, protg.c (fgstart, fgshutdown): Aleksey P. Rudnev:
added remote-window and remote-packet-size 'g' protocol
parameters. Reset the parameters to their default values in
fgshutdown.
* sysh.unx, sys2.unx (fsserial_read, usalarm), sys1.unx
(usset_signal, usysdep_detach), uucico.c (main): overhauled
fsserial_read yet again. The timeout passed in is now an absolute
bound. A special SIGALRM handler does some wierd stuff to avoid
any possible race.
* config.c (uread_config), sysinf.c (uiread_systems,
fcallout_login, fcheck_login), prtinf.c (ffind_port,
fread_dialer_info), chat.c (fctranslate), uucico.c (faccept_call):
T. William Wells: when using HAVE_TAYLOR_CONFIG in combination
with V2 or BNU configuration files, don't complain if the
HAVE_TAYLOR_CONFIG files are missing.
Mon Mar 2 10:21:36 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys2.unx (fsserial_read): T. William Wells: don't arbitrarily
extend read timeout.
* uux.c (main): check iSignal before entering fread, since the
user may have hit ^C earlier in the program.
Sun Mar 1 23:39:33 1992 Ian Lance Taylor (ian@comton.airs.com)
* policy.h, uucp.h, sysh.unx, sys2.unx (fsserial_lock,
fsysdep_modem_close, fsysdep_direct_close), util.c (strlwr),
configure.in: Marc Unangst: added HAVE_SCO_LOCKFILES configuration
parameter to force lock file names to lower case.
Fri Feb 28 00:07:12 1992 Ian Lance Taylor (ian@comton.airs.com)
* system.h, uucico.c (faccept_call, fdo_xcmd), uuxqt.c
(uqdo_xqt_file), uux.c (main), uucp.c (main, ucspool_cmds),
sys3.unx (zsysdep_spool_cmds), uux.1, uucp.1: added -j switch to
uucp and uux to display the jobid of the spooled job.
* uucp.h, system.h, sysh.unx, uucico.c (fuucp, fdo_xcmd,
fok_to_send, fok_to_receive), uuxqt.c (uqdo_xqt_files), uux.c
(main, uxcopy_stdin), uucp.c (main), file.c (freceived_file),
config.c (fin_directory_list), sys1.unx (fsysdep_file_exists,
fsuser_access, fsysdep_in_directory), sys3.unx (esysdep_open_send,
fsysdep_move_file), sys5.unx (fsysdep_xqt_check_file): Chip
Salzenberg: recheck file access permissions before sending, to try
to avoid symbolic link games. Check that the user has search
access on all directories down to the file, and read or write
access to the file or directory itself. Check in uucp and uux as
well as uucico, to provide early messages. Check the standard
input file in uuxqt. Be more careful about creating files in the
spool directory. This eliminates all security problems I know of,
except for a very short race in fsysdep_move_file.
* sys3.unx (esysdep_open_send): give an error message if we try to
send a directory (used to just fail silently).
* system.h, sysh.unx, sys1.unx (usysdep_detach, ussignal,
fsysdep_catch, usysdep_start_catch), sys2.unx
(fsysdep_modem_end_dial, fsserial_read), uux.c (main): T. William
Wells: fsysdep_catch obviously must be a macro, since it calls
setjmp. Also TIOCNOTTY sets the process group to 0, so we don't
have to fork before calling it.
Thu Feb 27 00:08:09 1992 Ian Lance Taylor (ian@comton.airs.com)
* sys1.unx, sys6.unx, sys7.unx: added some extern definitions.
* configure.in, uucp.h, system.h, sysh.unx, uucico.c (main,
ucatch, uabort, zget_typed_line, zget_uucp_cmd), uuxqt.c (main,
uqcatch, uqabort), uux.c (main, uxcatch, uxrecord_file, uxabort),
uucp.c (main, uccatch, ucrecord_file, ucabort), uustat.c (main,
uscatch), uulog.c (main, ulcatch), uuname.c (main, uncatch),
uucheck.c (main, ukcatch), log.c (ulog_fatal_fn, ulog,
ulog_close), tstuu.c (main, uchild, uprepare_test), sys1.unx
(usysdep_initialize, usysdep_detach, usysdep_signal,
fsysdep_catch, usysdep_end_catch, ussignal, fsset_signal,
fsysdep_run, raise), sys2.unx (usalarm, usysdep_pause,
fsserial_lock, fsserial_open, fsysdep_stdin_close,
fsysdep_modem_close, fsysdep_modem_end_dial, fsserial_read,
fsserial_write, fsserial_io), sys5.unx (fsysdep_execute): T.
William Wells: overhaul to support detaching from the terminal and
completely reliable signals. uucico now calls usysdep_detach at
various points; new option -D prevents detaching. The signal
handling code all goes through usysdep_signal, fsysdep_catch and
usysdep_end_catch. A signal now just sets iSignal, which is
checked at various points, notably in the port routines and in the
main loops in uucico and uuxqt.
Tue Feb 25 10:59:23 1992 Ian Lance Taylor (ian@comton.airs.com)
* protg.c (fgwait_for_packet): Bob Denny: reset the count of
timeouts only when data is recognized, so that we aren't fooled by
a sequence of imperfect echoes.
* sys5.unx (zsysdep_get_xqt): Bob Denny: don't warn if opendir
gets ENOENT. I think POSIX requires ENOTDIR, but what can you do?
Mon Feb 24 14:37:10 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucico.c (main, uusage): don't treat an extra argument as a port
name.
* sys3.unx (esysdep_truncate): Roberto Biancardi: support F_CHSIZE
and F_FREESP in esysdep_truncate.
* configure.in, sys2.unx (fsserial_read, usysdep_pause): Roberto
Biancardi: use poll to sleep less than a second if we haven't got
anything else.
* v2.c (uv2_read_systems, fv2_find_port), bnu.c
(ubnu_read_systems, fbnu_find_port, fbnu_read_dialer_info),
uustat.c (fsworkfile_show): Roberto Biancardi: skip spaces and
tabs after doing a strtok ((char *) NULL, "").
* copy.c (fcopy_file), sys1.unx (esysdep_fopen), sys2.unx,
sys3.unx (esysdep_open_receive, esysdep_truncate, fsdo_lock,
fscmd_seq), sys5.unx (fsysdep_execute), sys7.unx, tstuu.c: John
Theus: some systems use <sys/file.h> instead of <fcntl.h>. Also
changed the code to call creat instead of open when appropriate.
Should now work on V7, with the exception of O_NONBLOCK and
O_NDELAY in sys2.unx and tstuu.c.
* uucp.h: John Theus: if we don't have vprintf, ulog is defined
without an ellipsis, so don't declare it with one.
Sun Feb 23 14:45:53 1992 Ian Lance Taylor (ian@comton.airs.com)
* uucp.h, system.h, bnu.c (ubnu_read_systems), config.c
(fin_directory_list), sys1.unx (fsysdep_in_directory), sys5.unx
(fsysdep_xqt_check_file), uucp.c (main), uuxqt.c (uqdo_xqt_file),
uucico.c (fdo_xcmd, fok_to_send, fok_to_receive), tstuu.c
(uprepare_test): only permit files to be received into directories
that are world writeable. Check for this in fsysdep_in_directory,
with a new argument. Changed calls appropriately. In tstuu
create /usr/tmp/tstuu as world writeable.
* bnu.c (ubadd_perm_alternate): Doug Evans: after all that, I got
it wrong: WRITE only applies to remote requests.
* uucp.h, uucico.c (fuucp, fdo_xcmd, fok_to_send, fok_to_receive),
uuxqt.c (uqdo_xqt_file), uuchk.c (ukshow), sysinf.c
(uset_system_defaults, tialternate), sys5.unx
(fsysdep_xqt_check_file), bnu.c (ubadd_perm_alternate): fixed READ
and WRITE handling to match BNU semantics. Added
zcalled_local_send, zcalled_local_receive, zcalled_remote_send and
zcalled_remote_receive fields to ssysteminfo structure for this,
and handled them in all the appropriate places.
Sat Feb 22 22:30:59 1992 Ian Lance Taylor (ian@comton.airs.com)
* Complete overhaul of configuration to use automatic shell
script. Eliminated conf.h, now generated by configure. Renamed
Makefile to Makefile.in. Added policy.h for administrative
decisions and other choices which can not be made automatically.
Many changes to many source files, none having to do with code.
Thu Feb 20 17:57:55 1992 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (fdo_call): Chip Salzenberg: some systems truncate the
Shere= machine name to 7 characters.
Wed Feb 19 14:36:31 1992 Ian Lance Taylor (ian at comton.airs.com)
* sys7.unx (fskill_or_rejuv): make sure that only the submitter or
the superuser is permitted to cancel (or rejuvenate) a request.
* system.h, sysh.unx, sys3.unx (zsfile_to_jobid, zsjobid_to_file),
sys4.unx (zsysdep_jobid), sys7.unx, uustat.c, Makefile, MANIFEST:
wrote uustat. Changed CSEQLEN in sys3.unx from 5 to 4. Added
several new system dependent functions, mostly in sys7.unx.
* system.h, sys1.unx, log.c, file.c, chat.c, protg.c, uucico.c:
rearranged the time functions for the convenience of uustat. Made
isysdep_time take an optional pimicros arguments. Renamed
usysdep_full_time to isysdep_process_time, and made clear that it
need only work within a single process. Changed usysdep_localtime
to take a time returned by isysdep_time rather than always use the
current time. Changed the calls as appropriate.
Tue Feb 18 14:03:19 1992 Ian Lance Taylor (ian at comton.airs.com)
* uuxqt.c (main): pass fdaemon argument correctly to
usysdep_initialize.
Mon Feb 17 17:09:16 1992 Ian Lance Taylor (ian at comton.airs.com)
* uuxqt.c (uqdo_xqt_file): T. William Wells: make sure sh uses
absolute path of command, rather than relying on PATH.
* sys5.unx (zsysdep_find_command): Michael Nolan: allow full
command name to be specified by remote system, not just basename,
if command is not in path.
* log.c (ulog): don't use headers when outputting to terminal.
* sys2.unx (fsrun_chat): Bob Denny: log chat program messages as
LOG_NORMAL, not LOG_ERROR.
Fri Feb 14 00:17:57 1992 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (ucatch), uuxqt.c (uqcatch): Neils Baggesen: under
HAVE_BNU_LOGGING, don't lose the system name when dieing.
* uulog.c, Makefile, MANIFEST: wrote uulog.
* uuname.c, Makefile, MANIFEST: wrote uuname.
* bnu.c (ubadd_perm_alternate): T. William Wells: must xstrdup the
system name before calling uadd_validate.
* log.c (ulog_close): Micheal Nolan: don't refer to eLdebug if the
DEBUG configuration parameter is 0.
* uucp.c (main): Niels Baggesen: abtname must be copied into
memory, or it will be overwritten by the next file to be copied.
Sun Feb 9 00:12:58 1992 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (fuucp), prot.c (fsend_file, freceive_file): Bob Denny:
call fmail_transfer before calling fsysdep_did_work, because the
latter frees up strings used by the former.
* sysh.unx, sys1.unx (mkdir), uudir.c (new file), Makefile: added
HAVE_MKDIR configuration parameter for systems without the mkdir
system call. The emulation function in sys1.unx invokes the new
suid program uudir which sets its uid to uucp and invokes
/bin/mkdir. Added rules to create uudir to Makefile.
Sat Feb 8 14:25:50 1992 Ian Lance Taylor (ian at comton.airs.com)
* sysh.unx, sys1.unx (opendir, readdir, closedir), sys4.unx,
sys5.unx: added HAVE_OLD_DIRECTORIES configuration parameter to
support systems without opendir/readdir/closedir which use
original Unix directory format.
* sysh.unx, sys1.unx (dup2): added HAVE_DUP2 configuration
parameter and dup2 emulation function.
* sys1.unx (zsysdep_local_name): put utsname structure on stack
rather than making it static.
* sysh.unx, sys1.unx (usysdep_initialize, getcwd): if we have
neither getcwd nor getwd, fork /bin/pwd to get the current working
directory.
* system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
(main), uuchk.c (main), sys1.unx (usysdep_initialize), sys6.unx
(fsysdep_needs_cwd, zsysdep_add_cwd): because getting the current
working directory can be expensive on Unix, since some
implementation of getcwd fork a shell to execute pwd, only try to
get the cwd if it is going to be needed by uux or uucp.
* uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
uuchk.c (main), log.c (ulog): handle all possible signals raised
by abort, namely SIGABRT, SIGILL and SIGIOT. In ulog always call
abort rather than raise (SIGABRT).
* sys4.unx (usysdep_get_work_free): the qSwork_file information
was freed up incorrectly if a file transfer failed.
* sysh.unx, sys2.unx: Archaic Zilog System III computers use
setret and longret rather than setjmp and longjmp, so I added a
HAVE_SETRET configuration option.
* prott.c (ftstart, ftsenddata): shifts of integers by more than
15 are not portable.
* prot.c (fsend_file, freceive_file, fploop, fgot_data): I ran
into an old compiler which couldn't handle the calls to pffile, so
I simplified them to use a variable.
* port.c (fmodem_dial): cast result of alloca.
* getopt.h, getopt.c: Jay Vassos-Libove: renamed getopt and
related variables by macro defining them to gnu_*. This avoids
conflicts with system header files and system libraries.
Fri Feb 7 12:08:42 1992 Ian Lance Taylor (ian at comton.airs.com)
* everything: added HAVE_STRING_H and HAVE_STRINGS_H. Removed
include of <string.h> in every source file and put it in uucp.h.
Since I had to change everything anyhow, added 1992 to the
copyright date.
* uucico.c (fcall): Bob Denny: retry time not reached is not
really an error, so just make a normal log entry for it.
Sun Feb 2 01:38:47 1992 Ian Lance Taylor (ian at comton.airs.com)
* uucp.c (main): Get the file name for the destination of a local
copy using zsysdep_real_file_name rather than zsysdep_in_dir,
since the latter doesn't get the basename of the argument.
* sys3.unx (fsysdep_get_status): Niels Baggesen: cast enum to int
before comparison.
* system.h, uucp.c (main), uux.c (main), sys6.unx (fsysdep_access,
fsysdep_daemon_access): Niels Baggesen: check user access to file
since programs are running setuid. Previously uucp and uux
permitted a file readable only by uucp to be transferred to
another system by user request!
* chat.c (fchat): Michael Nolan: portions of a chat string might
be separated by more than just a single space if they are read
from a V2 or BNU configuration file.
Fri Jan 31 19:51:57 1992 Ian Lance Taylor (ian at comton.airs.com)
* protg.c: Chip Salzenberg: change default window size to 7.
* sys3.unx (fsdo_unlock): Michael Nolan: cast result of alloca to
(char *), not that it really matters.
* log.c (ulog): Michael Nolan: if SIGABRT is not defined, just
call abort.
Thu Jan 30 18:19:33 1992 Ian Lance Taylor (ian at comton.airs.com)
* bnu.c (ubadd_perm): Michael Nolan: debugging check was done
wrong for entry with LOGNAME but no MACHINE.
Wed Jan 29 13:28:59 1992 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (zget_uucp_cmd): Patrick Smith: only wait a short time
for the hangup string.
* sys4.unx (iswork_cmp): Patrick Smith: fixed casts to not cast
away const.
Tue Jan 28 11:06:34 1992 Ian Lance Taylor (ian at comton.airs.com)
* sys1.unx, sys3.unx, tstuu.c: Jay Vassos-Libove: removed some
declarations of system functions that conflict with system header
files on BSD/386 alpha.
* Makefile: Jeff Ross: make sure the uninstall target restores the
original file owner and mode.
* protg.c (fgsendcmd): the previous patch wasn't really correct.
Mon Jan 27 22:30:47 1992 Ian Lance Taylor (ian at comton.airs.com)
* log.c (ustats): Marty Shannon: don't report a failed transfer
under USE_BNU_LOGGING.
* sys3.unx (zsysdep_real_file_name): Marty Shannon: a trailing '/'
on the name means that it is a directory, even if the directory
does not already exist.
* uucico.c (fuucp): Marty Shannon: the -f flag indicating that
directories should not be created was not being handled correctly.
* uucico.c (fcall): Chip Salzenberg: set .Status correctly if
wrong time to call.
* protg.c (fgsendcmd): John Antypas: didn't handle null byte at
end of command which was exactly a power of two in length
correctly.
Tue Jan 21 14:37:10 1992 Ian Lance Taylor (ian at comton.airs.com)
* Released version 1.02.
* system.h, uucico.c (main), uux.c (main), uucp.c (main,
zcone_system), sys1.unx (fsysdep_run): Chip Salzenberg: have uucp
and uux start up uucico -s system rather than uucico -r1.
Mon Jan 20 11:45:38 1992 Ian Lance Taylor (ian at comton.airs.com)
* sys1.unx (fsysdep_make_dirs): don't try to create a directory
with no name.
* version.c: change version number to 1.02.
* uucico.8, uuxqt.8, uucp.1, uux.1: change version number to 1.02.
* MANIFEST: removed texinfo.tex; it's twice the size of any other
file, so I think it's just to large to distribute.
* uucico.c (fcall, fdo_call): Marty Shannon: update the time in
the .Status file if it's the wrong time to call, and upon
receiving a call.
Sun Jan 19 13:29:23 1992 Ian Lance Taylor (ian at comton.airs.com)
* protg.c (fgsendcmd, fgsenddata): Dave Platt: if the remote UUCP
accepts packets larger than 64 bytes, assume it can handle
differing packet sizes, so if we have a small amount of data to
send, use a small packet. Besides the two routines mentioned,
also made minor changes to other routines to get the packet length
out of the packet data rather than always assuming the same packet
size.
* conf.h, uucp.h: Matthew Lyle: some systems don't declare errno
in <errno.h>, so I added HAVE_ERRNO_DECLARATION.
* conf.h, uucp.h, util.c (bsearch): added HAVE_BSEARCH
configuration parameter.
Sat Jan 18 17:45:28 1992 Ian Lance Taylor (ian at comton.airs.com)
* tstuu.c (utransfer): Mike Park: don't sleep when the input
buffer is full; it's too slow.
* Makefile: when making a distribution,change the mode of separate
copies of the configuration files Makefile, conf.h and sysh.unx.
* uucico.c (faccept_call): Marty Shannon: update .Status file on
incoming calls.
* uucp.h, prot.h, uucico.c (fuucp), prot.c (fsend_file,
fpsendfile_confirm, freceive_file, fprecfile_confirm, fxcmd,
ustats_failed), file.c (fsent_file, usendfile_error,
freceived_file, urecfile_error, frecfile_rewind, fmail_transfer):
reworked calls to fsydep_did_work and sending of mail messages to
be more sensible. Now sends mail to requestor if request fails
permanently and does not remove file if request fails only
temporarily.
Thu Jan 16 11:33:08 1992 Ian Lance Taylor (ian at comton.airs.com)
* protg.c (fgsendcmd, fgsenddata): zero out unused bytes in short
packets.
* prot.c (zgetcmd), protf.c (ffsendcmd), prott.c (ftsendcmd),
prote.c (fesendcmd): Niels Baggesen: added some debugging
messages.
* protg.c (fgsendcmd): corrected misspelling in debugging message.
* log.c (ustats): Niels Baggesen: add FAILED to end of xferstats
line if appropriate.
* uuxqt.c (uqdo_xqt_file): Niels Baggesen: was checking strcmp
return value incorrectly, so messages to other systems were not
being sent.
* sys2.unx, tstuu.c: Mike Park: ioctl is sometimes declared
varadic, so we can't declare it.
Wed Jan 15 02:03:43 1992 Ian Lance Taylor (ian at comton.airs.com)
* sys1.unx: put \n at end of fsysdep_run error message.
* sysh.unx, sys1.unx, sys2.unx, tstuu.c: Mike Park: on some
systems <sys/time.h> includes <time.h> but <time.h> can only be
included once; added HAVE_SYS_TIME_AND_TIME_H to sysh.unx.
* tstuu.c: Mike Park: removed prototype for times since some
systems don't have clock_t.
* conf.h, sys2.unx, util.c: Mike Park: some systems don't have
<limits.h>. Every macro used from it already had a check to make
sure it was defined anyhow.
* tstuu.c (uprepare_test): Mike Park: sh on NeXT interprets a
leading ~, so we have to quote the argument to system(3).
Incredible.
* conf.h, uucp.h: Mike Park: if HAVE_ALLOCA is 0 when compiling
with gcc, don't define alloca as a macro. This will let the NeXT
define it in some header file.
* sysh.unx, sys2.unx, sys5.unx, tstuu.c: Mike Park: handle
HAVE_UNION_WAIT completely. Assume that system(3) returns an int
which should be put into the w_status field. Define macros for
union wait if they are not already defined. Move all this stuff
into sysh.unx rather than duplicating it in three different files.
* conf.h, uucp.h, sysh.unx, config.c, bnu.c, v2.c, uucico.c,
uuxqt.c, uux.c, uucp.c, uuchk.c, Makefile: set directory to look
for configuration files in in Makefile rather than in sysh.unx.
This forced a number of changes, as now all new style
configuration files are looked up using NEWCONFIGLIB. Old style
configuration files are looked up using OLDCONFIGLIB.
Mon Jan 13 00:35:43 1992 Ian Lance Taylor (ian at comton.airs.com)
* sys3.unx: David Nugent: don't declare chmod, since it may be
prototyped to take an argument that is smaller than an int.
* uucico.c (faccept_call): Chip Salzenberg: only declare sportinfo
if it will be used (if HAVE_TAYLOR_CONFIG is true).
* sys3.unx (isysdep_get_sequence): Chip Salzenberg: avoid use
before set warning from gcc.
* protf.c (ffprocess_data): Chip Salzenberg: avoid use before set
warning from gcc.
* sysh.unx, sys2.unx (fsserial_read, usysdep_pause): Chip
Salzenberg: added HAVE_USLEEP configuration parameter for the AIX
usleep routine.
* uuchk.c, prtinf.c, config.c: Chip Salzenberg: strcmp is a macro
on AIX, so avoid declaring it and undef it in config.c where we
want to declare it because we want to take its address.
* uucp.h, sys3.unx (fsysdep_get_status, fsysdep_set_status): Chip
Salzenberg: handle out of range status codes in status files.
* Makefile, sysh.unx: defined LIBDIR in the Makefile, rather than
forcing the user to define it in two different places.
* sys.unx, tstuu.c: Chip Salzenberg: can't declare execl, since it
is varadic.
* sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: David Nugent:
can't declare open or fcntl, since they may use ... in header file
prototype; added declaration for popen; added casts of first mkdir
argument to char *.
* sysh.unx, tstuu.c (uchild): Mike Park: added HAVE_WAITPID and
HAVE_WAIT4 configuration parameters to allow the use of wait4 as
found on the NeXT.
* tstuu.c (uprepare_test): Mike Park: use IPUBLIC_DIRECTORY_MODE
rather than S_IRWXU | S_IRWXG | S_IRWXO.
* sysinf.c (tisystem): Mike Park: ulog was being passed the wrong
number of arguments.
Sun Jan 12 14:32:47 1992 Ian Lance Taylor (ian at comton.airs.com)
* Eliminated CONFIG, INSTALL and THANKS. They are now included in
uucp.texi. Changed README and MANIFEST accordingly. Added
uucp.info* and texinfo.tex to MANIFEST.
* Makefile, uucp.texi: renamed taylor.texi to uucp.texi.
* uucico.c (fcall, fdo_call): John Antypas: pass in sportinfo
structure for fdo_call to use for an unknown port.
* log.c (ulog): allocate enough bytes to name file if
HAVE_BNU_LOGGING is in use but zLogfile has no %s.
Sat Jan 11 12:11:56 1992 Ian Lance Taylor (ian at comton.airs.com)
* Makefile: changed to correspond to GNU standards, according to
standards.text of 24 Nov 91.
* Makefile: Franc,ois Pinard: use $(INSTALL_PROGRAM) and
$(INSTALL) rather than cp to install the programs.
* time.c (ftime_now), sys1.unx (usysdep_localtime): John Antypas:
use memcpy to get the result of localtime rather than relying on
structure assignment.
* sysh.unx, prtinf.c: Hannu Strang: changed definition of
SYSDEP_STDIN_CMDS to pass structure instead of address of
structure to avoid bug in AIX compiler which causes it to fail to
recognize an address constant containing the -> operator.
Tue Jan 7 10:22:43 1992 Ian Lance Taylor (ian at comton.airs.com)
* Released beta 1.02.
* protg.c (fgcheck_errors): discount out of order packets in the
total error count, and allow a negative error count to mean that
any number of errors are accepted.
* sysinf.c (tadd_proto_param): Niels Baggesen: allocate number of
protocol parameters based on *pc, not sIhold.cproto_params.
Sat Jan 4 16:42:21 1992 Ian Lance Taylor (ian at comton.airs.com)
* log.c (ulog): tweaked HAVE_V2_LOGGING slightly.
* v2.c (uv2_read_systems): set chat script correctly.
* uucp.h, sys3.unx: avoid redefining SEEK_SET if it appears in
<unistd.h> but not <stdio.h>.
* chat.c (fcsend): made fcsend into a static function.
* uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, uuchk.c, version.c:
changed abProgram and abVersion from const char [] to char []
because the Microsoft compiler on SCO can't handle const char []
arrays correctly.
* uux.c (main): allocate enough space for log message.
* sys1.unx (usysdep_localtime): to get the current time, we can't
call usysdep_full_time if the latter uses times.
* sys1.unx, sys3.unx: added a couple more extern definitions for
SCO 3.2.2.
* uucico.c (main): start uuxqt even if a call fails.
* sysh.unx, system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
(fsysdep_xqt_check_file): Chip Salzenberg: added configuration
option ALLOW_FILENAME_ARGUMENTS to permit arguments that look like
filenames, to allow undoing the patch I just made.
Fri Jan 3 00:44:59 1992 Ian Lance Taylor (ian at comton.airs.com)
* system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
(fsysdep_xqt_check_file): David J. Fiander: make sure that if an
argument looks like a filename we are permitted to access it.
* sys3.unx (fsdo_lock): remove temporary file if link fails in
fsdo_lock.
Thu Jan 2 00:01:53 1992 Ian Lance Taylor (ian at comton.airs.com)
* protg.c (fgstart, fgshutdown, fgprocess_data): count remote
rejections separately from resent packets when counting errors.
Tue Dec 31 14:31:38 1991 Ian Lance Taylor (ian at comton.airs.com)
* protg.c (fgstart): Franc,ois Pinard: forgot to initialize
cGdelayed_packets.
* prot.h, uucico.c, prote.c: added the 'e' protocol, creating the
new file prote.c
* prot.c (freceive_data), protf.c (fffile), prott.c (ftfile):
changed pffile protocol entry point to pass number of bytes being
sent; fixed bug in freceive_data which caused to ask for the wrong
number of bytes when the buffer was empty.
Mon Dec 30 23:16:48 1991 Ian Lance Taylor (ian at comton.airs.com)
* sys2.unx (fsserial_open): Chip Salzenberg: don't turn on IXON
and IXOFF initially; after all, the initialization packets might
contain an XOFF character.
Sun Dec 29 00:00:42 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucp.h, prot.c (fploop): John Theus: check for EOF before
reading from file to work around bug in Tektronix library.
* protg.c (fprocess_data): don't send RR packets when an error
occurs; the other side will probably ignore them, and it may
confuse some Telebit modems.
* sys1.unx (usysdep_localtime): don't take the address of a cast
value.
* log.c (zldate_and_time): wasn't allocating enough buffer space.
Sat Dec 28 01:09:58 1991 Ian Lance Taylor (ian at comton.airs.com)
* uuxqt.c (uqdo_xqt_file): forgot to initialize zmail.
* uucp.h, time.c, copy.c, sys1.unx, sys2.unx, sys3.unx, sys4.unx,
sys5.unx, config.c, log.c, uuxqt.c, uux.c, tstuu.c: added a bunch
of externs to decrease the number of implicit function
definitions.
* system.h, sys1.unx (usysdep_localtime), log.c (zldate_and_time):
Lele Gaifax: put the full year in the log file, using the format
YYYY-MM-DD HH:MM:SS.HH (ending in hundredths of seconds).
* config.c (uprocesscmds): Terry Gardner: allow a # to be quoted
in a configuration file. Also made uprocesscmds reentrant.
* sysh.unx, sys2.unx (fsrun_chat), sys5.unx (fsysdep_execute),
tstuu.c (uchild): Monty Solomon: added HAVE_UNION_WAIT
configuration option to pass a variable of type union wait to the
wait and waitpid system calls.
* sysh.unx, sys1.unx (usysdep_initialize): John Theus: added
HAVE_GETWD to use getwd instead of getcwd.
* sysh.unx, sys1.unx (usysdep_full_time): added HAVE_FTIME
configuration option.
* tstuu.c (uchild): use TIMES_TICK from sysh.unx rather than
CLK_TCK.
* conf.h, uucp.h, util.c, getopt.c, tstuu.c: added HAVE_STRCHR and
HAVE_INDEX to conf.h.
Fri Dec 27 01:00:41 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (fuucp): set fmasterdone correctly when running as a
slave.
* port.c (cpshow, upshow, fport_read, fport_write, fport_io):
cleaned up debugging code by isolating out upshow and by making
cpshow handle backslash.
* tstuu.c (uprepare_test): create spool directories by hand, to
make sure test 6 can be done and to test creating needed
directories.
* conf.h, uucp.h, bnu.c, v2.c, chat.c, protg.c, prott.c, sysinf.c,
tcp.c, getopt.c, tstuu.c, util.c: added HAVE_MEMFNS and HAVE_BFNS
to conf.h. Changed memset calls to use bzero.
* protg.c (fgcheck_errors, fgprocess_data): added protocol
parameter ``errors'' to set maximum number of errors permitted.
Also made fgprocess_data only reply once per batch of data.
Thu Dec 26 17:54:54 1991 Ian Lance Taylor (ian at comton.airs.com)
* tcp.c (ftcp_dial, itcp_port_number): Monty Solomon: cast
arguments to avoid prototype errors on NeXT.
Mon Dec 23 00:16:19 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucp.h, sysinf.c, uucico.c (main, flogin_prompt, faccept_call),
uuchk.c (main): David Nugent: allow debugging level to be set for
a specific system.
Sun Dec 22 15:51:10 1991 Ian Lance Taylor (ian at comton.airs.com)
* conf.h, uucp.c, sysh.unx, tcp.c, sys1.unx, sys2.unx, sys3.unx,
sys5.unx, sys6.unx, tstuu.c: Monty Solomon: added HAVE_UNISTD_H to
conf.h for systems which don't have <unistd.h>. Also added
externs for all functions from <unistd.h>, which required adding
definitions for pid_t, uid_t and off_t to sysh.unx.
* config.c, prtinf.c, time.c, uuchk.c: added externs for
strcasecmp or strncasecmp, to avoid implicit function definitions
now that I took the prototypes out of uucp.h.
* sys3.unx (fsysdep_get_status): Franc,ois Pinard: the code added
to avoid scanf had a stupid bug.
* uucp.h: Monty Solomon: removed prototypes for strcasecmp and
strncasecmp from uucp.h, since they may be in string.h.
Sat Dec 21 16:04:58 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucp.h, uucico.c (ucatch), prot.c (fpsendfile_confirm,
fprecfile_confirm, ustats_failed), file.c (fsent_file,
freceived_file), log.c (ustats): Terry Gardner: record failed file
transfers in the statistics file.
* uucico.c: change protocol ordering to 't', 'g', 'f'.
* uucico.c (faccept_call), tstuu.c (uprepare_test): John Theus:
don't warn if the port file doesn't exist when the slave mode
uucico looks up the port.
* sys1.unx, sys5.unx: moved fsysdep_file_exists from sys5.unx to
sys1.unx so that uucico can call it.
* uux.c: Fran,cois Pinard: remove parentheses from ZSHELLSEPS so
that they may be used to quote arguments as documented. This
means that may not be used to start subshell, but that is no great
loss.
* uux.c (main): use ulog to report illegal grade error message.
* sys1.unx (fsysdep_run): use the real program name from abProgram
in the error messages in fsysdep_run.
Thu Dec 19 19:02:28 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (fdo_call, faccept_call): Terry Gardner: put the length
of the conversation in the ``Call complete'' log file message.
* uux.c: added space and tab to ZSHELLSEPS, because otherwise the
command was parsed to include whitespace.
* protg.c, protf.c: Oleg Tabarovsky: added statistical logging
messages to the 'g' and 'f' protocols. These go to the main log
file right now, but I'm not sure if that's appropriate.
* sys2.unx (fsserial_set): don't change terminal settings if we
don't have to.
* port.c (fport_io): add complete diagnostics for fport_io so we
can see every byte that goes in or out.
* uucico.c (fuucp): don't give user name in errors produced by
getting the next command.
* uuxqt.c (main): don't process execute files for unknown systems.
This is not unreasonable, I hope, and it avoids errors caused by
an uninitialized sUnknown structure.
* sys4.unx (fsysdep_get_work_init): sort the previously found
files all together so we can correctly check new files using
bsearch.
* protf.c (pfprocess, pfprocess_data, pfwait): Franc,ois Pinard:
don't kill 'f' protocol because of an illegal byte. Also slightly
optimized the protocol to wait for up to seven characters at a
time rather than just one.
Wed Dec 18 00:12:42 1991 Ian Lance Taylor (ian at comton.airs.com)
* sysh.unx, sys2.unx, tstuu.c: Terry Gardner: added
USE_FOR_UNBLOCKED configuration parameter to support systems that
don't permit O_NONBLOCK and O_NDELAY to both be set.
* tstuu.c (uchild): give the uucico processes a chance to die on
their own rather than killing them immediately.
* uuxqt.c (main, uqdo_xqt_file): David Nugent: keep rescanning the
list of execute files until nothing can be done. Also, don't
remove the execute file if we get some sort of internal error.
* sys4.unx (fsysdep_get_work, usysdep_get_work_free): David
Nugent: after we've processed all the work files we found
initially, rescan the work directory to pick up any that may have
come in in the meantime. Also, reset iSwork_file to 0 in
usysdep_get_work_free so that we can handle more than one system.
* tstuu.c, uucico.c (main, fwait_for_calls, flogin_prompt): added
-l option to uucico to prompt for the login name and password once
and then exit.
Tue Dec 17 00:24:41 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, config.c
(uread_config), log.c (ulog): eliminated ulog_program and added
abProgram and ulog_to_file. Made log messages output to stderr
more Unix like.
* log.c (ulog): use a fixed number of fields in a log file message
by replacing a missing system or user with '-'.
* port.h, chat.c (renamed fchat_send to fcsend), bnu.c
(fbnu_read_dialer_info), prtinf.c (tpcomplete), sys2.unx
(fsysdep_modem_close), uuchk.c (ukshow_dialer): T. William Wells:
change the modem complete and abort strings into chat scripts.
* sys2.unx (fsserial_open): on BSD start in RAW mode to avoid
dropping characters when we switch over. I originally thought
being able to use XON/XOFF was worth the risk; I no longer think
so.
* tstuu.c (uprepare_test): have shell script sleep before printing
the login name to make sure the second system has finished
flushing its input buffer.
* protg.c (fginit_sendbuffers), prott.c (ftsendcmd): David Nugent:
avoid sending confidential information by zeroing out memory
buffers before using them.
* sysinf.c (tirequest, titransfer), prtinf.c (tpseven_bit,
tpreliable, tpdtr_toggle): Marc Unangst: several functions did not
accept true and false as boolean strings, contradicting the
documentation.
* uucp.h, system.h, sysh.unx, sys1.unx (usysdep_full_time), file.c
(fstore_sendfile, fsent_file, fstore_recfile, freceived_file),
log.c (ustats): generate statistics in microseconds instead of
seconds for more accurate time keeping.
* sys2.unx (fsserial_open): David Nugent: flush pending input
when a serial port is opened. This will clear out a
NO\sCARRIER string left by a previous dropped connection.
Mon Dec 16 11:26:17 1991 Ian Lance Taylor (ian at comton.airs.com)
* uucico.c (main), uuxqt.c (main), tstuu.c (main, uchild): David
Nugent: ignore SIGHUP in uucico and uuxqt, so that they are
unaffected by the parent shell closing down and by the remote
terminal dropping the connection.
* bnu.c (ubnu_read_sysfiles, ubnu_read_systems, fbnu_find_port,
fbnu_read_dialer_info): Mike Bernson: ignore lines that begin with
whitespace, fix compilation error.
Sat Dec 14 20:59:10 1991 Ian Lance Taylor (ian at comton.airs.com)
* sys2.unx (fsserial_open): don't turn on ISTRIP initially.
* uucp.h, sysinf.c, chat.c (icexpect), uuchk.c (ukshow_chat):
added chat-seven-bit command to allow control over whether
parity bits are stripped out of chat scripts.
* uucp.h, port.h, chat.c (fchat, fcprogram),
config.c (tprocess_one_cmd), prtinf.c,
sysinf.c (tichat, tprocess_chat_cmd),
bnu.c (fbnu_read_dialer_info), port.c (fpdo_dial),
uucico.c (fdo_call, faccept_call) uuchk.c (ukshow_chat):
changed processing of chat commands to go through
tprocess_chat_cmd, avoiding repetition. All chat script
information is now held in an schat_info structure.
Eliminated the fchat_program function, renaming it fcprogram
and making it static to chat.c (it is now called via fchat).
Added CMDTABTYPE_PREFIX. Added INIT_CHAT macro to initialize
chat script information. Added TTYPE_CMDTABTYPE and
CARGS_CMDTABTYPE to eliminate hex constants in
tprocess_one_cmd.
* sys5.unx (zsysdep_get_xqt): Oleg Tabarovsky: don't stop
processing files just because opendir failed on one; it could just
be because we don't have read permission.
Fri Dec 13 17:43:52 1991 Ian Lance Taylor (ian at comton.airs.com)
* config.c (uprocesscmds): don't continually allocate and free the
array of arguments.
Thu Dec 12 12:46:01 1991 Ian Lance Taylor (ian at comton.airs.com)
* prot.c (fgetcmd): Franc,ois Pinard: don't bother to give an
error if the final HY doesn't come in; apparently the MtXinu UUCP
doesn't send it.
* chat.c (icexpect, fchat_send): Franc,ois Pinard: add some chat
script debugging messages.
* log.c (ulog): David Nugent: move ERROR: from the start of the
line to after the date and time; this makes it easier to use awk
on log files.
* sys3.unx (fsdo_lock), sys1.unx (usysdep_initialize): do locking
using link rather than O_CREAT | O_EXCL to avoid race conditions
and to safely run as the superuser.
* sys3.unx (fsysdep_move_file): fcopyfile now creates the
destination file with IPRIVATE_MODE, so we don't need to chmod to
it.
* sys1.unx (usysdep_initialize, fsysdep_other_config): set the
GID as well as the UID, in case anybody wants to run this as a
setgid package.
Wed Dec 11 10:03:22 1991 Ian Lance Taylor (ian at comton.airs.com)
* conf.h, uucp.h, util.c (strtol): Mark Powell: added my own
version of strtol to util.c, for systems which lack it.
* protg.c (fgstart, fgexchange_init): if we start resending
packets during initialization, don't forget which packets we have
already seen; otherwise the other side may assume we've already
seen them while we're looking for them.
Tue Dec 10 15:42:41 1991 Ian Lance Taylor (ian at comton.airs.com)
* conf.h, sysh.unx, log.c (ulog, ustats), tstuu.c (uprepare_test):
Arne Ludwig: merged in Arne Ludwig's patches to support V2 and BNU
style logging, with some minor additions and changes.
* sys1.unx, sys3.unx, sys5.unx, uux.c, uucp.c, uucico.c, copy.c,
uucp.h, system.h: create directories when necessary rather than
assuming that they exist. Added fmkdirs argument to esysdep_fopen
and fcopy_file, changing all calls. Added fpublic argument to
fsysdep_make_dirs, changing all calls. Moved fsysdep_make_dirs
and fsdirectory_exists from sys3.unx to sys1.unx. Added checks
for ENOENT in several places in sys3.unx and sys5.unx.
* log.c, port.c (fport_open), sys2.unx (fsserial_open): added
ulog_device routine to record device name. This is currently only
used for the BNU statistics file, but more uses might arise later.
* file.c, log.c, uucp.h: moved statistics file routines from
file.c to log.c in preparation for supporting BNU log file
routines.
Mon Dec 9 12:00:52 1991 Ian Lance Taylor (ian at comton.airs.com)
* bnu.c (ubnu_read_systems): Arne Ludwig: the device entry for a
system can be followed by a comma and a list of protocols.
* sysh.unx, sys3.unx (fsdo_lock): Richard Todd: add
HAVE_V2_LOCKFILES, in which the process ID is written out in
binary.
* uuxqt.c (uqdo_xqt_file): Richard Todd: the requestor address is
relative to the requesting system.
* config.c (uprocesscmds, umulti_pushback): Richard Todd: each
line pushed back because of "#" is local to a particular
smulti_file structure.
* prtinf.c (asPdialer_cmds): Richard Todd: exit the current dialer
if the special command "#" is seen. A similar thing should be put
in for ports, but it's marginally more complex.
* config.c (uprocesscmds): Richard Todd: don't warn if the special
"#" command is unrecognized.
Sat Dec 7 13:05:40 1991 Ian Lance Taylor (ian at comton.airs.com)
* config.c (uprocesscmds): Franc,ois Pinard: don't limit the
number of arguments to a command!
* chat.c (fchat): handle a chat script which consists only of a
single string.
Fri Dec 6 16:11:29 1991 Ian Lance Taylor (ian at comton.airs.com)
* sys5.unx (fsysdep_execute): David J. Fiander: if execve fails
with ENOEXEC, try using /bin/sh with a quoted argument.
* uux.c (main): split arguments the way /bin/sh does. If any
shell metacharacters appears, request uuxqt to execute the command
using /bin/sh.
* tstuu.c (uprepare_test): allow the uux to test to send a failure
message.
* uuxqt.c (uqdo_xqt_file): don't send mail on successful execution
unless specifically requested; pay attention to the 'n' line
which requests mail on success; ignore the 'Z' line because it
now specifies the default action.
* sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd):
Franc,ois Pinard: getcwd may legitimately fail, so only give an
error if we really need the result.
* chat.c (ccescape): Franc,ois Pinard: ccescape should never
return a negative number, since the callers don't know how to deal
with that.
Mon Dec 2 16:26:16 1991 Ian Lance Taylor (ian at comton.airs.com)
* bnu.c (ubnu_read_systems): Dave Buck: time strings with grades
were parsed in an endless loop!
* sys3.unx (fsdo_lock, fsdo_unlock): the alloca when using LOCKDIR
was one byte too small.
* config.c (tprocess_one_cmd): pass 10 to strtol rather than 0 to
avoid surprises if a leading zero is used.
* prtinf.c (tpproto_param, tpdialer_proto_param): Niels Baggesen:
the ``protocol-parameter'' command didn't work for ports or
dialers.
Sun Dec 1 09:46:12 1991 Ian Lance Taylor (ian at comton.airs.com)
* tstuu.c: don't use the fd_set typedef at all.
* tstuu.c (uprepare_test): don't read V2 or BNU configuration
files while testing.
* bnu.c, v2.c, config.c (uread_config): David Nugent: even if the
code was compiled with HAVE_TAYLOR_CONFIG, read the V2 and BNU
configuration files if the code was compiled to support them.
* uuchk.c (fkshow_port): Bob Izenberg: report dialer/token pairs
correctly.
Sat Nov 30 17:40:00 1991 Ian Lance Taylor (ian at comton.airs.com)
* tstuu.c: Bob Izenberg: copied over conditional definitions of
EAGAIN and EWOULDBLOCK from sys2.unx.
* bnu.c (fbnu_read_dialer_info): Niels Baggesen: accept dialers
with no substitutions.
* bnu.c (ubnu_read_systems, ubadd_perm): Niels Baggesen: don't
free up zline in ubadd_perm; in fact, changed the calling sequence
to not even pass zline in at all.
* bnu.c (ubadd_perm): Niels Baggesen: didn't handle multiple
MACHINE= and multiple LOGNAME= values in a single Permissions
line, because it was clobbering the machine name while processing
the first logname.
* bnu.c: Made zread and zwrite elements of sperm structure const
char * to avoid warning.
* copy.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: Niels
Baggesen: don't multiply include <unistd.h>. Eventually there
should be a macro controlling whether it gets included at all, for
non-POSIX systems.
* sys3.unx (fsysdep_get_status, isysdep_get_sequence): Marty
Shannon: accept a truncated status file. I also eliminated scanf
calls in sys3.unx, since that was the only place it was called;
this was to make the executables smaller for systems which cared.
* bnu.c (ubnu_read_sysfiles): Marty Shannon: accept comment
characters in Sysfiles.
* sysh.unx, sys3.unx: Marty Shannon: added HAVE_RENAME, put a fake
rename system call in sys3.unx.
* prtinf.c (ffind_port): Marty Shannon: failed to handle multiple
ports in the port file since I forgot to reset my pointer
variable.
* bnu.c (ubnu_read_systems): Marty Shannon: don't initialize the
auto array abpubdir, since old cc didn't permit initialization of
auto aggregates.
Mon Nov 25 20:56:39 1991 Ian Lance Taylor (ian at comton.airs.com)
* tstuu.c: Bob Denny: add definitions for FD_SET, FD_ZERO and
FD_ISSET.
* config.c: Bob Denny: add explicit externs for strcmp and
strcasecmp.
* sys2.unx: the fread_blocking and fwrite_blocking fields were
not getting initialized correctly in the TCP support routines.
* sysh.unx, sys2.unx, sys5.unx, tstuu.c: Marty Shannon: added
configuration option HAVE_SYSWAIT_H.
* bnu.c (fbnu_find_port, fbnu_read_dialer_info), v2.c
(fv2_find_port): Marty Shannon: the ireliable field of ports
and dialers was not getting initialized.
Sun Nov 24 15:06:37 1991 Ian Lance Taylor (ian at comton.airs.com)
* tcp.c (itcp_port_number): Michael Haberler: wasn't calling
htons if passed a numeric string.
Sat Nov 23 13:43:52 1991 Ian Lance Taylor (ian at comton.airs.com)
* Released version 1.01 to alt.sources and uunet