]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/libexec/uucp/ChangeLog
This commit was generated by cvs2svn to compensate for changes in r53799,
[FreeBSD/FreeBSD.git] / gnu / libexec / uucp / ChangeLog
1 Sun Aug 20 15:12:36 1995  Ian Lance Taylor  <ian@airs.com>
2
3         * Released version 1.06.1.
4
5         * uux.c (main): Make sure that the grade is between '0' and '9',
6         or 'a' and 'z', or 'A' and 'Z', in case isalnum accepts other
7         characters.
8         * uucp.c (main): Likewise.
9
10 Sat Aug 19 23:15:21 1995  Ian Lance Taylor  <ian@airs.com>
11
12         * configure.in: Check for seteuid.
13         * configure: Rebuild.
14         * config.h.in (HAVE_SETEUID): Define.
15         * unix/uid.c: If HAVE_SETEUID is defined, use seteuid rather than
16         setuid.
17         * policy.h: Change HAVE_BROKEN_SETREUID comment to mention that it
18         does not work on 4.4BSD-Lite and NetBSD.
19
20         * Andrey A. Chernov: uuconf.h (UUCONF_GRADE_LEGAL): Use BUCHAR.
21
22 Wed Aug 16 21:23:39 1995  Ian Lance Taylor  <ian@airs.com>
23
24         * uucico.c (flogin_prompt): Add pzsystem parameter, and pass it to
25         faccept_call.  Change all callers.
26
27         * trans.c (qtransalc): Clear zlog field.
28
29         * Makefile.in (VERSION): Change to 1.06.1.
30
31 Thu Aug 10 22:42:53 1995  Ian Lance Taylor  <ian@airs.com>
32
33         * Released version 1.06.
34
35         * uuconf/tsinfo.c (_uuconf_itaylor_system_internal): Don't set
36         uuconf_fcall merely because uuconf_qtimegrade is not set.  Check
37         values against _uuconf_unset, not NULL.
38
39         * trans.c (fgot_data): Only log when data comes in if fsendfile is
40         FALSE.
41
42 Wed Aug  9 20:52:29 1995  Ian Lance Taylor  <ian@airs.com>
43
44         * Makefile.in (VERSION): Change to 1.06.
45
46 Tue Aug  1 20:13:36 1995  Ian Lance Taylor  <ian@airs.com>
47
48         * uuconf/tsinfo.c (_uuconf_itaylor_system_internal): Set the fcall
49         field for the first alternate if it has some way of selecting a
50         port.
51
52         * Ard van Breemen: unix/serial.c (fsserial_hardflow): Add support
53         for NCR Tower using IRTS.
54
55         * policy.h (FSYNC_ON_CLOSE): Define.
56         * system.h (fsysdep_sync): Declare.
57         * uucp.h (fstdiosync): Define, twice.
58         * unix/sync.c: New file.
59         * copy.c (fcopy_open_file): Call fsysdep_sync.
60         * cu.c (icutake): Likewise.
61         * rec.c (frec_file_end): Likewise.
62         (frec_file_end): Call fstdiosync.
63         * uucp.c (uccopy): Likewise.
64         * uux.c (main): Likewise.
65         (uxadd_send_file): Likewise.
66         * unix/splcmd.c (zsysdep_spool_commands): Likewise.
67         * unix/Makefile.in (OBJS): Add sync.o.
68         (sync.o): New target.
69
70         * Peter Wemm: unix/filnam.c (fscmd_seq): Increase the delay each
71         time an attempt to lock LCK..SEQ fails.
72
73         * Peter Wemm: uustat.c (fsnotify): Escape a leading "From " when
74         including standard input in a mail message.
75
76 Mon Jul 31 22:45:23 1995  Ian Lance Taylor  <ian@airs.com>
77
78         * unix/serial.c (fsserial_lockfile): In the HAVE_SVR4_LOCKFILES
79         case, increase the space allocated to print the major and minor
80         numbers.
81
82 Sun Jul 30 22:30:51 1995  Ian Lance Taylor  <ian@airs.com>
83
84         * trans.c (fgot_data): Log a message as soon as anything comes in,
85         not just for file data.
86
87         * prote.c (feprocess_data): Handle a zero length file.
88
89 Wed Jul 19 00:14:46 1995  Ian Lance Taylor  <ian@airs.com>
90
91         * unix/xqtfil.c (fSone_dir): New static variable.
92         (fsysdep_get_xqt_init): Add zsystem argument.
93         (zsysdep_get_xqt): Likewise.
94         (usysdep_get_xqt_free): Likewise.
95         * system.h (fsysdep_get_xqt_init): Update declaration.
96         (zsysdep_get_xqt): Likewise.
97         (usysdep_get_xqt_free): Likewise.
98         * uuxqt.c (main): Pass zdosys for system to get_xqt routines.
99         * uustat.c (fsexecutions): Pass NULL for system to get_xqt
100         routines.
101         (fsquery): Likewise.
102
103         * uux.c (main): If we are not starting uucico, and we queued a
104         local execution, start uuxqt.
105
106 Tue Jul 18 22:33:08 1995  Ian Lance Taylor  <ian@airs.com>
107
108         * uuxqt.c (REMOVE_QINPUT): Define.
109         (uqdo_xqt_file): Set REMOVE_QINPUT if zQinput is in the spool
110         directory.
111         (isave_files): If REMOVE_QINPUT is set, save the input file.
112         (uqcleanup): If REMOVE_QINPUT and REMOVE_NEEDED are set, remove
113         the input file.
114
115 Mon Jul 17 20:59:20 1995  Ian Lance Taylor  <ian@airs.com>
116
117         * uuchk.c (ukshow): Add missing \n.
118
119 Sun Jul 16 12:02:03 1995  Ian Lance Taylor  <ian@airs.com>
120
121         * Makefile.in (TEXI2HTML): Define.
122         (doc-dist): Depend upon uucp.html; put HTML files in documentation
123         distribution.
124         (html, uucp.html): New targets.
125
126 Mon Jul 10 20:24:48 1995  Ian Lance Taylor  <ian@airs.com>
127
128         * unix/lcksys.c: Rewrite to not truncate the system name in the
129         lock file name, unless HAVE_LONG_FILE_NAMES is 0.
130
131 Sat Jul  8 13:41:26 1995  Ian Lance Taylor  <ian@airs.com>
132
133         * Andrey A. Chernov: cu.c (ucuhelp): Mention -E.
134         (fcudo_cmd): Use BUCHAR rather than casting to unsigned int.
135         (icuunrecogvar): Likewise.
136         (uculist_vars): Likewise.
137         (icuunrecogfn): Likewise.
138         * lib/getopt.c (_getopt_internal): Likewise.
139
140         * Andrey A. Chernov: Makefile.in (infodir): Changed commented out
141         setting from share/doc to share/info.
142
143         * Godfrey van der Linden: unix/serial.c (fsysdep_conn_io): Base
144         select or alarm timeout on connection speed.
145
146         * configure.in: Move AC_PREFIX_PROGRAM before AC_PROG_CC.
147         * configure: Rebuild.
148
149         * policy.h (HAVE_BROKEN_SETLKW): Add new define.
150         * unix/filnam.c (USE_POSIX_LOCKS): Don't set if HAVE_BROKEN_SETLKW
151         is set.
152         (fscmd_seq): If the F_SETLKW call returns EINVAL, revert to using
153         lock files.
154
155         * unix/spawn.c (ixsspawn): If setreuid is available, use it,
156         rather than setuid, to set the real user ID to the effective user
157         ID.
158
159         * Thomas Mechtersheimer: uuchk.c (main): Correct typo (iret for
160         iint).
161
162         * Bob Thrush: unix/serial.c (fsserial_hardflow): Correct typo
163         (c_cflags for c_cflag).
164
165         * configure.in: Check for sys/statvfs.h.  Check for memset,
166         memcmp, and memcpy with the correct argument types (apparently
167         some systems require this).
168         * config.h.in (HAVE_SYS_STATVFS_H): Define.
169         * configure: Rebuild.
170
171 Mon Jul  3 00:26:50 1995  Ian Lance Taylor  <ian@airs.com>
172
173         * Released version beta 1.06.
174
175 Sun Jul  2 10:39:40 1995  Ian Lance Taylor  <ian@airs.com>
176
177         * configure.in: Add AC_OUTPUT code to touch stamp-h when
178         rebuilding config.h.
179         * Makefile.in (stamp-h): Remove ``echo > stamp-h''.
180
181         * Makefile.in (dist): Fix for srcdir != objdir.
182         * unix/Makefile.in (dist): Likewise.
183         * uuconf/Makefile.in (dist): Likewise.
184         * lib/Makefile.in (dist): Likewise.
185
186 Sat Jul  1 13:42:35 1995  Ian Lance Taylor  <ian@airs.com>
187
188         * configure.in: Check for termios.h.
189         * config.h.in (HAVE_TERMIOS_H): Mention.
190         * policy.h: Set HAVE_POSIX_TERMIOS if HAVE_TERMIOS_H.
191
192 Fri Jun 30 09:24:13 1995  Ian Lance Taylor  <ian@airs.com>
193
194         * uux.c (zXxqt_name): Remove.
195         (fXxqtlocal): New static variable; replaces local fxqtlocal.
196         (sXxqtsys): New static variable; replaces local sxqtsys.
197         (zXxqtloc): New static variable; replaces local zxqtloc.
198         (bXgrade): New static variable; replaces local bgrade.
199         (abXxqt_tname): New static variable; replaces local abxqt_tname.
200         (abXxqt_xname): New static variable; replaces local abxqt_xname.
201         (main): Use new static variables instead of locals.  Don't set
202         zXxqt_name.
203         (uxadd_xqt_line): Get file name here before opening file.
204         (uxadd_send_file): Remove parameters qxqtsys, zxqtloc, and bgrade.
205         Change all callers.
206
207         * unix/filnam.c (usput62): New static function.
208         (zscmd_file): When SPOOLDIR_TAYLOR, use a different algorithm
209         which does not read the sequence file.
210         * unix/splcmd.c (zsysdep_spool_commands): Return value of
211         zscmd_file might already exist; handle that case.
212         * unix/jobid.c (zsfile_to_jobid): Change jobid format when
213         SPOOLDIR_TAYLOR, since sequence number is now much longer.
214         (zsjobid_to_file): Corresponding change.
215         * unix/work.c (fswork_file): When SPOOLDIR_TAYLOR, don't require
216         the the file name to be 7 characters long.
217         (bsgrade): Change algorithm used when SPOOLDIR_TAYLOR.
218
219         * uustat.c (fsworkfile_show): Correct kill prompt to put program
220         name at start of line.  Add trailing space after question mark.
221         (fsexecutions): Likewise.
222
223         * unix/work.c (fsysdep_get_work): Don't call fsysdep_get_work_init
224         if no more jobs are found.
225
226 Thu Jun 29 15:27:31 1995  Ian Lance Taylor  <ian@airs.com>
227
228         * fsusg.c: Update with changes from fileutils 3.12.
229         * configure.in: Update filesystem space tests to fileutils 3.12.
230         * config.h.in: Corresponding changes.
231
232         * unix/filnam.c (fscmd_seq): If F_SETLKW fails with ENOMEM,
233         ENOSPC, or ENOLCK, sleep and try again.
234
235         * Makefile.in (MORECFLAGS): Remove unused SBINDIR definition.
236         * unix/Makefile.in (run.o): Add dependency on Makefile and
237         ../Makefile, so that it is rebuilt if sbindir changes.
238         * uuconf/Makefile.in (callin.o): Add dependency on Makefile and
239         ../Makefile, so that it is rebuilt if NEWCONFIGLIB or OLDCONFIGLIB
240         change.
241         (hinit.o, hrmunk.o, maxuxq.o, rdperm.o, tinit.o): Likewise.
242         (vinit.o): Likewise.
243
244         * cu.c (main, ucuhelp): Update copyright.
245         * tstuu.c (main): Likewise.
246         * uuchk.c (main, ukhelp): Likewise.
247         * uucico.c (main, uhelp): Likewise.
248         * uuconv.c (main, uvhelp): Likewise.
249         * uucp.c (main, uchelp): Likewise.
250         * uulog.c (main, ulhelp): Likewise.
251         * uuname.c (main, unhelp): Likewise.
252         * uupick.c (main, uphelp): Likewise.
253         * uustat.c (main, ushelp): Likewise.
254         * uux.c (main, uxhelp): Likewise.
255         * uuxqt.c (main, uqhelp): Likewise.
256
257         * Makefile.in (VERSION): Update to beta1.06.
258
259 Wed Jun 28 10:36:35 1995  Ian Lance Taylor  <ian@airs.com>
260
261         * trans.c (struct scharge, sTsend, sTreceive): Remove.
262         (qTtiming_rec, iTrecsecs, iTrecmicros): New static variables.
263         (fqueue_receive): If adding something to an empty receive queue,
264         update iTrecsecs and iTrecmicros.
265         (utransfree): Remove references to sTsend and sTreceive.  If
266         freeing qTtiming_rec, clear it.
267         (ftcharge): Remove.  Remove all calls to it.
268         (fttime): New static function.
269         (uclear_queue): Clear qTtiming_rec.
270         (floop): Add timing code to replace ftcharge.
271         (fgot_data): Likewise.
272         (ftadd_cmd): Set s.bcmd to 'H' for a hangup request, for better
273         debugging information.
274         (ufailed): Remove setting of iTchecktime and calls to ftcharge.
275
276         * uuconf.h (UUCONF_STRIP_LOGIN): Define.
277         (UUCONF_STRIP_PROTO): Define.
278         (uuconf_strip): Declare.
279         * uuconf/strip.c: New file, definining uuconf_strip.
280         * uuconf/Makefile.in (OBJS): Add strip.o.
281         * uuconf/uucnfi.h (struct sprocess): Add new fields fstrip_login
282         and fstrip_proto.
283         * uuconf/iniglb.c (_uuconf_iinit_global): Initialize new fields.
284         * uuconf/tinit.c (asCmds): Add "strip-login" and "strip-proto".
285         * uucico.c (fdo_call): Check whether protocol commands should be
286         stripped, and pass information to zget_uucp_cmd.
287         (faccept_call): Likewise.
288         (flogin_prompt): Check whether login commands should be stripped,
289         and pass information to zget_typed_line.
290         (zget_uucp_cmd): Add fstrip argument, and use it to control
291         whether incoming characters are stripped.
292         (zget_typed_line): Likewise.
293         * uuchk.c (main): Report uuconf_strip information.
294
295 Mon Jun 26 17:57:14 1995  Ian Lance Taylor  <ian@airs.com>
296
297         * uuchk.c (main): Report global configuration information.
298
299         * uux.c (main): If an attempt is made to execute an empty command,
300         just create a poll file instead.
301
302         * uupick.c (main): Mention 'd' as a possible command.
303
304 Wed Jun 21 16:16:13 1995  Ian Lance Taylor  <ian@airs.com>
305
306         * unix/filnam.c (fscmd_seq): If available, use POSIX style locking
307         for the sequence file.  Use IPRIVATE_FILE_MODE when creating the
308         sequene file.
309
310         * copy.c (fcopy_file): Add fsignals argument, and pass it to
311         fcopy_open_file.  Update all callers.
312         (fcopy_open_file): Add fsignals argument; if TRUE, check for
313         signals while copying the file.  Update all callers.
314         * uudefs.h (fcopy_file, fcopy_open_file): Update prototypes.
315
316 Thu Jun 15 20:34:00 1995  Ian Lance Taylor  <ian@airs.com>
317
318         * Rob Janssen: getopt.h: Don't fail if P is not defined because
319         this file got included by something other than uucp.h.
320
321 Tue Jun  6 13:17:14 1995  Ian Lance Taylor  <ian@airs.com>
322
323         * log.c (ulog): Always open the log file even if zmsg is NULL.
324         * unix/detach.c (usysdep_detach): Call ulog with NULL before
325         closing stderr.
326
327         * log.c (ulog): Print file name correctly under HDB_LOGGING if an
328         error occurs.
329
330         * Andrey A. Chernov: uucp.h: Use off_t rather than long when
331         casting arguments to lseek.
332
333         * proti.c (IMAXPACKSIZE): Subtract one.
334         (fijstart): Correct iIforced_remote_packsize check.
335
336         * unix/filnam.c (zsfile_name): Only use remote system name in
337         local filename for SPOOLDIR_SVR4, not for SPOOLDIR_HDB.
338
339         * Peter da Silva: cu.c (asCulongopts): Add "escape".
340         (main): Handle -E/--escape.
341         * cu.1: Document -E/--escape.
342         * unix/cusub.c (fsysdep_cu): Don't treat \0 as an escape
343         character.
344
345         * Takatoshi Ikeda: log.c (ustats): Base 'M' vs. 'S' in HDB_LOGGING
346         on fcaller, not on fmaster.
347         (zldate_and_time): In HDB_LOGGING, don't zero fill the hour.
348         * uudefs.h (ustats): Change argument name in prototype.
349         * send.c (fsend_await_confirm): Pass fcaller rather than fmaster
350         to ustats.
351         * rec.c (frec_file_end): Likewise.
352         * trans.c (ufailed): Likewise.
353
354         * unix/tcp.c: Include <arpa/inet.h>.
355         (ftcp_dial): If gethostbyname fails, try inet_addr.
356
357         * Jim Brownfield: unix/detach.c (usysdep_detach): Call TIOCNOTTY
358         on /dev/tty, not on file descriptor 0.
359
360         * uuchk.c (ukshow): If the system will never be called, say so
361         explicitly.
362
363         * unix/pause.c (usysdep_pause): When using poll, clear the sdummy
364         structure before passing it down.
365
366         * unix/bytfre.c (csysdep_bytes_free): Check for overflow.
367
368         * C.A. Lademann: cu.c (asCulongopts): Add "nostop".
369         (main): Handle --nostop.
370         (ucuhelp): Mention --nostop.
371         * cu.1: Document --nostop.
372
373         * Dean Edmonds: cu.c (fcuset_var): Copy string before calling
374         uuconf_cmd_args, and handle UUCONF_CMDTABRET_KEEP correctly.
375
376         * Jorge Cwik: Add support for 'y' protocol.
377         * proty.c: New file, written by Jorge Cwik.
378         * prot.h: Declare 'y' protocol functions.
379         * uucico.c (asProtocols): Add entry for 'y' protocol.
380         * Makefile.in (UUOBJS): Add proty.o.
381         (ALLOBJS): Add proty.o.
382         (proty.o): New target.
383
384 Mon Jun  5 12:05:22 1995  Ian Lance Taylor  <ian@airs.com>
385
386         * cu.c (main): Don't clobber user specified ibaud when a specific
387         system is being called.
388
389         * unix/serial.c (fsysdep_stdin_init): chmod /dev/tty to 0600 to
390         prevent other users from writing to it.
391
392         * uux.c (main): If the argument is quoted by parentheses, don't
393         break it at shell separator characters.
394
395         * protg.c (fgprocess_data): Don't treat a duplicate RR as an RJ if
396         we are retransmitting packets.  Corrects change of May 15, 1993.
397
398         * unix/lock.c (fsdo_lock): Log an error message if the LOCKFILES
399         define appears to not match the contents of the lock file.
400
401 Sun Jun  4 14:25:43 1995  Ian Lance Taylor  <ian@airs.com>
402
403         * Makefile.in (uucp.info): Use explicit $(srcdir) rather than $<.
404         (uucp.dvi): Likewise.
405         (uucp.ps): Use uucp.dvi rather than $<.
406
407         * Scott Guthridge: cu.c (icutake): Skip \r characters unless
408         fCuvar_binary is set.
409
410         * unix/status.c (fsysdep_get_status): Ignore double quotes around
411         description string in status file.
412         (fsysdep_set_status): If SPOOLDIR_SVR4, put double quotes around
413         description string.
414
415         * uustat.c (fsxqt_file_read): Change second argument from file
416         name to open file.
417         (fsworkfile_show): Make sure execution file can be opened before
418         displaying information in execution file format.
419         (fsexecutions): Open file before passing it to fsxqt_file_read.
420
421         * uucp.h (ffileioerror): Rename from ffilereaderror.
422         * cu.c (icuput): Corresponding change.
423         * trans.c (floop): Likewise.
424         (fgot_data): Use ffileioerror to decide whether to print message
425         using errno.
426
427         * uuconv.c (uvwrite_taylor_port): Fix handling of dialer-sequence
428         for a modem port to actually print ``dialer-sequence''.
429
430         * uuconf/hsinfo.c (_uuconf_ihdb_system_internal): Treat a syntax
431         error in the time field as equivalent to ``never''.
432         * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Likewise.
433
434         * uuchk.c (ukshow): Print max-retries information.
435
436         * Don Phillips: Add support for new called-timegrade command.
437         * uuconf.h (struct uuconf_system): Add uuconf_qcalledtimegrade
438         field.
439         * uuconf/tsinfo.c (asIcmds): Add "called-timegrade".
440         * uuconf/syssub.c (SYSTEM_TIMESPANS): Add uuconf_qcalledtimegrade.
441         * trans.c (fqueue): Check uuconf_qcalledtimegrade.
442         * uuchk.c (ukshow): Print called-timegrade and success-wait
443         information.
444         * uuconv.c (uvwrite_taylor_system): Handled called-timegrade.
445
446         * unix/xqtsub.c (fsysdep_lock_uuxqt_dir): Accept EISDIR.
447
448         * Damon: unix/mkdirs.c (fsysdep_make_dirs): Accept EROFS.
449
450 Sat May 27 09:55:38 1995  Ian Lance Taylor  <ian@airs.com>
451
452         * unix/detach.c (usysdep_detach): Mention routine name in
453         debugging message.
454
455         * tstuu.c (main): Exit with an error message if not compiled with
456         HAVE_TAYLOR_CONFIG.
457
458         * Jim Avera: Makefile.in (install-info): Get the info files from
459         the source directory if they aren't in the object directory.
460
461         * uuchk.c (main): Accept -s to only print information for a
462         specific system.
463         (asKlongopts): Add --system as a synonym for -s.
464         (ukusage): Mention -s.
465         (ukhelp): Likewise.
466
467         * Makefile.in (uuconf/libuuconf.a): Depend upon config.h.
468         (unix/libunix.a, lib/libuucp.a): Likewise.
469
470         * Matthias Urlichs and Olaf Kirch: If an execution fails, save the
471         files.
472         * sysh.unx (FAILEDDIR): Define.
473         * system.h (zsysdep_save_failed_file): Declare.
474         * uuxqt.c (uqdo_xqt_file): Call isave_files if an execution fails.
475         Move the execution files out of the execution directory on any
476         failure, not just a temporary one.
477         (isave_files): New function; pass all the execution files to
478         zsysdep_save_failed_file, and send mail to OWNER.
479         * unix/failed.c: New file.
480         * unix/Makefile.in (OBJS): Add failed.o.
481         (failed.o): New target.
482
483         * Johannes Stille: Remove various race conditions, as follows:
484         * rec.c (flocal_rec_send_request): Don't free qtrans if pfsendcmd
485         fails.
486         (fremote_send_reply): Likewise.
487         (fremote_send_fail_send): Move pfsendcmd call to the end of the
488         routine, after everything else has been done.
489         (frec_file_send_confirm): Likewise.
490         * send.c (struct ssendinfo): Add new fields fnever and zconfirm.
491         (flocal_send_fail): Remove first argument; change all callers.
492         (usfree_send): Free new zconfirm field.
493         (flocal_send_file_init): Initialize new zconfirm field.
494         (fremote_rec_file_init): Likewise.
495         (flocal_send_request): Free qtrans explicitly, rather than
496         expecting flocal_send_fail to do it.
497         (flocal_send_request): Don't free qtrans if pfsendcmd fails.
498         (flocal_send_await_reply): Use new fnever field rather than
499         overloading fsent.
500         (flocal_send_cancelled): Likewise.
501         (flocal_send_await_reply): Set fcmd field to TRUE.
502         (fremote_rec_reply): Set fcmd field to TRUE.  Set qtrans->zlog
503         before calling pfsendcmd.  Don't free qtrans if pfsendcmd fails.
504         (fremote_rec_fail_send): Move pfsendcmd call to the end of the
505         routine, after everything else has been done.
506         (fsend_file_end): If zconfirm is set, call fsend_await_confirm.
507         Don't bother to set fcmd here.
508         (fsend_await_confirm): If fsent is not set, just save command in
509         zconfirm and return.
510         (fsend_exec_file_init): Free and clear new zconfirm field.
511         * xcmd.c (flocal_xcmd_request): Don't free qtrans if pfsendcmd
512         fails.
513
514         * unix/pause.c: Prefer any of the other choices to nap, since the
515         meaning of nap argument varies from system to system, and the user
516         may not set HAVE_HUNDREDTHS_NAP correctly.
517
518         * unix/cusub.c (fsysdep_shell): When starting up an interactive
519         shell, use the environment variable SHELL rather than /bin/sh.
520
521 Fri May 26 00:03:46 1995  Ian Lance Taylor  <ian@airs.com>
522
523         * Chip Salzenberg: uulog.c (main): Set cluser, not clsys, when
524         using HAVE_HDB_LOGGING.
525
526         * Robert Joop: uuconf/callin.c (uuconf_callin): Improve handling
527         of Unix style passwd files.
528
529         * uupick.c (main): Don't fail if we can't get system information,
530         since uupick is not setuid.
531
532         * Stephen Harris: uudefs.h (struct sstatus): Add new field
533         zstring.
534         * unix/status.c (fsysdep_get_status): Set zstring field.
535         * uustat.c (fsquery_show): Print and free zstring field, if set,
536         rather than indexing off type.
537         (fsmachines): Likewise.
538         * uucico.c (fcall): Free sstat.zstring.
539
540         * proti.c (cIwindow_timeout): New static variable.
541         (fijstart): Initialize cIwindow_timeout based on the window size
542         and connection speed.  Increment both timeouts in callee.
543         (fishutdown): Initialize cIwindow_timeout.
544         (fiwindow_wait): Use cIwindow_timeout rather than cItimeout.
545
546         * unix/serial.c (fsysdep_conn_io): Try using select before doing a
547         blocking write, and use an alarm if we fall back to the blocking
548         write, to try to avoid deadlock when both systems fill the pipe.
549
550         * Trever Miller: unix/lock.c (fsdo_lock): Fix use of inid where
551         inme was intended, in HAVE_QNX_LOCKFILES code.
552
553         * unix/lock.c (fsdo_lock): Treat an empty lock file as stale.
554
555 Thu May 25 11:46:32 1995  Ian Lance Taylor  <ian@airs.com>
556
557         * Kenji Rikitake: unix/serial.c (fsserial_hardflow): Handle
558         CRTS_IFLOW as used on BSDI.
559
560         * Gerriet M. Denkmann: uuconf/vsnams.c (uuconf_v2_system_names):
561         Accept continuation lines in L.sys.
562         * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Skip comment
563         lines in L.cmds.  Ignore everything after comma in L.cmds lines.
564
565         * Gerriet M. Denkmann: unix/ftw.c (ftw_dir): Initialize newlev to
566         avoid warning.
567
568         * Paul Pryor: unix/tli.c (ftli_open): Swap real and effective user
569         ID's when running as a server, so that root can bind privileged
570         ports.
571
572         * unix/tcp.c (ftcp_open): Call fsuser_perms and fsuucp_perms
573         rather than having the same code inline.
574
575         * sysh.unx (fsuser_perms, fsuucp_perms): Declare.
576         * unix/ufopen.c (fsuser_perms, fsuucp_perms): Move into uid.c.
577         * unix/uid.c: New file.
578         * unix/Makefile.in (OBJS): Add uid.o.
579         (uid.o): New target.
580
581         * unix/tcp.c: Move tcp.c into unix subdirectory.
582         * unix/tli.c: Likewise for tli.c.
583         * Makefile.in (UUOBJS, CUOBJS, ALLOBJS): Remove tcp.o and tli.o.
584         (tcp.o, tli.o): Remove.
585         * unix/Makefile.in (OBJS): Add tcp.o and tli.o.
586         (tcp.o, tli.o): New targets.
587
588         * Paul Pryor: configure.in: Check for -lnsl_s before -lnsl.
589
590         * Makefile.in (prefix): Use @prefix@, not /usr/local.
591         (exec_prefix): New variable, set to @exec_prefix@.
592         (sbindir, bindir): Use $(exec_prefix) rather than $(prefix).
593         (CPPFLAGS): New variable, set to @CPPFLAGS@.
594         (@SET_MAKE@): New macro used by autoconf 2.
595         (MORECFLAGS): Put -I. before -I$(srcdir).
596         (MDEFINES): Pass down CPPFLAGS.
597         (.c.o): Use CPPFLAGS.
598         (uuconv.o): Likewise.
599         (distclean): Remove stamp-h, config.log and config.cache.
600         (maintainer-clean): New synonym for realclean.
601         (configure, config.h, stamp-h, Makefile, config.status): Rewrite
602         as suggested by autoconf 2.3.
603         (.PHONY): Add maintainer-clean.
604         * lib/Makefile.in (CPPFLAGS): New variable, set to @CPPFLAGS@.
605         (MORECFLAGS): Put `-I..' before `-I$(srcdir)/..'.
606         (maintainer-clean): New synonym for realclean.
607         (.c.o): Use CPPFLAGS.
608         (Makefile): Just rebuild this Makefile, not the others.
609         (.PHONY): Add maintainer-clean.
610         * unix/Makefile.in (CPPFLAGS): New variable, set to @CPPFLAGS@.
611         (prefix): Removed.
612         (sbindir): Use @exec_prefix@ rather than $(prefix).
613         (MORECFLAGS): Put `-I..' before `-I$(srcdir)/..'.
614         (maintainer-clean): New synonym for realclean.
615         (.c.o): Use CPPFLAGS.
616         (Makefile): Just rebuild this Makefile, not the others.
617         (.PHONY): Add maintainer-clean.
618         * uuconf/Makefile.in (prefix): Set to @prefix@, not /usr/local.
619         (CPPFLAGS): New variable, set to @CPPFLAGS@.
620         (MORECFLAGS): Put `-I.' before `-I$(srcdir)' and `-I..' before
621         `-I$(srcdir)/..'.
622         (maintainer-clean): New synonym for realclean.
623         (.c.o): Use CPPFLAGS.
624         (Makefile): Just rebuild this Makefile, not the others.
625         (.PHONY): Add maintainer-clean.
626
627         * configure.in: Extensive changes for autoconf 2.3.
628         * configure: Regenerate using autoconf 2.3.
629         * install-sh: New file.
630
631 Mon May 22 22:18:59 1995  Ian Lance Taylor  <ian@airs.com>
632
633         * Mister Flash: chat.c (fcsend): Don't get forget to add 10 in \x.
634
635 Tue Jan 17 22:49:05 1995  Ian Lance Taylor  <ian@airs.com>
636
637         * unix/mkdirs.c (fsysdep_make_dirs): Don't get confused by a
638         double slash.
639
640 Wed Aug 10 09:25:10 1994  Ian Lance Taylor  (ian@airs.com)
641
642         * uuconf/hport.c (uuconf_hdb_find_port): Set iret to
643         UUCONF_SUCCESS when a port is found.
644
645 Tue Aug  2 08:57:05 1994  Ian Lance Taylor  (ian@airs.com)
646
647         * trans.c (ftadd_cmd): Report a 'P' (poll) command as garbled.
648
649 Wed Jul 20 21:53:03 1994  Ian Lance Taylor  (ian@airs.com)
650
651         * rec.c (flocal_rec_file_init): Set name of local system after
652         calling uuconf_system_local.
653         * uustat.c (fsexecutions): Likewise.
654
655 Sat Jul 16 16:54:12 1994  Ian Lance Taylor  (ian@airs.com)
656
657         * log.c (ulog): Use strerror in message about being unable to open
658         the log file.
659
660 Wed Jul 13 00:44:33 1994  Ian Lance Taylor  (ian@airs.com)
661
662         * rec.c (fremote_send_reply): Set qinfo->freplied before sending
663         the command.
664
665 Sun Jul 10 23:25:23 1994  Ian Lance Taylor  (ian@airs.com)
666
667         * Tin Le: lib/debug.c (udebug_buffer): Only compile if DEBUG > 1.
668
669 Mon Jun 27 21:06:29 1994  Ian Lance Taylor  (ian@airs.com)
670
671         * uuconf.h (UUCONF_CMDTABFLAG_NOCOMMENTS): Define.
672         * uuconf/cmdlin.c (uuconf_cmd_line): Handle NOCOMMENTS.
673         * uuxqt.c (uqdo_xqt_file): Pass NOCOMMENTS to uuconf_cmd_file.
674
675 Thu May 19 22:50:37 1994  Ian Lance Taylor  (ian@airs.com)
676
677         * Ollivier Robert: unix/mkdirs.c: Permit EISDIR.
678
679 Wed May 18 23:15:36 1994  Ian Lance Taylor  (ian@airs.com)
680
681         * uucico.c (fcall): Reset sDaemon fields each time through the
682         loop, not just once.
683
684 Thu May  5 23:15:11 1994  Ian Lance Taylor  (ian@airs.com)
685
686         * Released version 1.05.
687
688         * Makefile.in (doc-dist): Put uucp.ps in uucp-doc-$(VERSION).
689
690 Sun May  1 23:41:49 1994  Ian Lance Taylor  (ian@airs.com)
691
692         * uuchk.c (ikshow_port): Show reliability information.
693         (ukshow_dialer): Likewise.
694         (ukshow_reliable): New function.
695
696 Sat Apr 16 22:28:10 1994  Ian Lance Taylor  (ian@airs.com)
697
698         * Andrew A. Chernov: uucico.c (main): Pass 'z' to getopt.
699         (uhelp): Mention -z aka --try-next.
700
701         * log.c (ustats): Report failed transfers when HAVE_HDB_LOGGING.
702
703 Wed Apr 13 23:07:20 1994  Ian Lance Taylor  (ian@airs.com)
704
705         * prot.c (fsend_data): If no room in receive buffer, just write
706         the data out, don't call fconn_io.
707
708 Tue Apr 12 21:55:32 1994  Ian Lance Taylor  (ian@airs.com)
709
710         * Spider Boardman: unix/serial.c (fsysdep_modem_end_dial): Set
711         terminal characteristics of reopened port.
712
713 Sun Apr 10 18:05:34 1994  Ian Lance Taylor  (ian@airs.com)
714
715         * send.c (flocal_send_fail): Always call fsysdep_did_work.
716         (flocal_send_await_reply): Don't call flocal_send_fail if we are
717         going to call fsend_exec_file_init.  Only call
718         fsend_exec_file_init if fnever is TRUE.  Pass fnever to
719         flocal_send_cancelled using the qinfo->fsent flag.
720         (flocal_send_cancelled): Only call fsend_exec_file_init if
721         qinfo->fsent is TRUE.
722
723         * unix/statsb.c (fsysdep_lock_status): If HAVE_QNX_LOCKFILES,
724         initialize painid to NULL.
725
726 Tue Apr  5 23:09:00 1994  Ian Lance Taylor  (ian@airs.com)
727
728         * Released version gamma 1.05.
729
730         * Makefile.in (VERSION): Changed to gamma1.05.
731
732         * uucico.c (fcall): Return TRUE if -C was used and no call was
733         made because there was no work.
734
735 Mon Apr  4 20:29:30 1994  Ian Lance Taylor  (ian@airs.com)
736
737         * Chris Lewis: unix/serial.c: Include <sys/ioctl.h> if
738         HAVE_TXADDCD.  Check for HAVE_TXADDCD rather than ifdef TXADDCD or
739         TXDELCD.
740
741         * configure.in: Check for TXADDCD in <sys/ioctl.h>.
742         * config.h.in (HAVE_TXADDCD): New configuration macro.
743
744 Sun Apr  3 14:05:30 1994  Ian Lance Taylor  (ian@airs.com)
745
746         * send.c (flocal_send_request): Queue stransfer structure up
747         before sending any command or data, because sending data may cause
748         data to be received for this stransfer, and we must be prepared to
749         handle it correctly.
750         (fremote_rec_reply): Likewise.
751         * rec.c (flocal_rec_send_request, fremote_send_reply): Likewise.
752         (fremote_send_fail_send): Likewise.
753         * xcmd.c (flocal_xcmd_request): Likewise.
754
755         * Chris Lewis: unix/serial.c (fsserial_hardflow): Add support for
756         AIX TXADDCD and 3b1 CTSCD.
757
758 Sat Apr  2 00:04:30 1994  Ian Lance Taylor  (ian@airs.com)
759
760         * policy.h (USE_TRADITIONAL_STATUS): Permit this to be defined.
761         * lib/status.c: Control initialization of azStatus based on
762         USE_TRADITIONAL_STATUS rather than SPOOLDIR_HDB || SPOOLDIR_SVR4.
763
764 Fri Apr  1 23:52:09 1994  Ian Lance Taylor  (ian@airs.com)
765
766         * log.c (ulog): When using HAVE_HDB_LOGGING, force the program
767         name to lower case when using it as a file name.
768
769         * send.c (flocal_send_await_reply): Correct code to really not
770         decrement number of channels to one.
771         * rec.c (flocal_rec_await_reply): Likewise.
772
773 Wed Mar 30 22:57:30 1994  Ian Lance Taylor  (ian@airs.com)
774
775         * lib/buffer.c (ubuffree): Change ioff from size_t to int to avoid
776         HP/UX compiler bug.
777
778         * configure.in: Make sure that <utime.h> defines struct utimbuf
779         before assuming that it is present.
780
781 Tue Mar 29 23:00:15 1994  Ian Lance Taylor  (ian@airs.com)
782
783         * uuconf/filnam.c: Use UUCONF_CONST, not const, to match
784         declaration in uuconf.h.
785
786 Mon Mar 28 20:06:00 1994  Ian Lance Taylor  (ian@airs.com)
787
788         * Andrew A. Chernov: policy.h: For several macros, add commented
789         out values appropriate for some free BSD distributions.
790         * Makefile.in: Likewise.
791
792         * uucico.c (icallin_cmp): Use pointer, not void *.
793         * uuconf/callin.c (struct sinfo, uuconf_callin): Likewise.
794
795         * Chris Lewis: uuconv.c (fvperm_string_cmp, fvperm_array_cmp): AIX
796         3.2.5 cc can't handle conditional expressions in if conditions.
797
798 Sun Mar 27 15:04:27 1994  Ian Lance Taylor  (ian@airs.com)
799
800         * send.c (flocal_send_fail): Don't assume that qtrans is not NULL.
801
802         * Jeff Ross, Stephen J. Walick: Makefile.in (uusched): Substitute
803         for @SBINDIR@, not @BINDIR@.
804
805         * configure.in: Make sure that <dirent.h> defines struct dirent
806         before assuming that it is present.
807
808         * Benoit Grange: unix/detach.c (usysdep_detach): Correct type of
809         HAVE_BSD_SETPGRP for HAVE_BSD_PGRP.
810
811 Sat Mar 26 12:59:36 1994  Ian Lance Taylor  (ian@airs.com)
812
813         * Andrew A. Chernov: uucico.c (asLongopts): Add --try-next as
814         synonym for -z.
815         (main): If -z, call fcall with ftrynext as TRUE.
816         (fcall): Add ftrynext argument.  If ftrynext is TRUE, try the next
817         alternate if a call fails.
818
819 Fri Mar 25 22:37:51 1994  Ian Lance Taylor  (ian@airs.com)
820
821         * lib/parse.c (fparse_cmd): If we get a decimal 666 or 777 for the
822         mode, turn it into an octal 0666 or 0777.
823
824         * send.c (flocal_send_fail): Accept qdaemon argument rather than
825         qsys.  Changed all callers.  If we are going to send an execution
826         file, don't call fsysdep_did_work.
827
828         * protg.c (fgstart): Say ``sending'' and ``receiving'' instead of
829         ``remote'' and ``local'' in log message.
830         * proti.c (fijstart): Likewise.
831
832 Thu Mar 24 22:40:49 1994  Ian Lance Taylor  (ian@airs.com)
833
834         * Gert Doering: uuchk.c (ikshow_port): Don't use qtli for a TCP
835         port.
836
837         * Makefile.in (uusched, uuto): Fix typo in sed command.
838
839         * unix/mail.c (fsysdep_mail): Add casts to avoid warnings.
840         * uuconf/runuxq.c (uuconf_runuuxqt): Likewise.
841
842         * Emmanuel Mogenet: unix/pipe.c (fspipe_dial): Make consistently
843         static.
844
845         * unix/serial.c (fsserial_open): Only strip /dev/ from the start
846         of a device name, rather than dropping everything before the last
847         slash.
848
849         * sysh.unx (ftw): Change stat argument to not be const pointer.
850         * unix/ftw.c (ftw_dir, ftw): Change stat argument to func argument
851         to not be const pointer.
852         * unix/srmdir.c (isremove_dir): Change stat argument to not be
853         const pointer.
854         * unix/walk.c (iswalk_dir): Likewise.
855
856 Wed Mar 23 20:02:26 1994  Ian Lance Taylor  (ian@airs.com)
857
858         * conn.c (fconn_break): Remove incorrect indirection of function
859         pointer.
860
861         * unix/mkdirs.c (fsysdep_make_dirs): Some systems can return
862         EACCES, not EEXIST, when a directory exists.
863
864         * configure.in: Fix STAT_STATFS2_FSIZE test.
865         * configure: Regenerated.
866
867 Tue Mar 22 01:32:21 1994  Ian Lance Taylor  (ian@airs.com)
868
869         * uucico.c (main): Skip a leading dash in argv[0] which is
870         probably the result of being invoked by the Unix login program.
871
872         * configure.in: Check for sys/time.h.
873         * config.h.in (HAVE_SYS_TIME_H): Define.
874
875         * unix/serial.c (fsysdep_modem_begin_dial): Correct type of q for
876         qsysdep.
877
878         * uux.c (main): Check for zXnames being NULL.
879
880 Sat Mar 19 14:07:31 1994  Ian Lance Taylor  (ian@airs.com)
881
882         * Released version beta 1.05.
883
884         * Makefile.in (uucp.info): Use -o argument to force info files to
885         be created in objdir.
886         (doc-dist): Get README-DOC from $(srcdir).
887
888         * lib/debug.c (iDebug, azDebug_names, idebug_parse): Only compile
889         if DEBUG > 1.
890
891 Mon Feb 14 22:46:49 1994  Ian Lance Taylor  (ian@airs.com)
892
893         * lib/strtou.c: New file, for strtoul.
894         * lib/MANIFEST: List strtou.c.
895         * configure.in: Check for strtoul, add strtou.o to LIBOBJS if not
896         there.
897         * config.h.in (HAVE_STRTOUL): Define.
898         * uucp.h (strtoul): Declare.
899
900 Mon Jan 31 20:17:30 1994  Ian Lance Taylor  (ian@airs.com)
901
902         * Makefile.in, lib/Makefile.in, unix/Makefile.in,
903         uuconf/Makefile.in: Use $(CFLAGS) after all other flags.
904
905 Sun Jan 30 14:34:51 1994  Ian Lance Taylor  (ian@airs.com)
906
907         * Makefile.in (clean, distclean, dist, doc-dist): Remove .tar.gz
908         file, not .tar.Z one.
909         (dist, doc-dist): Use gzip --best, not compress.
910
911         * Makefile.in (VERSION): Set to beta1.05.
912
913         * cu.c, uuchk.c, uucico.c, uuconv.c, uucp.c, uulog.c, uuname.c,
914         uupick.c, uustat.c, uux.c, uuxqt.c: Updated copyright date.
915
916         * conn.c (fconn_init): Added third argument: type of standard
917         input port.
918         * conn.h (fconn_init): Updated declaration.
919         * uucico.c (asLongopts): Added --stdin, synonym for -i.
920         (main): Accept -i TLI to set standard input to be of type TLI.
921         Pass appropriate additional argument to fconn_init.
922         (uhelp): Updated.
923         (fconn_call, iuport_lock): Changed all calls to fconn_init.
924         * cu.c: Changed all calls to fconn_init.
925         * prot.c, protj.c: Include uuconf.h before conn.h.
926         * Makefile.in (prot.o, protj.o): Updated.
927
928         * unix/serial.c (fsysdep_conn_read): Permit up to two EWOULDBLOCK
929         error returns from read before quitting.
930
931 Sat Jan 22 16:48:41 1994  Ian Lance Taylor  (ian@airs.com)
932
933         * uuconf/hinit.c: Don't treat lines with leading whitespace as
934         comments in Sysfiles.
935
936         * log.c: Don't require ANSI C to use vfprintf, just require
937         stdarg.h and prototypes.   Required for Alpha cc support.
938
939         * configure.in: Check for prototype support.  Check for stdarg.h.
940         When looking for socket and t_open check for "-lsocket -lnsl"
941         after plain "-lnsl".
942         * config.h.in (HAVE_PROTOTYPES, HAVE_STDARG_H): New macros.
943         * uucp.h: Demand that an ANSI C compiler support prototypes.  If
944         HAVE_PROTOTYPES is 1 for Classic C, defined P(x) to be x.
945
946         * configure: Upgraded to autoconf 1.7.
947
948         * protg.c (fgstart): Ensure that window size is reasonable.
949
950         * protg.c (fvstart): Change default packet size from 512 to 1024.
951
952         * trans.h (struct sdaemon): Added zconfig, irunuuxqt, and
953         cxfiles_received fields.
954         (fspawn_uuxqt): Declare.
955         * uucico.c (fcall, flogin_prompt, faccept_call): Added zconfig and
956         fuuxqt arguments; changed all callers.
957         (main): Use fspawn_uuxqt to invoke uuxqt, and only do it if
958         uuconf_runuuxqt returns UUCONF_RUNUUXQT_ONCE.
959         (fcall, faccept_call): Initialize new struct sdaemon fields.
960         Spawn uuxqt if uuconf_runuuxqt returned UUCONF_RUNUUXQT_PERCALL or
961         if it returned a positive number and execution files have arrived
962         since the last time uuxqt was spawned.
963         (fspawn_uuxqt): New function.
964         * rec.c (frec_file_end): Spawn uuxqt if enough execution files
965         have been received.
966
967         * uuconf.h (UUCONF_RUNUUXQT_NEVER, UUCONF_RUNUUXQT_ONCE,
968         UUCONF_RUNUUXQT_PERCALL): New #define constants.
969         (uuconf_runuuxqt): Declare.
970         * uuconf/runuxq.c: New file.
971         * uuconf/uucnfi.h (struct sprocess); Added zrunuuxqt field.
972         * uuconf/tinit.c (asCmds): Added "run-uuxqt".
973         * uuconf/iniglb.c (_uuconf_iinit_global): Initialize zrunuuxqt
974         field.
975         * uuconf/MANIFEST, uuconf/Makefile.in: Handle runuxq.c.
976
977         * system.h (fsysdep_run): Added ffork argument.
978         * unix/run.c (fsysdep_run): Added ffork argument.
979         * uucico.c (main), uux.c (main), uucp.c (main): Changed calls to
980         fsysdep_run to pass ffork argument as FALSE.
981
982 Fri Jan 14 19:40:20 1994  Ian Lance Taylor  (ian@airs.com)
983
984         * Chip Salzenberg: unix/splcmd.c (zsysdep_spool_commands): More
985         fitting value for size of abtempfile.
986
987 Mon Jan 10 22:46:52 1994  Ian Lance Taylor  (ian@airs.com)
988
989         * unix/recep.c (fsysdep_remember_reception): Create directory with
990         mode of 0755, not 0777.
991
992 Mon Jan  3 20:34:35 1994  Ian Lance Taylor  (ian@airs.com)
993
994         * protg.c (fgprocess_data): Don't believe the ACK of an out of
995         order packet.
996
997         * uucico.c (asProtocols): Added 'v'.
998         * prot.h (fvstart): Declare.
999         * protg.c (fvstart): New function.
1000
1001 Sun Jan  2 15:34:12 1994  Ian Lance Taylor  (ian@airs.com)
1002
1003         * uucico.c (main), uucp.c (main), uux.c (main): Pass -I argument
1004         to invoked program.
1005
1006         * uustat.c (JOB_REJUVENATE): Define.
1007         (asLongopts): Add "rejuvenate-all".
1008         (main, ususage): Handle -R.
1009         (fsworkfile_show, fsexecutions): Handle JOB_REJUVENATE.
1010         * system.h (fsysdep_touch_file): Declare.
1011         * unix/statsb.c (issettime): Rename from ussettime.
1012         (fsysdep_touch_file): Create.
1013
1014         * Jim Avera: system.h: (INIT_NOCLOSE): Define.
1015         * unix/init.c (usysdep_initialize): If INIT_NOCLOSE is set, don't
1016         close all open descriptors.
1017
1018         * Allen Delaney: tli.c: Don't declare t_alloc if we have
1019         <tiuser.h>, since it can cause conflicts.
1020
1021         * configure.in: Call AC_CONST.
1022         * config.h.in: Added #undef const for configure to comment out.
1023         * uucp.h: Don't undefine const here.
1024
1025         * Spider Boardman: uucico.c (main): Correct error message.
1026         uux.c (main), uucp.c (main): Call uucico with -C option.
1027
1028         * tstuu.c (uprepare_test): Don't put the obsolete pty command into
1029         the port file.
1030
1031         * spawn.c (ixsspawn): Set close-on-exec flag for both ends of
1032         new pipe.
1033
1034         * Andrew A. Chernov: unix/serial.c (ICLEAR_IFLAG): Clear IMAXBEL
1035         if it is defined.
1036         (ICLEAR_LFLAG): Clear PENDIN if it is defined.
1037
1038         * send.c (flocal_send_file_init): If stat fails, discard the
1039         command and save the temporary file.
1040         (flocal_send_fail): Cleaned up zsysdep_save_temp_file call.
1041
1042 Thu Dec 23 00:55:22 1993  Ian Lance Taylor  (ian@airs.com)
1043
1044         * Martin Tomes: spawn.c (ixsspawn): On ISC, call __setostype
1045         before execve.
1046
1047 Wed Dec 22 00:06:25 1993  Ian Lance Taylor  (ian@airs.com)
1048
1049         * uuconf/tport.c (ipunknown): Set UUCONF_CMDTABRET_EXIT if an
1050         error is found.
1051
1052         * uucico.c (asLongopts): Add --login as a synonym for -u.
1053         (main): Permit a privileged user to use -u to set the login name
1054         rather than always using zsysdep_login_name ().
1055         (flogin_prompt): Accept login name as an argument.  If non-null,
1056         use it rather than prompting for one.
1057         (uhelp): Document new --login option.
1058         * uucico.8: Document new --login option.
1059         * unix/priv.c: New file, containing fsysdep_privileged.
1060         * unix/statsb.c (fsysdep_privileged): Moved to priv.c.
1061         * unix/MANIFEST, unix/Makefile.in: Support new priv.c file.
1062
1063         * uuchk.c (ikshow_port): Print a note when using the port name as
1064         a device name.
1065
1066 Tue Dec 21 00:01:40 1993  Ian Lance Taylor  (ian@airs.com)
1067
1068         * uucico.c (fcall): Ignore status file times in the future when
1069         deciding whether a retry is permitted.
1070
1071         * detach.c (usysdep_detach): If it forks, output a debugging
1072         message with the old and new process IDs.
1073
1074         * Scott Ballantyne: unix/spawn.c (ixsspawn): If fkeepuid is TRUE,
1075         try to set the real user and group ID to the effective user and
1076         group ID.  This will not work on System V derived systems, but
1077         should do no harm.
1078         * unix/xqtsub.c (fsysdep_execute): Pass fkeepuid as TRUE to
1079         ixsspawn.
1080         * unix/epopen.c (espopen): Likewise.
1081
1082         * uucico.c (faccept_call): Use correct default for
1083         max-remote-debug.
1084
1085         * uuconf/tportc.c (ipdialer): Don't core dump if the port name is
1086         NULL, as it is for the default port.
1087
1088         * unix/xqtsub.c (fsysdep_xqt_check_file): Do not permit the name
1089         ``..'', or strings starting with ``../''.
1090
1091         * proti.c (fijstart): Send a fourth byte in the SYNC packet with
1092         the number of channels.
1093         (fiprocess_packet): If a SYNC packet has a fourth byte, use it to
1094         set the number of channels.
1095
1096         * rec.c (flocal_rec_await_reply): Handle RN9 (no channels
1097         available on remote).
1098         * send.c (flocal_send_await_reply): Handle SN9 (no channels
1099         available on remote).
1100
1101         * trans.h (struct sdaemon): Added cchans field.
1102         * uucico.c (fcall, fdo_call, faccept_call): Initialize cchans.
1103         * trans.c (utchanalc, fcheck_queue, floop): Use qdaemon->cchans,
1104         not qdaemon->qproto->cchans.
1105         * send.c (flocal_send_request, flocal_send_await_reply): Likewise.
1106         * rec.c (fremote_send_fail): Likewise.
1107
1108 Sun Dec 19 19:44:31 1993  Ian Lance Taylor  (ian@airs.com)
1109
1110         * proti.c (cIack_frequency): New static variable.
1111         (asIproto_params): New protocol parameter ack-frequency.
1112         (fijstart): If cIack_frequency is not set, set it to half the
1113         window size.
1114         (fishutdown): Clear cIack_frequency.
1115         (fiprocess_data): Use cIack_frequency to determine when to send an
1116         acknowledgement, rather than always sending one at half the window
1117         size.
1118
1119         * uuconf/cmdfil.c (uuconf_cmd_file): Free zline.
1120
1121         * uuconf/callin.c (uuconf_callin): Treat colon as a field
1122         delimiter, for Unix /etc/passwd support.
1123
1124         * unix/xqtsub.c (zsysdep_find_command): If file named with
1125         absolute path does not exist, give a reasonable error message.
1126
1127         * uuconf/rdperm.c (ihadd_norw): Ignore use of empty string with
1128         NOREAD or NOWRITE, rather than denying everything.
1129
1130         * Chip Salzenberg: uulog.c (main): Set zluser correctly under
1131         HAVE_HDB_LOGGING.
1132
1133         * Chip Salzenberg: protz.c (izrecv_hdr): Use %lx, not %x.
1134
1135 Sun Dec 12 19:24:35 1993  Ian Lance Taylor  (ian@airs.com)
1136
1137         * uucp.c (uccopy): Null terminate name of forwarding system.
1138
1139 Mon Nov 22 21:12:41 1993  Ian Lance Taylor  (ian@airs.com)
1140
1141         * unix/tmpfil.c: Include "uudefs.h".
1142         * unix/Makefile.in: Changed accordingly.
1143
1144         * log.c (zstpcpy): New function.
1145         (ulog): Output to log file with a single call to fprintf.
1146
1147         * uucp.c (uccopy): Clarified "not permitted to send" error.
1148
1149         * log.c (ulog): If debugging is on, output all log messages to
1150         debugging file.
1151
1152         * uucico.c (fdo_call): Changed "Bad initialization string" error
1153         message.
1154
1155         * unix/lock.c (fsdo_lock): Print date a stale lock was last
1156         modified.
1157
1158         * uucico.c (uaccept_call_cleanup): Call ulog_system (NULL).
1159
1160 Sun Nov 21 17:04:27 1993  Ian Lance Taylor  (ian@airs.com)
1161
1162         * Joe Wells: policy.h: Added new parameter LOG_DEVICE_PREFIX.
1163         * unix/serial.c (fsserial_open): Use it.
1164
1165         * Makefile.in: Always use CFLAGS as well as LDFLAGS when linking.
1166
1167         * Joe Wells: policy.h: Added new parameter QNX_LOG_NODE_ID.
1168         * log.c (ulog): Log the QNX node ID if QNX_LOG_NODE_ID is set.
1169
1170         * Joe Wells: unix/serial.c: Support QNX dev_info function for
1171         serial port locking.
1172
1173         * Joe Wells: unix/fsusg.c: Support QNX disk_space function.
1174         * unix/Makefile.in: fsusg.o now depends upon uudefs.h.
1175
1176         * Joe Wells: policy.h: Changed PS_PROGRAM default for __QNX__.
1177         Added HAVE_QNX_LOCKFILES.  Rearranged LOCKFILE defines to permit
1178         some default selections.
1179         * sysh.unx: Removed LOCKFILES sanity check.
1180         * unix/lock.c (fsdo_lock, fsqnx_stale), unix/serial.c
1181         (fsserial_lockfile), unix/statsb.c (fsysdep_lock_status): Added
1182         support for HAVE_QNX_LOCKFILES.
1183
1184         * configure.in, config.h.in, policy.h: Moved MAIL_PROGRAM to
1185         policy.h.  Added MAIL_PROGRAM_TO_BODY and
1186         MAIL_PROGRAM_SUBJECT_BODY.
1187         * unix/mail.c: Updated accordingly.
1188
1189         * uucico.c (main): Don't make -p imply -e.
1190         (uhelp): Modified accordingly.
1191         * uucico.8: Modified accordingly.
1192
1193 Mon Nov  1 21:34:36 1993  Ian Lance Taylor  (ian@airs.com)
1194
1195         * uucico.c (main): Call fconn_close and fconn_open rather than
1196         calling fconn_reset.
1197         * conn.h (struct sconncmds): Removed pfreset field.
1198         (fconn_reset): Removed declaration.
1199         * conn.c (fconn_reset): Removed.
1200         * tcp.c (ftcp_reset): Removed.
1201         (ftcp_open): Save pid in ssysdep_conn information.
1202         (ftcp_close): If pid has changed, return FALSE.
1203         * tli.c (ftli_reset): Removed.
1204         (ftli_open): Save pid in ssysdep_conn information.
1205         (ftli_close): If pid has changed, return FALSE.
1206         * unix/pipe.c (fspipe_close): Replaced with fspipe_reset body.
1207         (fspipe_reset): Removed.
1208         (fspipe_dial): Call fspipe_close, not fspipe_reset.
1209         * unix/serial.c (fsserial_reset, fsstdin_reset): Removed.
1210         (fsysdep_modem_begin_dial): Hangup terminal here, rather than
1211         calling fconn_reset.
1212
1213         * send.c (fremote_rec_reply): If we want to request hangup, send
1214         an M after the mode.
1215         * rec.c (flocal_rec_await_reply): If there an M after the mode,
1216         the remote is requesting a hangup.
1217
1218 Sun Oct 31 23:43:40 1993  Ian Lance Taylor  (ian@airs.com)
1219
1220         * uux.c (zXnames): New static variable to hold list of file names
1221         being sent.
1222         (uxadd_name): Function to add a new name.
1223         (main, uxadd_send_file): Call uxadd_name.
1224         (main): Include zXnames in log message.
1225
1226 Mon Oct 18 00:23:27 1993  Ian Lance Taylor  (ian@airs.com)
1227
1228         * proti.c (fijstart): Ensure that packet size and window size are
1229         reasonable; restrict window size to 16.
1230
1231         * proti.c (iIforced_remote_winsize): Removed, along with all
1232         references.
1233         (asIproto_params): Removed "remote-window".
1234
1235 Sun Oct 17 22:15:14 1993  Ian Lance Taylor  (ian@airs.com)
1236
1237         * Mark Delany: protg.c (cGremote_duprrs): New static variable.
1238         (fgstart): Initialize it.
1239         (fgshutdown): Count rejects as cGremote_duprrs + cGremote_rejects.
1240         (fgprocess_data): If cGremote_rejects is non-zero, don't treat
1241         duplicate RR as reject.  Count duplicate RR's in cGremote_duprrs,
1242         not cGremote_rejects.
1243
1244         * Mark Delany: unix/serial.c (fsdouble_chat, fsysdep_conn_chat):
1245         After running a chat program, reread the terminal characteristics.
1246
1247 Wed Oct 13 20:46:46 1993  Ian Lance Taylor  (ian@airs.com)
1248
1249         * uucico.c (fdo_call): Fix typo.
1250
1251 Thu Oct  7 22:28:45 1993  Ian Lance Taylor  (ian@airs.com)
1252
1253         * unix/app3.c (zsappend3), unix/app4.c (zsappend4), unix/ftw.c
1254         (ftw), unix/sindir.c (zsysdep_in_dir): Don't duplicate '/'
1255         character for root directory.
1256
1257         * send.c (flocal_send_await_reply): If an SN comes in while the
1258         file is being sent, seek to the end rather than setting fsendfile
1259         to FALSE.
1260         (flocal_send_cancelled): Don't send an empty packet.
1261         * trans.c (utransfree): Set e field to EFILECLOSED when debugging.
1262         (floop): Check for file send cancelled at top of loop, not middle.
1263
1264         * uucp.h (ffileseekend): Define.
1265
1266 Wed Oct  6 00:51:08 1993  Ian Lance Taylor  (ian@airs.com)
1267
1268         * proti.c (fisenddata, fiprocess_packet): Report channel numbers
1269         in debugging messages.
1270
1271 Tue Oct  5 00:00:33 1993  Ian Lance Taylor  (ian@airs.com)
1272
1273         * unix/statsb.c (fsysdep_lock_status): Only report the status of a
1274         particular job once, no matter how many lock files it has.
1275
1276         * uustat.c (fsnotify): Added itime argument.  Changed all callers.
1277         Report time job was queued in mail message.
1278
1279         * unix/cusub.c (fsysdep_terminal_raw): For TERMIO and TERMIOS,
1280         clear IXON, IXOFF and IXANY (TERMIO only) in c_iflag.
1281
1282         * Lele Gaifax: log.c (ustats): Report device name.
1283
1284         * log.c (ulog): Use zsysdep_base_name of zProgram.
1285
1286         * uuxqt.c (main): Accept local system name and unknown system
1287         names for -s argument.  zsysdep_get_xqt may return an alias.
1288
1289 Wed Sep 29 00:13:39 1993  Ian Lance Taylor  (ian@airs.com)
1290
1291         * proti.c (fiprocess_packet): If sending an ACK for a NAK, don't
1292         also send a packet.
1293
1294         * unix/serial.c (fsysdep_modem_end_dial): If TIOCWONLINE is not
1295         defined, reopen the port to wait for carrier.
1296
1297         * policy.h: Use __ultrix__ as well as ultrix in check for
1298         HAVE_STRIP_BUG.
1299
1300 Tue Sep 28 22:25:05 1993  Ian Lance Taylor  (ian@airs.com)
1301
1302         * Marcel Waldvogel: uuchk.c (ukshow): Don't die if the call out
1303         file can not be opened.
1304
1305 Sun Sep 19 00:16:01 1993  Ian Lance Taylor  (ian@airs.com)
1306
1307         * Jason Molenda: policy.h (HAVE_SEQUENT_LOCKFILES): New
1308         configuration parameter.
1309         * sysh.unx, unix/serial.c: Implement it.
1310
1311         * uulog.c (main): Ignore any errors when trying to canonicalize
1312         the system name.
1313
1314         * Marcel Waldvogel: uucico.c (faccept_call): If the calling system
1315         is already locked, and we are using sequence numbers for it,
1316         increment the local sequence number to keep in synch.
1317
1318         * unix/sleep.c (usysdep_sleep): If usysdep_pause is accurate, use
1319         it.  Otherwise call sleep, but always for at least two seconds.
1320         * chat.c (fcsend): Call usysdep_sleep with 1, not 2.
1321
1322         * unix/pause.c: Correct USE_SELECT_TIMER to HAVE_SELECT.
1323
1324         * unix/serial.c (fsmodem_open): Only turn on hardware flow control
1325         for an incoming connection.
1326         (fsmodem_carrier): Turn on hardware flow control after turning on
1327         carrier.  Turn off hardware flow control before turning off
1328         carrier.
1329
1330         * uuxqt.c (uqdo_xqt_file): Use known system name, not system name
1331         from execution file, unless the former is a prefix of the latter.
1332
1333 Sat Sep 18 16:53:41 1993  Ian Lance Taylor  (ian@airs.com)
1334
1335         * policy.h: Add HAVE_ENCRYPTED_PASSWORDS configuration parameter.
1336         * callin.c: Change interface to use a passed in comparison
1337         function.
1338         * uuconf.h: Change declaration of uuconf_callin.
1339         * uucico.c (flogin_prompt): Change call to uuconf_callin.
1340         (icallin_cmp): New function.  Handle HAVE_ENCRYPTED_PASSWORDS.
1341
1342         * Hans-Dieter Doll: chat.c (fchat): Permit \W at the end of an
1343         expect string to specify a timeout.
1344
1345         * util.c (zremove_local_sys): New function.
1346         * uudefs.h: Declare zremove_local_sys.
1347         * uucp.c (main): Read local system information.  Ignore local
1348         system name in front of arguments.
1349         * uux.c (main): Ignore local system name in front of arguments.
1350
1351         * configure.in: Call AC_HAVE_POUNDBANG, AC_STAT_MACROS_BROKEN,
1352         AC_TIME_WITH_SYS_TIME, AC_STRUCT_TM.  Call AC_SUBST(POUNDBANG).
1353         Remove HAVE_SYS_TIME_AND_TIME_H check.  Rework disk space
1354         configuration to actually check for the functions.  Check for
1355         function dev_info.  Don't confuse HAVE_FTW_H and HAVE_FTW (from
1356         Joe Wells).
1357         * config.h.in (STAT_MACROS_BROKEN, TM_IN_SYS_TIME, STAT_DUSTAT,
1358         STAT_DISK_SPACE, HAVE_DEV_INFO): New macros set by configure.
1359         (TIME_WITH_SYS_TIME): Renamed from HAVE_SYS_TIME_AND_TIME_H.
1360         * Makefile.in (POUNDBANG): Set to @POUNDBANG@.
1361         (uusched, uuto): If POUNDBANG = no, turn #!/bin/sh into :.
1362         (config.status): Use config.status --recheck.
1363         (configure): Chdir to $(srcdir) before running autoconf.
1364         * sysh.unx: If STAT_MACROS_BROKEN, undefine S_ISDIR.
1365         * log.c, time.c, uustat.c, unix/loctim.c: If TM_IN_SYS_TIME,
1366         include <sys/time.h>, not <time.h>.
1367         * tstuu.c, unix/pause.c, unix/proctm.c, unix/serial.c: Rename
1368         HAVE_SYS_TIME_AND_TIME_H to TIME_WITH_SYS_TIME.
1369         * fsusg.c: Check STAT_DUSTAT, not _AIX and _I386.
1370
1371         * config.h.in: Renamed from conf.h.in.
1372         * MANIFEST, configure.in, Makefile.in, lib/Makefile.in,
1373         unix/Makefile.in, uuconf/Makefile.in, uucp.h: conf.h renamed to
1374         config.h.
1375
1376 Fri Sep 17 00:36:16 1993  Ian Lance Taylor  (ian@airs.com)
1377
1378         * Joe Wells: policy.h: If __QNX__, default to HAVE_POSIX_TERMIOS.
1379
1380         * Joe Wells: Makefile.in (FORCE): Add dummy command to work around
1381         QNX make bug.
1382
1383         * Makefile.in, lib/Makefile.in, unix/Makefile.in,
1384         uuconf/Makefile.in: Add .PHONY declaration for appropriate
1385         commands.
1386
1387         * Joe Wells: Makefile.in (install): Create $(man1dir) and
1388         $(man8dir) if necessary.
1389         (install-info): Create $(infodir) if necessary.
1390
1391         * Joe Wells: sysh.unx (bsgrade): Declare as returning int rather
1392         than char, since it can return a negative number.
1393         * unix/work.c (bsgrade): Define as returning int.
1394
1395         * Joe Wells: unix/lock.c (fsdo_lock), unix/statsb.c
1396         (fsysdep_lock_status): Use pid_t rather than int for variables
1397         that hold pid's.  Cast to long when using printf.
1398
1399         * Joe Wells: uucico.c (fcall): Fix test for 24 hour check when too
1400         many retries.
1401
1402         * Joe Wells: uucico.c (fcall), unix/opensr.c
1403         (esysdep_open_receive), unix/recep.c (fsysdep_already received):
1404         Cast values in multiplication to determine seconds per day or per
1405         week to long, because result is larger than 16 bits.
1406
1407         * Joe Wells: uuconv.c: Add return 0 after exit to avoid warnings.
1408
1409 Thu Sep 16 23:53:58 1993  Ian Lance Taylor  (ian@airs.com)
1410
1411         * Joe Wells: configure.in: Set AR from environment, defaulting to
1412         ar, and substitute it in Makefiles.
1413         * Makefile.in: Set AR to @AR@.  Pass it down in MDEFINES.
1414         * lib/Makefile.in, unix/Makefile.in, uuconf/Makefile.in: Set AR to
1415         @AR@.  Use $(AR) instead of ar.  Use rc instead of qc (POSIX.2
1416         does not define q).
1417
1418 Wed Sep 15 00:47:33 1993  Ian Lance Taylor  (ian@airs.com)
1419
1420         * uuconf/callin.c (uuconf_callin): Take an additional argument: a
1421         function to call to transform the login name and password.  This
1422         is a hack to avoid requiring escape sequence handling in uuconf.
1423         * uucico.c (flogin_prompt): Pass cescape to uuconf_callin.  This
1424         is an incompatible change.
1425         * uuconf.h (uuconf_callin): Update declaration.
1426         * tstuu.c (uprepare_test): Use \s in password in Call1 and Pass2.
1427
1428         * chat.c (fcsend, fcprogram): Expand escape sequences in callout
1429         login names and passwords.  This is an incompatible change.
1430
1431         * Joe Wells: uustat.c (fsnotify): Add missing break statement.
1432
1433         * Mark Eichin: tstuu.c (main): Add some sleeps in the children to
1434         make the tests more robust on Linux.
1435
1436         * uulog.c (ulhelp): Clean up general usage message: don't show -F
1437         for HDB_LOGGING, don't show -x for non HDB_LOGGING.  Remove
1438         mention of numeric debugging levels.
1439         * uustat.c (ushelp): Remove mention of numeric debugging levels.
1440
1441         * unix/serial.c (ICLEAR_CFLAG): Removed CLOCAL.
1442         (enum tclocal_setting): New enum.
1443         (fsserial_lock): Don't call TIOCSCTTY.
1444         (fsserial_open): Changed flocal argument to tlocal.  Use it to
1445         determine initial CLOCAL setting for TERMIO and TERMIOS.  Don't
1446         call TIOCSCTTY until after setting the terminal state.
1447         (fsstdin_open): Call fsserial_open with IGNORE_CLOCAL.
1448         (fsmodem_open): Call fsserial_open with SET_CLOCAL if calling out,
1449         CLEAR_CLOCAL if waiting for an incoming call.
1450         (fsdirect_open): Call with SET_CLOCAL or CLEAR_CLOCAL depending
1451         upon fcarrier setting.
1452         * uuconf.h (struct uuconf_direct_port): Added fcarrier field.
1453         * uuconf/tportc.c (asPdirect_cmds): Added ``carrier'' command.
1454         (_uuconf_iport_cmd): Initialize direct fcarrier field to FALSE.
1455         * uuconf/hport.c (uuconf_hdb_find_port), uuconf/vport.c
1456         (uuconf_v2_find_port): Set direct fcarrier field to FALSE.
1457         * uuchk.c (ikshow_port): Print direct port carrier field.
1458         * uuconv.c (uvwrite_taylor_port): Likewise.
1459
1460         * uustat.c (main, fsquery, fsquery_systems, fsquery_show): Support
1461         -o, -y, -s and -S in conjunction with -q.
1462
1463 Tue Sep 14 00:51:50 1993  Ian Lance Taylor  (ian@airs.com)
1464
1465         * log.c (ulog): If we can't open the log file, print an error on
1466         stderr.
1467
1468         * configure.in, conf.h.in: Adjusted for autoconf 1.5.
1469
1470 Sun Sep 12 15:52:29 1993  Ian Lance Taylor  (ian@airs.com)
1471
1472         * unix/serial.c (fsserial_open): Add flocal argument.  Changed all
1473         callers.  Pass it as TRUE when dialing out on a modem.  This is
1474         supposedly required on 386bsd.
1475
1476         * conn.c (fconn_dial_sequence): New function.
1477         (fmodem_dial): Use fconn_dial_sequence.  Call fsysdep_modem_begin
1478         only once, before entire sequence, and fsysdep_modem_end only
1479         once, after entire sequence.  Don't call fcdo_dial.
1480         (fcdo_dial): Removed.
1481         * conn.h: Declare fconn_dial_sequence.
1482         * uucico.c (fconn_call): Don't free dialer if fconn_dial fails.
1483         * uuconf.h (struct uuconf_tcp_port): Add pzdialer field.
1484         * tcp.c (ftcp_dial): Pass new pzdialer field to
1485         fconn_dial_sequence.
1486         * tli.c (ftli_dial): Pass pzdialer to fconn_dial_sequence.
1487         * uuconf/hport.c (uuconf_hdb_find_port): Add trailing dialer
1488         sequence to pzdialer field for TCP port.
1489         * uuconf/tportc.c (asPtcp): Add ``dialer-sequence'' command.
1490         (_uuconf_iport_cmd): Initialize pzdialer for TCP port.
1491         * uuconf/vsinfo.c (_uuconf_iv2_system_internal): Initialize
1492         pzdialer for TCP port.
1493         * uuchk.c (ikshow_port): Print TCP pzdialer field.
1494         * uuconv.c (uvwrite_taylor_port, ivwrite_hdb_port): Output TCP
1495         pzdialer field.
1496
1497 Sat Sep 11 16:30:17 1993  Ian Lance Taylor  (ian@airs.com)
1498
1499         * uulog.c, uuname.c (main): Pass INIT_NOCHDIR to
1500         usysdep_initialize.
1501
1502         * uucp.1, uustat.1, uux.1, uuxqt.8: Remove uses of nonportable .EX
1503         and .EE macros.
1504
1505         * uuxqt.c (asQcmds, iqout, iqfile, iqrequestor, iquser): Remove
1506         restrictions on number of arguments to commands in execution file,
1507         since is there is such a range of buggy UUCP implementations out
1508         there.
1509
1510         * sysh.unx (CORRUPTDIR): Define.
1511         * unix/corrup.c: New file for new zsysdep_save_corrupt_file
1512         function to save a file in CORRUPTDIR.
1513         * unix/Makefile.in, unix/MANIFEST: Add corrup.
1514         * system.h: Add declaration of zsysdep_save_corrupt_file.
1515         * uuxqt.c (uqdo_xqt_file): If execution file has a syntax error,
1516         save it using zsysdep_save_corrupt_file and notify OWNER.
1517
1518         * uuconf/hsinfo.c (_uuconf_ihdb_system_internal), vsinfo.c
1519         (_uuconf_iv2_system_internal): Treat a specified time/grade as
1520         both a timegrade and a call-timegrade.
1521
1522         * rec.c (frec_file_end): If the received file can not be moved to
1523         the final location, and there is enough disk space, keep the file,
1524         mentioned the saved name in the error message, and send mail to
1525         OWNER about it.  If the hand created execution file can not be
1526         moved, delete it.
1527         * unix/move.c (fsysdep_move_file): Don't delete the original file
1528         if the move fails.
1529         * unix/splcmd.c (zsysdep_spool_commands): Remove the temporary
1530         file if the move fails. 
1531
1532 Wed Sep  1 23:29:30 1993  Ian Lance Taylor  (ian@airs.com)
1533
1534         * uuconf/tinit.c (itdebug, _uuconf_idebug_cmd): New functions.
1535         (asCmds): Call itdebug for "debug", to accept spaces between
1536         options as well as commas.
1537         * uuconf/tsinfo.c (iidebug): New function.
1538         (asIcmds): Call iidebug for "debug".
1539         * uuconf/uucnfi.h: Added prototype for _uuconf_idebug_cmd.
1540
1541 Tue Aug 31 00:09:33 1993  Ian Lance Taylor  (ian@airs.com)
1542
1543         * send.c (flocal_send_file_init): Don't set flocal if job was
1544         requested by a remote user.
1545         (flocal_send_fail, flocal_send_open_file): Don't save temporary
1546         file in .Preserve if job was requested by a remote user.
1547
1548         * unix/wldcrd.c (fsysdep_wildcard_start): Don't free zcmd until
1549         after calling espopen.
1550
1551         * lib/buffer.c (ubuffree): Added debugging code controlled by
1552         DEBUG_BUFFER macro.
1553
1554 Sun Aug 29 13:33:21 1993  Ian Lance Taylor  (ian@airs.com)
1555
1556         * uuconf/tcalou.c: Permit empty password in call file.
1557
1558         * unix/work.c (COMMANDS_PER_SCAN): New macro.
1559         (fsysdep_get_work_init): Get at most COMMANDS_PER_SCAN new command
1560         files, to avoid timeouts while reading a large directory.
1561
1562         * rec.c (fremote_send_file_init): Initialize crestart.
1563
1564         * uux.c (main): Changed special handling of single "-" argument to
1565         call getopt multiple times.
1566
1567         * D.J. James: protg.c (fgsendcmd, fgsenddata), prott.c
1568         (ftsendcmd): Avoid passing 0 to bzero to avoid SunOS bug.
1569
1570         * protf.c (ffprocess_data): Some systems seem to send characters
1571         with parity, so strip the parity bit from incoming bytes.
1572
1573         * Kenji Rikitake: uucp.h: Changed order of header files to avoid
1574         gcc stddef.h vs. sys/stdtypes.h problem on SunOS 4.1.
1575
1576         * Alexander Lehmann: configure.in: Correct misspelling of
1577         HAVE_GETWD.
1578
1579         * John Hood: unix/filnam.c (ZCHARS): Get the alphabet right.
1580
1581         * Gabor Kiss: tcp.c (ftcp_dial): Use all gethostbyname info before
1582         calling getservbyname.
1583
1584 Thu Aug 26 23:15:33 1993  Ian Lance Taylor  (ian@airs.com)
1585
1586         * uux.c, uuxqt.c: Added long options.
1587
1588         * uucp.c: Added v to getopt_long argument, print help and version
1589         info to stderr.
1590
1591         * unix/splcmd.c (zsysdep_spool_commands): Create command file via
1592         temporary file, so that the command file is created atomically.
1593         * unix/spool.c (zscmd_file): Accept files starting with "TMP".
1594
1595 Sun Jul 25 14:50:41 1993  Ian Lance Taylor  (ian@airs.com)
1596
1597         * uupick.c, uustat.c: Added long options.
1598
1599 Mon Jul 19 22:06:19 1993  Ian Lance Taylor  (ian@airs.com)
1600
1601         * uucico.c, uuconv.c, uucp.c, uulog.c, uuname.c: Added long
1602         options.
1603         * uucico.c (main, fcall): Made -c option not print the ``No work''
1604         log message.
1605         * uuname.c (main): Call ulog_uuconf rather than unuuconf_error.
1606
1607 Sun Jul 11 14:29:39 1993  Ian Lance Taylor  (ian@airs.com)
1608
1609         * cu.c, uuchk.c: Added long options.
1610
1611         * uudefs.h, log.c (zProgram): Renamed from abProgram.
1612         * cu.c, uucico.c, uucp.c, uulog.c, uuname.c, uupick.c, uustat.c,
1613         uux.c, uuxqt.c (main): Initialize zProgram from argv[0].
1614
1615         * Bob Hemedinger: unix/cohtty.c (fscoherent_disable_tty): Almost
1616         always return TRUE.
1617         * unix/serial.c (fsserial_lockfile): Skip "LCK.." in string passed
1618         to lockttyexist and fscoherent_disable_tty.
1619         * uucico.c (main): If __COHERENT__ is defined, change the meaning
1620         of -c for backward compatibility with old Coherent UUCP.
1621
1622         * David Nugent: uucico.c (main): Added -C option to only call
1623         system named by -s or -S if there is work.
1624
1625         * uuconf/syssub.c (_uuconf_isystem_default): Merge in default
1626         protocol parameters so that setting parameters for one protocol
1627         does not lose the default settings for other protocols.
1628
1629         * unix/lcksys.c (zssys_lock_name): New function.
1630         (fsysdep_lock_system, fsysdep_unlock_system): Use it.
1631
1632         * John Plate: uuchk.c (ukshow): Call ukshow_size with the right
1633         arguments in the called remote case.
1634
1635         * uuconf/remunk.c (uuconf_remote_unknown): use the remote.unknown
1636         shell script if HDB_CONFIG and no ``unknown'' commands appeared in
1637         the config file.
1638
1639         * Jim Brownfield: uuconf/vsinfo.c (_uuconf_iv2_system_internal):
1640         Accept continuation lines in L.sys.
1641
1642         * Marc Evans: unix/serial.c (fsysdep_conn_write, fsysdep_conn_io):
1643         Add casts to t_snd calls to avoid warnings.
1644
1645         * Julian Stacey: uuchk.c (main): If no information found, say so.
1646
1647         * Ju"rgen Fluk: uulog.c (main): Better error messages for HDB.
1648
1649         * uucico.c (zget_typed_line): If last string ended in \r, ignore
1650         leading \n.
1651
1652         * Mark E. Mallett: uuconf/time.c (asTdays): Add "none".
1653
1654         * uuconf/hsinfo.c (_uuconf_ihdb_system_internal): Report line
1655         numbers for syntax errors.
1656
1657 Sat Jul 10 10:28:03 1993  Ian Lance Taylor  (ian@airs.com)
1658
1659         Initial hardware flow control support from Peter Wemm:
1660         * uuconf.h (struct uuconf_modem_port, struct uuconf_direct_port):
1661         New field uuconf_fhardflow in each structure.
1662         * unix/serial.c (fsserial_hardflow): New routine.  Initially
1663         supports SunOS and SCO Unix.
1664         (fsmodem_open, fsdirect_open): Turn on hardware flow control if
1665         supported by the port.
1666         (fsserial_set): If CRTFSL is set, don't send XON/XOFF characters.
1667         * uuconf/hport.c (uuconf_hdb_find_port), uuconf/tportc.c
1668         (_uuconf_iport_cmd), uuconf/vport.c (uuconf_v2_find_port):
1669         Initialize uuconf_fhardflow field to TRUE.
1670         * uuconf/tportc.c (struct asPmodem_cmds, struct asPdirect_cmds):
1671         Added "hardflow" command.
1672         * uuchk.c (ikshow_port): Report whether hardware flow control is
1673         available.
1674         * uuconv.c (uvwrite_taylor_port): Write out hardware flow control
1675         information.
1676
1677         * Peter Wemm: protg.c (fgstart), proti.c (fijstart): Report local
1678         packet and window size as well as remote.
1679         * rec.c (fremote_send_file_init), send.c (flocal_send_open_file,
1680         fremote_rec_reply): Report number of bytes being sent or received,
1681         and restart point if any.
1682
1683         * Peter Wemm: trans.h (struct sdaemon): New fields csent and
1684         creceived.
1685         * uucico.c (fcall, faccept_call): Initialize csent and creceived.
1686         (fdo_call, faccept_call): Report on number of file bytes
1687         transferred and bytes per second.
1688         * rec.c (frec_file_end): Record number of bytes received.
1689         * send.c (fsend_wait_confirm): Record numbers of bytes sent.
1690         * trans.c (ufailed): Record number of bytes sent or received.
1691
1692         * Peter Wemm: uusched.in, uuto.in: Use #!/bin/sh rather than :.
1693         Use exec when invoking program.
1694
1695         * uulog.c (main): Don't die if we can't canonicalize the -s
1696         argument.
1697
1698         * unix/cusub.c (uscu_child): Force the descriptor into blocking
1699         mode.
1700
1701         Port type pipe support contributed by Marc Boucher:
1702         * unix/pipe.c: New file.  Support routines for pipes.
1703         * unix/MANIFEST, unix/Makefile.in: Adjusted for new file pipe.c.
1704         * uuconf.h (enum uuconf_porttype): Added UUCONF_PORTTYPE_PIPE.
1705         (struct uuconf_pipe_port): New structure.
1706         (struct uuconf_port): Added uuconf_pipe_port to union.
1707         * sysh.unx (struct ssysdep_conn): Add fields ord, owr and ipid,
1708         rename istdout_flags to iwr_flags.
1709         (fsdouble_{read, write, chat}): New prototypes.
1710         * conn.h: Prototype for fsysdep_pipe_init.
1711         * unix/serial.c: Renamed fsstdin_{read, write, chat} to
1712         fsdouble_{read, write, chat}.  Made them non-static.  Changed them
1713         to use ord and owr fields rather than 0 and 1.
1714         (fsserial_init, fsstdin_open): Initialize ord and owr fields.
1715         (fsstdin_close, fsblock, fsstdin_reset, fsysdep_conn_io,
1716         fsstdin_break, fsstdin_set): Use ord and owr fields rather than 0
1717         and 1.
1718         * uuconf/tportc.c (asPtype_names): Added "pipe".
1719         (asPpipe_cmds, CPIPE_CMDS): New array of pipe commands.
1720         (CCMDS, _uuconf_iport_cmd): Adjusted accordingly.
1721         * tcp.c (fsysdep_tcp_init), tli.c (fsysdep_tli_init): Initialize
1722         new ord and owr fields.
1723         * conn.c (fconn_init): Call fsysdep_pipe_init for
1724         UUCONF_PORTTYPE_PIPE.
1725         * unix/cusub.c (zsport_line, uscu_child, fsysdep_shell): Handle
1726         UUCONF_PORTTYPE_PIPE.
1727         * uuchk.c (ikshow_port): Report on port type pipe.
1728         * uuconv.c (uvwrite_taylor_port): Write out port type pipe.
1729         
1730         * Marc Boucher: cu.c: (main, ucuabort): Use new variable
1731         fCuconnprinted to avoid printing ZDISMSG if ZCONNMSG has not been
1732         printed.
1733         (main): Call fsysdep_port_access only after we have locked the
1734         port, to get a better error message on systems with shared lines.
1735
1736         * Marc Boucher: policy.h (HAVE_FULLDUPLEX_PIPES): New macro.
1737         * unix/spawn.c (ixspawn): Use it.
1738
1739         * Marc Boucher: uucico.c (uusage): Added lines for -c and -D.
1740
1741         * uuconf/time.c (_uuconf_itime_parse): Add casts to avoid a
1742         compiler warning.
1743
1744         * uustat.c (fsworkfile_show): Don't report non-existent send
1745         files.
1746
1747         * lib/parse.c (fparse_cmd): Accept any base for the mode argument,
1748         rather than always using 8.  Depend upon the leading zero to
1749         indicate base 8.  Accomodates UFGATE 1.03.
1750
1751 Wed Jun 30 00:27:27 1993  Ian Lance Taylor  (ian@airs.com)
1752
1753         * uudefs.h (struct scmd): Changed bdummy field to bgrade.
1754         * trans.c (fqueue_send): Sort sends by whether they are a command
1755         and then by grade.
1756         * unix/work.c (asSwork_files): Renamed from azSwork_files, made
1757         array of struct ssfilename rather than char *.
1758         (struct ssfile): Added bgrade field.
1759         (iswork_cmp, fsysdep_get_work_init, usysdep_get_work_freed):
1760         Changed accordingly.
1761         (fsysdep_get_work): Set qcmd->bgrade.
1762         * uucp.c (uccopy), uux.c (main, uxadd_send_file), uuxqt.c
1763         (uqdo_xqt_file), xcmd.c (fremote_xcmd_init), lib/parse.c
1764         (fparse_cmd): Initialize bgrade field of scmd structure.
1765
1766 Sun Jun 27 23:21:33 1993  Ian Lance Taylor  (ian@airs.com)
1767
1768         * send.c (flocal_send_await_reply, flocal_send_cancelled): If the
1769         first D. file being sent for a faked E command fails, send the
1770         second one anyhow.
1771
1772 Sun Jun  6 23:07:33 1993  Ian Lance Taylor  (ian@airs.com)
1773
1774         * proti.c (fiprocess_data): If we get a packet we sent a NAK for,
1775         forget that sent NAKs for all preceding packets.
1776         (fiprocess_packet): If we get a NAK for the packet we are about to
1777         send, and all our packets have been acknowledged, send an ACK.
1778
1779 Thu Jun  3 20:54:55 1993  Ian Lance Taylor  (ian@airs.com)
1780
1781         * prot.h (struct sprotocol): Added frestart field.
1782         * uucico.c (asProtocols): Initialize frestart field.
1783         * system.h, unix/opensr.c (zsysdep_receive_temp): Added frestart
1784         argument to zsysdep_receive_temp.
1785         * rec.c (flocal_rec_send_request, fremote_send_file_init,
1786         frec_file_end): Pass frestart argument to zsysdep_receive_temp.
1787         * unix/opensr.c (esysdep_open_receive): Permit pcrestart argument
1788         to be NULL.
1789         * rec.c (flocal_rec_await_reply, fremote_send_file_init): Pass
1790         pcrestart argument to esysdep_open_receive as NULL if file
1791         tranfers can not be restarted.
1792
1793         * lib/status.c (azStatus): Uwe Doering: If SPOOLDIR_HDB or
1794         SPOOLDIR_SVR4, use the same strings they use.
1795         * unix/status.c (aiMapstatus): Uwe Doering: Swap 4 and 20.
1796
1797         * unix/serial.c (fsserial_open): Uwe Doering: Set VTIME to 1.
1798
1799         * uucico.c (faccept_call, uaccept_call_cleanup): Uwe Doering: Free
1800         and unlock evertyhing after any return from faccept_call.
1801         (main): Don't need to unlock after faccept_call here any more.
1802
1803         * proti.c (fiprocess_data): Added additional debugging
1804         information.
1805
1806 Sat May 15 13:55:21 1993  Ian Lance Taylor  (ian@airs.com)
1807
1808         * protg.c (fgprocess_data): Don't treat a duplicate RR as an RJ if
1809         we are retransmitting packets.  If we are treating a duplicate RR
1810         as an RJ, don't also treat it as an acknowledgement.
1811
1812         * unix/serial.c (fsysdep_conn_io): Typo in debugging message.
1813
1814 Tue May  4 00:03:32 1993  Ian Lance Taylor  (ian@airs.com)
1815
1816         * uux.c (main): Andreas Raab: Move aboptions out of local block
1817         since a pointer to it escapes the scope.
1818
1819         * unix/mkdirs.c: W Christopher Martin: Just try to make the
1820         directories, and ignore EEXIST errors, rather than first checking
1821         whether the directory exists.
1822
1823         * send.c (flocal_send_request): Chip Salzenberg: Double check that
1824         the file still exists before sending the S command.
1825
1826         * uucico.c (zget_uucp_cmd, zget_typed_line), trans.c (fgot_data):
1827         Matthew Geier: Avoid doing memcpy (z, NULL, 0).
1828
1829 Mon May  3 22:52:46 1993  Ian Lance Taylor  (ian@airs.com)
1830
1831         * system.h, unix/locfil.c, unix/cwd.c, unix/picksb.c: Johan
1832         Vromans: Added pfbadname argument to zsysdep_local_file,
1833         zsysdep_local_file_cwd, zsysdep_uupick_local_file.
1834         * Changed all callers.
1835         * send.c (fremote_rec_file_init), rec.c (fremote_send_file_init):
1836         If remote system gives bad name, return an error rather than
1837         aborting the connection.
1838         * uuxqt.c (uqdo_xqt_file): If bad file name, abort execution
1839         rather than try again later.
1840         * uupick.c (main): If bad file name, permit new command rather
1841         than exiting.
1842
1843         * lib/debug.c: Stephan Niemz: Accept whitespace separated
1844         debugging types.
1845
1846         * unix/detach.c: Always use setsid if it is available.
1847
1848 Sun May  2 13:23:33 1993  Ian Lance Taylor  (ian@airs.com)
1849
1850         * unix/spool.c (zsfind_file): Fix handling of execution file
1851         names for systems to work with any possible execution file name.
1852
1853         * send.c (flocal_send_open_file): Subtract starting position from
1854         number of bytes passed to pffile.
1855
1856         * uuconf/rdperm.c: Syd Weinstein: Don't skip lines in Permissions
1857         with leading whitespace.
1858
1859         * uuconf/vsinfo.c: Gero Kuhlmann: Set default retry time
1860         correctly.
1861
1862         * unix/lock.c (fsdo_lock): Andrew Vignaux: Handle readonly lock
1863         files correctly.
1864
1865         * send.c (flocal_send_fail, flocal_send_await_reply): James Van
1866         Artsdalen: Clarify error messages relating to execution files.
1867
1868         * log.c (ustats): Avoid overflow in bytes/sec calculation.
1869
1870 Sat May  1 17:40:14 1993  Ian Lance Taylor  (ian@airs.com)
1871
1872         * trans.c (ftadd_cmd): Don't treat junk at end of command as a
1873         size if the remote system doesn't support sizes.
1874
1875         * uucico.c (faccept_call): Turn on the protocol before reading the
1876         queue, in case there are lots of command files.
1877
1878         * unix/cusub.c: Julian Stacey: If SIGUSR2 is not defined, use
1879         SIGURG instead.
1880
1881         * uuconf/syshdr.unx (MAKE_ABSOLUTE): New macro.
1882         * uuconf/tinit.c (itaddfile): Renamed from itadd.  Use
1883         MAKE_ABSOLUTE to force absolute pathnames to configuration files.
1884
1885         * conn.c (fconn_close): Steve M. Robbins: Ignore any SIGHUP
1886         received after closing the connection.
1887
1888         * cu.c (main): Frank Conrad: When an alternate fails, move on to
1889         the next one.
1890
1891         * uucico.c (faccept_call): Alexei K. Yushin: Supposedly some
1892         UUCP's send UgG rather than just Ug.
1893
1894         * unix/serial.c (fsserial_lockfile): Bob Hemedinger: Fix error
1895         message in HAVE_COHERENT_LOCKFILES case.
1896
1897         * unix/mkdir.c: Andy Fyfe: Pass fkeepuid as TRUE to ixsspawn.
1898
1899         * unix/strerr.c: Undefine strerror in case there is a macro
1900         definition which configure did not pick up.
1901
1902         * configure.in: Andy Fyfe: AT&T 3b1 has sys/mount.h but not
1903         statfs.
1904
1905         * uudir.c: Andy Fyfe: Include uucp.h.
1906
1907         * unix/fsusg.c: Andy Fyfe: Typos in (untested) STAT_USTAT case.
1908
1909         * unix/filnam.c: Eric Lee Green: Avoid generating filenames that
1910         only differ in case, to make life easier for bad filesystems.
1911
1912         * uuconf/llocnm.c: Brian J. Murrell: Don't read HDB files if
1913         ``hdb-files no'' given.
1914
1915 Sat Mar 20 16:10:20 1993  Ian Lance Taylor  (ian@airs.com)
1916
1917         * uudefs.h (eSendfile, eRecfile): Deleted obsolete declarations.
1918
1919 Sat Feb 13 15:57:30 1993  Ian Lance Taylor  (ian@airs.com)
1920
1921         * Released version 1.04.
1922
1923         * unix/detach.c: Andrew A. Chernov: Don't check return of setsid.
1924
1925 Sun Jan 31 01:45:56 1993  Ian Lance Taylor  (ian@airs.com)
1926
1927         * cu.c (main): Pass "cu" to uuconf_init.
1928
1929         * protz.c (fzprocess): Restore ZPAD char before calling getinsync.
1930
1931 Sat Jan 30 22:19:26 1993  Ian Lance Taylor  (ian@airs.com)
1932
1933         * Makefile.in (doc-dist): New target.
1934
1935 Wed Jan 27 22:55:26 1993  Ian Lance Taylor  (ian@airs.com)
1936
1937         * protg.c (fgstart): Set iGremote_segsize when using
1938         remote-packet-size.
1939
1940 Tue Jan 26 01:01:34 1993  Ian Lance Taylor  (ian@airs.com)
1941
1942         * proti.c (fiprocess_data): always send an ACK after receiving
1943         half a window, rather than sometimes resending a packet.  Half a
1944         window of short packets can arrive very quickly.
1945
1946         * tstuu.c (main, cread, fsend): rewrote communication routines to
1947         avoid deadlock.
1948
1949 Sun Jan 24 01:02:47 1993  Ian Lance Taylor  (ian@airs.com)
1950
1951         * trans.c (ufailed): don't report statistics if no bytes
1952         transferred.
1953
1954         * Makefile.in (install): simplified somewhat.
1955         (dist): distribute the sample directory.
1956
1957 Sat Jan 23 19:47:12 1993  Ian Lance Taylor  (ian@airs.com)
1958
1959         * configure.in, conf.h.in, tli.c: Karl Swarz: check for and use
1960         <sys/tli.h>.
1961
1962 Fri Jan 22 00:09:37 1993  Ian Lance Taylor  (ian@airs.com)
1963
1964         * send.c (flocal_send_request): Alan Judge: don't send C in option
1965         string when faking an E command as an S command.
1966
1967 Thu Jan 21 00:09:31 1993  Ian Lance Taylor  (ian@airs.com)
1968
1969         * uux.c (main): don't use E command if forwarding.
1970
1971 Wed Jan 20 00:22:38 1993  Ian Lance Taylor  (ian@airs.com)
1972
1973         * send.c (fsend_exec_file_init), rec.c (frec_file_end), uux.c
1974         (main): Chip Salzenberg: always put the C line last in an
1975         execution file, to support Fredmail.
1976
1977 Tue Jan 19 00:09:43 1993  Ian Lance Taylor  (ian@airs.com)
1978
1979         * trans.h, trans.c (ftcharge, floop, fgot_data): rewrote timing
1980         code.
1981
1982         * trans.h, trans.c, send.c, rec.c, xcmd.c, protf.c, protz.c
1983         (fqueue_local, fqueue_remote, fqueue_send, fqueue_receive): added
1984         boolean return value and qdaemon argument.
1985
1986 Mon Jan 18 00:01:46 1993  Ian Lance Taylor  (ian@airs.com)
1987
1988         * uucico.c (fdo_call, faccept_call): Ted Lindgreen, Chip
1989         Salzenberg: wait for remote hangup string before hanging up.
1990
1991         * proti.c (fiprocess_data, fiprocess_packet): stop scanning input
1992         buffer after a CLOSE packet.
1993
1994 Sat Jan 16 22:44:28 1993  Ian Lance Taylor  (ian@airs.com)
1995
1996         * system.h, uucico.c (main), uuxqt.c (main), unix/init.c: Ted
1997         Lindgreen: eliminated INIT_DAEMON.
1998
1999         * log.c (ulog): don't log SIGINT if fLog_sighup is FALSE.
2000
2001         * unix/move.c (fsysdep_move_file), unix/xqtsub.c
2002         (fsysdep_move_uuxqt_files): the system call rename seems to fail
2003         on some systems for arbitrary reasons, so always try to copy the
2004         file by hand, not just if we get EXDEV.
2005
2006         * policy.h, unix/pause.c: Gregory Gulik: added HAVE_HUNDREDTHS_NAP
2007         configuration parameter.
2008
2009 Wed Jan  6 21:06:45 1993  Ian Lance Taylor  (ian@airs.com)
2010
2011         * unix/serial.c (fsserial_lockfile): create HDB lock files when
2012         using HAVE_COHERENT_LOCKING.
2013         unix/cohtty.c (fscoherent_disable_tty): consistently return FALSE
2014         on error.
2015
2016         * unix/cusub.c (fsysdep_terminal_raw): Andrew A. Chernov: if
2017         POSIX_TERMIOS, turn of IEXTEN flag.
2018
2019 Sat Jan  2 23:19:27 1993  Ian Lance Taylor  (ian@airs.com)
2020
2021         * protg.c (fgprocess_data): treat a duplicate RR as an RJ.
2022
2023 Fri Jan  1 11:17:30 1993  Ian Lance Taylor  (ian@airs.com)
2024
2025         * policy.h, unix/proctm.c: Steven S. Dick: use sysconf
2026         (_SC_CLK_TCK) for TIMES_TICK if possible.
2027
2028         * uuconf/diacod.c: Gregory Gulik: accept an empty dialcode string.
2029
2030         * system.h, uucico.c (main), uucp.c (main), uux.c (main),
2031         unix/run.c: Karsten Thygesen: removed ffork argument from
2032         fsysdep_run.
2033
2034 Wed Dec 30 00:21:55 1992  Ian Lance Taylor  (ian@airs.com)
2035
2036         * unix/link.c: Andrey G Blochintsev: don't fail just because
2037         destination directories do not exist.
2038
2039         * send.c (flocal_send_open_file): Scott Ballantyne: record file
2040         name when logging send of execution command.
2041
2042         * protz.c: Chip Salzenberg: reformatted to 80 columns.
2043
2044 Tue Dec 29 23:50:52 1992  Ian Lance Taylor  (ian@airs.com)
2045
2046         * uuconv.c (uvwrite_time): scott@geom.umn.edu: handle midnight
2047         more correctly.
2048
2049 Fri Dec 18 00:49:16 1992  Ian Lance Taylor  (ian@airs.com)
2050
2051         * system.h, uucp.c (uccopy), uux.c (main), cu.c (icuput, icutake),
2052         unix/ufopen.c (esysdep_user_fopen): Doug Evans: open files used
2053         for %put and %take using esysdep_user_fopen, rather than with
2054         privileges of uucp.  Added frd and fbinary arguments to
2055         esysdep_user_fopen.
2056
2057 Thu Dec 17 00:04:53 1992  Ian Lance Taylor  (ian@airs.com)
2058
2059         * unix/picksb.c (zsysdep_uupick): Peter Wemm: allocation error.
2060
2061         * uupick.c (main): Peter Wemm: pass INIT_GETCWD to
2062         usysdep_initialize; really quit if 'q' is typed.
2063
2064         * uulog.c (main): Peter Wemm: always canonicalize system name, not
2065         just if using HDB_LOGGING.
2066
2067         * uudefs.h, log.c (ustats), trans.c (ufailed), send.c
2068         (fsend_await_confirm), rec.c (frec_file_end): Peter Wemm: added
2069         fmaster argument to ustats, used only in HDB_LOGGING.
2070
2071 Wed Dec 16 23:35:51 1992  Ian Lance Taylor  (ian@airs.com)
2072
2073         * uustat.c (main): Marc Unangst: forgot to call strtol for -y.
2074
2075         * policy.h, sysh.unx: Brian J. Murrell: yet another configuration
2076         parameter: HAVE_BROKEN_SETREUID.
2077
2078 Tue Dec 15 00:13:04 1992  Ian Lance Taylor  (ian@airs.com)
2079
2080         * uuconv.c (uvwrite_taylor_system): mnichols@pacesetter.com: use
2081         command-path rather than path.
2082
2083         * trans.c (floop): Marc Unangst: don't clear frequested_hangup if
2084         we didn't manage to hang up.
2085
2086         * uucp.h, rec.c (fremote_send_file_init): Oleg Girko: patches to
2087         make code compile if USE_STDIO is 0.
2088
2089         * unix/proctm.c: Tim Peiffer: reverse sense of TIMES_TICK check in
2090         hopes of avoiding ISC preprocessor bug.
2091
2092         * unix/fsusg.h, unix/fsusg.c, unix/bytfre.c, system.h, conf.h.in,
2093         configure.in, unix/Makefile.in, unix/MANIFEST: use new disk space
2094         checking routines from GNU fileutils 3.4.
2095         * unix/opensr.c (zsysdep_receive_temp): don't check free space
2096         here any more.
2097         * policy.h, trans.h, trans.c, rec.c, uucico.c, uudefs.h: Chip
2098         Salzenberg: check amount of remaining space on disk every
2099         FREE_SPACE_DELTA bytes, and abort the file transfer if disk space
2100         gets too low.
2101
2102 Wed Dec  2 00:24:12 1992  Ian Lance Taylor  (ian@airs.com)
2103
2104         * policy.h, unix/serial.c (fsserial_set): Frank Conrad: added
2105         HAVE_PARITY_BUG parameter for the Sony NEWS.
2106
2107 Mon Nov 30 00:06:59 1992  Ian Lance Taylor  (ian@airs.com)
2108
2109         * lib/spool.c (fspool_file): Andrew Chernov: accept any
2110         alphanumeric character in the name, because it could be a grade
2111         from another system.
2112
2113 Sun Nov 29 22:36:47 1992  Ian Lance Taylor  (ian@airs.com)
2114
2115         * lib/buffer.c (ubuffree): scott@geom.umn.edu, Richard Gumpertz:
2116         use a temporary variable to hold the offsetof result.
2117
2118         * configure.in: scott@geom.umn.edu: define HAVE_SYS_SELECT_H
2119         correctly.
2120
2121         * protg.c (fgsend_control): Niels Baggesen: report all non-RR
2122         packets if DEBUG_ABNORMAL.
2123
2124         * unix/cusub.c (uscu_child): Ed Carp: apparently the read and
2125         write calls can get EAGAIN on some systems.
2126
2127         * unix/status.c (fsysdep_get_status, fsysdep_set_status): Chip
2128         Salzenberg: map status values when using SPOOLDIR_HDB.
2129
2130         * rec.c (fremote_send_reply): do file restart correctly for E
2131         commands.
2132
2133 Sun Nov 22 15:09:43 1992  Ian Lance Taylor  (ian@airs.com)
2134
2135         * protz.c: Chip Salzenberg: always do bitwise operations on
2136         unsigned values.
2137
2138         * getopt.h: Chip Salzenberg: don't rely on __STDC__.
2139
2140 Thu Nov 19 00:13:46 1992  Ian Lance Taylor  (ian@airs.com)
2141
2142         * uuconf/freblk.c: Niels Baggesen: loop over the right list.
2143
2144         * uulog.c (main): Peter Wemm: added -D, -F and -S options, made -f
2145         take an argument and default to showing 10 current lines.
2146         (ulusage): added new options and missing old ones.
2147
2148 Wed Nov 18 22:26:36 1992  Ian Lance Taylor  (ian@airs.com)
2149
2150         * rec.c (frec_file_end): Andrey G Blochintsev: call
2151         fsysdep_remember_reception as soon as the file has been moved to
2152         the final destination; write fake execution file via a temporary
2153         file to prevent uuxqt from getting at it early.
2154         * trans.c (usent_receive_ack): don't call
2155         fsysdep_remember_reception here.
2156
2157         * unix/tmpfil.c (ZDIGS): don't use '.', since we use it to
2158         separate parts of the file name.
2159
2160 Sun Nov 15 15:31:49 1992  Ian Lance Taylor  (ian@airs.com)
2161
2162         * uustat.c (fsquery_show, csunits_show): Marc Unangst, Chip
2163         Salzenberg: line up uustat -q output.
2164
2165         * sysh.unx, ftw.c (ftw_dir, ftw), srmdir.c (isremove_dir), walk.c
2166         (iswalk_dir): Marc Unangst: stat argument to function argument to
2167         ftw is const.
2168
2169         * unix/serial.c (fsserial_set): Mike Bernson: set CSIZE correctly
2170         when changing parity.
2171
2172         * uux.c (main): Andrew A. Chernov: check for executions which name
2173         the local system, to handle dumb mailers.
2174
2175         * uucp.h: Doug Evans: #undef strerror if HAVE_STRERROR is 0, to
2176         avoid macro definition on Xenix.
2177
2178         * unix/serial.c (fsserial_set): Peter Wemm: only check CRTSCTS if
2179         HAVE_POSIX_TERMIOS.
2180
2181         * cu.c (main): Peter Wemm: use alternates for systems if a call
2182         fails.
2183
2184         * tstuu.c (uprepare_test): Gerben Wierda: set execute bits for
2185         Chat1 and Chat2.
2186
2187         * trans.c (floop): Marc Unangst: don't hang up when requested
2188         unless the send queue is empty.
2189
2190         * uuxqt.c (iqrequestor): Marc Boucher: new function to accept R
2191         command with two arguments, as generated by UUPC.
2192
2193         * uucico.c (faccept_call): Christian Seyb: don't free the system
2194         info until after writing the status.
2195
2196         * configure.in: Marc Boucher: check -lsocket and -lnsl together.
2197
2198         * unix/portnm.c: Stephen J. Walick: it's types.tcp.h, not
2199         tcp.types.h.
2200
2201         * configure.in: Brian Campbell: check for /usr/bin/mailx.
2202
2203 Sat Nov 14 11:11:04 1992  Ian Lance Taylor  (ian@airs.com)
2204
2205         * uuconf/hlocnm.c (uuconf_hdb_login_localname): Christian Seyb:
2206         check for _uuconf_unset as well as NULL.
2207
2208         * conn.c (fconn_dial): initialize *ptdialerfound.
2209
2210         * many files: rearranged header files to include "sysdep.h" before
2211         system header files.  Also eliminated various pedantic warnings,
2212         and made _uuconf_unset char * to avoid possible alignment
2213         problems.
2214
2215 Tue Nov 10 00:16:35 1992  Ian Lance Taylor  (ian@airs.com)
2216
2217         * trans.h, uucico.c (fcall, faccept_call), trans.c (uclear_queue,
2218         floop): Stephen J. Walick: move clean up from end of floop into
2219         uclear_queue, and call it instead of just doing
2220         usysdep_get_work_free.
2221
2222         * unix/serial.c (fsserial_lockfile): Marc Unangst: bad #endif
2223         location for HAVE_SVR4_LOCKFILES.
2224         (fsserial_init): Doug Evans: null terminate the device name.
2225
2226 Sun Nov  8 10:58:59 1992  Ian Lance Taylor  (ian@airs.com)
2227
2228         * uucico.c (fcall, faccept_call): Stephen J. Walick: call
2229         usysdep_get_work_free here.
2230         trans.c (floop): don't call usysdep_get_work free here.
2231
2232 Sun Nov  1 17:05:07 1992  Ian Lance Taylor  (ian@airs.com)
2233
2234         * Released gamma version 1.04.
2235
2236         * configure.in: check that sys/select.h and sys/time.h work
2237         together, since that's how they are currently used.
2238
2239         * cu.c, uustat.c, uuconf/diacod.c: add casts to eliminate
2240         warnings.
2241
2242         * configure.in: don't add strlwr to LIBOBJS.
2243
2244         * policy.h, unix/cohtty.c: Bob Hemedinger: finish Coherent style
2245         locking.
2246
2247 Wed Oct 28 00:20:15 1992  Ian Lance Taylor  (ian@airs.com)
2248
2249         * tstuu.c: Ralf Stephan: check HAVE_POLL_H and HAVE_STROPTS_H.
2250
2251         * Nickolay Saukh: accept SVR4 style R request file position.
2252         uudefs.h: added ipos field to struct scmd.
2253         lib/parse.c: accept SVR4 style R request with file position to
2254         start from.
2255         send.c (fremote_rec_file_init): start transferring file from
2256         requested position.
2257         uucp.c, uux.c, uuxqt.c, xcmd.c: initialize ipos field.
2258
2259 Sun Oct 25 10:39:23 1992  Ian Lance Taylor  (ian@airs.com)
2260
2261         * unix/serial.c (fsysdep_conn_write, fsysdep_conn_io): T. William
2262         Wells: take special care to ensure we don't write after SIGHUP.
2263
2264         * policy.h, sysh.unx, unix/MANIFEST, unix/Makefile.in,
2265         unix/serial.c (fsserial_lockfile), unix/cohtty.c (new file): Bob
2266         Hemedinger: added HAVE_COHERENT_LOCKFILES.
2267
2268         * unix/cusub.c (uscu_child): Igor V. Semenyuk: accept a 0 return
2269         from read until we have read some data at some point.
2270
2271 Thu Oct 22 10:38:32 1992  Ian Lance Taylor  (ian@airs.com)
2272
2273         * proti.c: various tweaks for bad connections.
2274
2275         * uucp.h: T. William Wells: rename strcasecmp and strncasecmp, if
2276         the system doesn't provide them, to avoid the ANSI C name space.
2277
2278         * lib/buffer.c: Bob Hemedinger: put ab in union so that offsetof
2279         will not take the address of an array.
2280
2281         * uuxqt.c (uqdo_xqt_file): Bob Hemedinger: don't take address of
2282         array.
2283
2284 Wed Oct 21 00:05:31 1992  Ian Lance Taylor  (ian@airs.com)
2285
2286         * uustat.c (fsnotify): Gert Doering: if the file appears to be
2287         binary, don't include it in any mail message.
2288
2289         * unix/mkdir.c: Michael Yu.Yaroslavtsev: check whether directory
2290         already exists before spawning /bin/mkdir.
2291
2292         * proti.c: Michael Yu.Yaroslavtsev: iIsendpos and iIrecpos should
2293         be long.
2294
2295         * send.c (flocal_send_await_reply): Gert Doering: improved error
2296         messages.
2297
2298         * tli.c, unix/detach.c: include "sysdep.h" before <sys/ioctl.h>.
2299
2300         * configure.in, conf.h.in: added some system specific checks
2301         provided by autoconf.
2302
2303         * tstuu.c, unix/serial.c: Merlyn LeRoy: check for ENODATA as well
2304         as EAGAIN and EWOULDBLOCK.
2305
2306         * uucico.c (faccept_call): Zacharias J. Beckman: if calling back,
2307         clear status first.
2308
2309         * uucico.c (fdo_call, faccept_call): Hans-Dieter Doll: avoid
2310         overflow when turning ulimit value into bytes.
2311
2312 Tue Oct 20 23:12:26 1992  Ian Lance Taylor  (ian@airs.com)
2313
2314         * serial.c (fsmodem_carrier): Hans-Dieter Doll: use IS68K LNOMDM
2315         bit if available.
2316
2317         * chat.c (fcsend): Hans-Dieter Doll: advance z after EOT.
2318
2319         * cu.c: T. William Wells: beep on connected and disconnected
2320         messages (only if ANSI_C, to use \a).
2321
2322         * unix/run.c: Peter Wemm: pass fsetuid as TRUE to ixsspawn.
2323
2324 Sun Oct 18 13:58:17 1992  Ian Lance Taylor  (ian@airs.com)
2325
2326         * policy.h, unix/serial.c (fsmodem_close): Stephen J. Walick:
2327         added HAVE_RESET_BUG for SCO Xenix.
2328
2329         * configure.in: Igor V. Semenyuk: avoid looking in -linet for
2330         getline, since ISC has a different function there by that name.
2331
2332         * unix/ufopen.c: Igor V. Semenyuk: handle unsigned uid_t.
2333
2334 Sat Oct 17 11:00:30 1992  Ian Lance Taylor  (ian@airs.com)
2335
2336         * conf.h.in, configure.in, uucp.h, unix/serial.c
2337         (fsserial_lockfile), lib/MANIFEST: eliminated strlwr.
2338
2339 Fri Oct 16 01:10:56 1992  Ian Lance Taylor  (ian@airs.com)
2340
2341         * Igor V. Semenyuk: uuchk.c (ukshow): print max-remote-debug
2342         correctly.
2343         lib/debug.c (idebug_parse): accept DEBUG_NONE.
2344
2345 Thu Oct 15 00:49:58 1992  Ian Lance Taylor  (ian@airs.com)
2346
2347         * unix/cusub.c (fsysdep_terminal_puts): don't modify zalc before
2348         freeing it up.
2349
2350         * protg.c (fgcheck_errors, fggot_ack, fgprocess_data): Mark E.
2351         Mallett: better handling of error decay.
2352
2353 Wed Oct 14 22:09:20 1992  Ian Lance Taylor  (ian@airs.com)
2354
2355         * unix/lock.c: Tomi Vainio: make sure SEEK_SET is defined.
2356
2357         * tcp.c (ftcp_dial): print a better error message if gethostbyname
2358         doesn't set errno.
2359
2360         * Stephen J. Walick: configure.in, conf.h.in: check for
2361         <sys/types.tcp.h>.
2362         tcp.c, unix/opensr.c: include <sys/types.tcp.h> if available.
2363         lib/debug.c, unix/portnm.c, uuconf/int.c, uuconf/llocnm.c,
2364         uuconf/time.c: cast more arguments to eliminate more warnings.
2365
2366 Tue Oct 13 00:25:03 1992  Ian Lance Taylor  (ian@airs.com)
2367
2368         * prot.h, proti.c (fistart, fijstart), protj.c, uucico.c, tstuu.c
2369         (uprepare_test), Makefile.in, MANIFEST: added 'j' protocol.
2370
2371 Sun Oct 11 23:45:20 1992  Ian Lance Taylor  (ian@airs.com)
2372
2373         * policy.h, unix/serial.c (fsserial_set): added HAVE_STRIP_BUG to
2374         policy.h to get around stupid Ultrix bug.
2375
2376         * sysh.unx, unix/cusub.c, unix/serial.c (fsserial_open): for
2377         HAVE_BSD_TTY, keep tchars and ltchars in the sterminal structure,
2378         and in fsserial_open disable all interrupt characters.
2379
2380 Sat Oct 10 01:18:31 1992  Ian Lance Taylor  (ian@airs.com)
2381
2382         * uuconf/tinit.c (itunknown): Gert Doering: don't save "unknown"
2383         with the other arguments.
2384
2385 Fri Oct  9 00:56:43 1992  Ian Lance Taylor  (ian@airs.com)
2386
2387         * unix/lock.c: check for running process before doing kill.
2388
2389 Thu Oct  8 00:20:12 1992  Ian Lance Taylor  (ian@airs.com)
2390
2391         * chat.c, protf.c, send.c, rec.c, unix/locfil.c: Stephen J.
2392         Walick: cast arguments to strtol and strcspn to avoid warnings.
2393
2394         * uustat.c (fsnotify): Marc Boucher: don't free string from
2395         uuconf_localname, and only prepend remote system name to execution
2396         requests, not to local UUCP commands.
2397
2398         * unix/lock.c (fsdo_lock): Marc Boucher: set fret to TRUE before
2399         going around the loop again.
2400
2401         * uucico.c: Marc Boucher: use 'a' protocol before 'g'.
2402
2403         * unix/spool.c (zsfind_file): Matthias Zepf: fixed typos for
2404         SPOOLDIR_BSD*.
2405
2406 Wed Oct  7 00:03:08 1992  Ian Lance Taylor  (ian@airs.com)
2407
2408         * uuname.c (main): Marc Boucher: reverse sense of -a, and do not
2409         display aliases by default.
2410
2411         * uucico.c (fdo_call): Marc Boucher: some systems only provide 14
2412         characters in the Shere line.
2413
2414         * tstuu.c (main): Marc Boucher: add support for STREAMS ptys.
2415
2416 Tue Oct  6 23:16:15 1992  Ian Lance Taylor  (ian@airs.com)
2417
2418         * policy.h: Marc Boucher: improve comments to describe SVR4.
2419
2420         * chat.c (fcsend, fcecho_send, fcecho_send_strip,
2421         fcecho_send_nostrip): Marc Boucher: don't send CR after BREAK or
2422         EOT, and let chat-seven-bit apply to echo checking.
2423
2424         * uuname.c (main): Andreas Vogel: usysdep_exit (TRUE) rather than
2425         usysdep_exit (EXIT_SUCCESS).
2426
2427 Mon Oct  5 22:59:51 1992  Ian Lance Taylor  (ian@airs.com)
2428
2429         * sysh.unx, unix/serial.c (fsserial_init): Marc Boucher: avoid
2430         freeing unallocated string.
2431
2432         * unix/serial.c (fsmodem_carrier): Peter Wemm: eliminated useless
2433         undeclared variable which only appeared if HAVE_CLOCAL_BUG.
2434
2435         * cu.c (main): don't require carrier when opening a direct line.
2436         (fcudo_cmd, fcudo_subcmd, uculist_fns, icuunrecogfn): T. William
2437         Wells: give reasonable error messages.
2438
2439 Sun Oct  4 00:03:10 1992  Ian Lance Taylor  (ian@airs.com)
2440
2441         * */Makefile.in: T. William Wells: use ar qc rather than ar rc.
2442
2443         * many: T. William Wells: renamed isysdep_* functions to
2444         ixsysdep_*, and renamed isfork, isspawn, and isswait similarly, to
2445         avoid ANSI C namespace restrictions.
2446
2447         * uucp.h: T. William Wells: default size_t to unsigned, not int.
2448
2449         * configure.in: T. William Wells: new definition for
2450         AC_RETSIGTYPE.
2451
2452         * configure.in: T. William Wells: test for sh builtin echo.
2453         conf.h.in: default ECHO_PROGRAM to undefined.
2454
2455         * proti.c (fiprocess_data, fiprocess_packet): fix confusion
2456         between iIremote_winsize and iIrequest_winsize.
2457
2458         * proti.c (fiwindow_wait, fisenddata): wait for a window opening
2459         before sending SPOS.
2460
2461         * proti.c (fiprocess_data): don't send a NAK for a duplicate of
2462         the most recent packet.
2463
2464         * configure.in: Stephen J. Walick: don't use AC_PREFIX, check for
2465         /usr/bin/mail.
2466
2467         * system.h, sysh.unx, send.c (flocal_send_file_init,
2468         fsend_exec_file_init), rec.c (flocal_rec_file_init,
2469         fremote_send_file_init, frec_file_end), xcmd.c
2470         (fremote_xcmd_init), uuxqt.c (uqdo_xqt_file, uqcleanup), uux.c
2471         (main, uxadd_send_file), uucp.c (main, uccopy), uustat.c
2472         (fsworkfile_show, fsexecutions, fsnotify), unix/filnam.c
2473         (zsfile_name, zsysdep_data_file_name, zsysdep_xqt_file_name),
2474         unix/jobid.c (zsfile_to_jobid, zsjobid_to_file), unix/splcmd.c
2475         (zsysdep_spool_commands), unix/splnam.c (zsysdep_spool_file_name),
2476         spool.c (zsfind_file), statsb.c (fskill_or_rejuv,
2477         isysdep_work_time), work.c (fswork_file, fsysdep_get_work,
2478         zsysdep_jobid, bsgrade): Marc Unangst, Brian Murrell: Corrected
2479         support for SPOOLDIR_SVR4, since SVR4 doesn't use grades in file
2480         names.  Changed flocal argument to pseq argument in
2481         zsysdep_spool_file_name, and changed flocal argument to bgrade
2482         argument in zfind_file.  Added fxqt argument to
2483         zsysdep_data_file_name.  Added bsgrade function.  Added bgrade
2484         argument to zsfile_to_jobid, and pbgrade argument to
2485         zsjobid_to_file.
2486
2487 Sat Oct  3 11:03:13 1992  Ian Lance Taylor  (ian@airs.com)
2488
2489         * MANIFEST, Makefile.in, lib/MANIFEST, lib/Makefile.in,
2490         lib/parse.c: moved parse.c from main directory to lib.
2491
2492         * system.h, unix/size.c, unix/Makefile.in, unix/MANIFEST: moved
2493         csysdep_size into its own file, made it return -1 if the file does
2494         not exist or -2 on other errors.
2495         uustat.c (fsworkfile_show): handle errors from csysdep_size.
2496         send.c (flocal_send_file_init): handle errors from csysdep_size,
2497         removed unneeded calls to fsysdep_file_exists.
2498
2499         * trans.c (flocal_poll_file), tcp.c (ftcp_dial): Bob Cunningham:
2500         declare functions consistently static.
2501
2502         * Makefile.in: Marc Unangst: don't run config.status
2503         unnecessarily.
2504
2505         * configure.in: Marc Unangst: check for socket and t_open in
2506         -lsocket, -lnsl and -lxti.
2507
2508         * uuconf/cmdarg.c: check first character to avoid calls to
2509         strcmp or strcasecmp.
2510
2511 Thu Oct  1 23:44:24 1992  Ian Lance Taylor  (ian@airs.com)
2512
2513         * trans.h, uucico.c (fdo_call, faccept_call), parse.c
2514         (fparse_cmd), send.c (flocal_send_request): Gert Doering: SVR4
2515         UUCP uses a dummy string between the notify field and the size,
2516         for some reason.
2517
2518         * tstuu.c (main, uprepare_test): added -n switch to not destroy
2519         existing configuration files.
2520
2521 Fri Sep 25 00:16:35 1992  Ian Lance Taylor  (ian@airs.com)
2522
2523         * protg.c (fgsenddata): T. William Wells: clear bytes correctly so
2524         that resending a packet doesn't get a completely incorrect size.
2525
2526         * send.c (usadd_exec_line): Stephen J. Walick: don't send trailing
2527         spaces on the created execute file, because it confuses Waffle.
2528
2529 Thu Sep 24 00:25:18 1992  Ian Lance Taylor  (ian@airs.com)
2530
2531         * unix/jobid.c (zsjobid_to_file): Franc,ois Pinard: if the job ID
2532         is too short, return NULL rather than dumping core.
2533         unix/statsb.c (fskill_or_rejuv, isysdep_work_time): handle a NULL
2534         return from zsjobid_to_file.
2535
2536 Mon Sep 21 09:01:02 1992  Ian Lance Taylor  (ian@airs.com)
2537
2538         * uuconf/init.c, uuconf/syssub.c: Lele Gaifax: moved
2539         declaration of _uuconf_unset from syssub.c to addstr.c because
2540         NeXT linker does not pull in object files solely because of
2541         variable declarations.
2542
2543         * sysh.unx: Lele Gaifax: typo in ftw declaration.
2544
2545         * lib/Makefile.in, unix/Makefile.in: Lele Gaifax: bug in clean
2546         target.
2547
2548 Thu Sep 17 01:01:13 1992  Ian Lance Taylor  (ian@airs.com)
2549
2550         * Released beta version 1.04.
2551
2552 Wed Sep 16 01:02:55 1992  Ian Lance Taylor  (ian@airs.com)
2553
2554         * uux.c (main): null terminate the options list for an 'E'
2555         command.
2556
2557         * ustat.c (fsexecutions): allow privileged users to kill remote
2558         execution files, and handle local executions correctly.
2559
2560         * uuconf/hinit.c: added parens to avoid warning.
2561
2562         * unix/splcmd.c: cast to avoid warning.
2563
2564         * unix/serial.c (fsmodem_close): fixed HAVE_SYSV_TERMIO typo.
2565
2566         * trans.c (uqueue_receive, floop, fgot_data): improved timing code
2567         to make fewer system calls.
2568
2569         * send.c (fsend_exec_file_init, fsend_exec_file): handle separate
2570         E file correctly, and make a good statistics file entry for it.
2571
2572         * Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
2573         lib/Makefile.in: use -I flags to permit compilation in a separate
2574         directory.  Set up clean targets per GNU standards.
2575
2576 Tue Sep 15 00:07:09 1992  Ian Lance Taylor  (ian@airs.com)
2577
2578         * uucico.c (zget_uucp_cmd): can't set size_t variable to -1.
2579
2580         * Makefile.in (install): don't install info files.  Added new
2581         targets info and install-info.
2582
2583 Mon Sep 14 13:19:42 1992  Ian Lance Taylor  (ian@airs.com)
2584
2585         * uuxqt.c (main): Gregory Bond: canonicalize the system name given
2586         by the -s argument.
2587
2588         * system.h, uuconf.h, uucico.c (faccept_call), unix/unknwn.c,
2589         unix/Makefile.in, unix/MANIFEST, uuconf/syshdr.unx,
2590         uuconf/remunk.c, uuconf/hrmunk.c, uuconf/Makefile.in,
2591         uuconf/MANIFEST: support HDB remote.unknown shell script.
2592
2593         * protg.c (igchecksum, igchecksum2): Inspired by Mark Pizzolato,
2594         put in new, improved checksum routines.
2595
2596         * uuxqt.c (uqdo_xqt_file): make sure the execution file still
2597         exists after locking it.
2598
2599         * unix/lock.c (fsdo_lock): don't fail if the lock file is removed
2600         between the link and the open.
2601
2602         * unix/xqtsub.c (fsysdep_execute, fsysdep_lock_uuxqt_dir,
2603         fsysdep_unlock_uuxqt_dir, fsysdep_move_uuxqt_files): use .Xqtdir
2604         for first uuxqt execution, not .Xqtdir0000.
2605
2606 Sun Sep 13 11:51:22 1992  Ian Lance Taylor  (ian@airs.com)
2607
2608         * trans.h, uucico.c (fdo_call, faccept_call), send.c
2609         (flocal_send_request), rec.c (flocal_rec_send_request) parse.c
2610         (fparse_cmd): send file size in hex for SVR4 compatibility.
2611         Required new FEATURE_V103 for 1.03 backward compatibility, since
2612         1.03 requires decimal size.
2613
2614         * various: eliminated remaining calls to alloca.
2615
2616         * tcp.c (ftcp_open), tli.c (ftli_open): set FD_CLOEXEC for sockets
2617         and TLI descriptors.
2618
2619         * tcp.c (ftcp_open): switch to real user ID before binding the
2620         socket when running as a server.  This will permit uucico invoked
2621         by root to open privileged TCP ports.  Don't switch to real ID if
2622         effective ID is already root, to permit an suid root program to be
2623         invoked by anybody.
2624
2625         * uuxqt.c (uqdo_xqt_file): removed special case for system which
2626         does not permit any commands: unnecessary and unusual.
2627
2628         * uucico.c (fconn_call): Ed Carp: clear the SIGHUP signal
2629         indication before opening the modem.
2630
2631         * trans.h, trans.c (fqueue, fcheck_queue, floop, fgot_data),
2632         send.c (fsend_await_confirm), rec.c (frec_file_send_confirm),
2633         uucico.c (fcall, faccept_call): recheck the work queue every 10
2634         minutes.  Honor CYM from the remote system.  Send CYM if we have
2635         something to do.
2636
2637 Sat Sep 12 15:47:52 1992  Ian Lance Taylor  (ian@airs.com)
2638
2639         * Makefile.in: use $(MAKE) instead of make for recursive calls.
2640
2641         * system.h, uucp.c (main), uux.c (main), unix/ufopen.c,
2642         unix/MANIFEST, unix/Makefile.in: added esysdep_user_open to open a
2643         file with user permissions.
2644
2645 Fri Sep 11 00:27:32 1992  Ian Lance Taylor  (ian@airs.com)
2646
2647         * uudefs.h, copy.c: added fcopy_open_file.
2648
2649         * policy.h: added HAVE_SAVED_SETUID.
2650
2651         * configure.in, conf.h.in: check for setreuid.
2652
2653 Tue Sep  8 00:11:10 1992  Ian Lance Taylor  (ian@airs.com)
2654
2655         * protf.c (ffsendcmd), prott.c (ftsendcmd): eliminate calls to
2656         alloca.
2657
2658         * uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
2659         uustat.c (main), uuchk.c (main), uuconv.c (main), uuname.c (main),
2660         uulog.c (main), uupick.c (main), cu.c (main), lib/getop1.c,
2661         lib/Makefile.in, lib/MANIFEST: added getopt_long, and changed all
2662         calls to getopt to call getopt_long instead.
2663
2664 Mon Sep  7 22:26:51 1992  Ian Lance Taylor  (ian@airs.com)
2665
2666         * getopt.h, lib/getopt.c, lib/Makefile.in: bring getopt up to
2667         glibc 1.04; call malloc instead of alloca in exchange.
2668
2669         * system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
2670         (main), uustat.c (main), cu.c (main), uuname.c (main), unix/init.c
2671         (usysdep_initialize): added INIT_SUID, for old systems which don't
2672         do setuid correctly for root.
2673
2674         * cu.c, unix/cusub.c: various minor improvements.
2675
2676 Sun Sep  6 20:25:20 1992  Ian Lance Taylor  (ian@airs.com)
2677
2678         * uux.c (uxcopy_stdin): use getchar rather than fread to avoid
2679         SVR4 bug.
2680
2681         * uucico.c (fsend_uucp_cmd): Niels Baggesen: report message when
2682         DEBUG_HANDSHAKE.
2683
2684         * protg.c (fgsend_control): Niels Baggesen: report sending an RJ
2685         when DEBUG_ABNORMAL.
2686
2687 Tue Aug 25 00:07:20 1992  Ian Lance Taylor  (ian@airs.com)
2688
2689         * uuconf/time.c: Zacharias Beckman: let user defined time tables
2690         override the defaults.
2691
2692 Mon Aug 24 00:25:23 1992  Ian Lance Taylor  (ian@airs.com)
2693
2694         * system.h, uuxqt.c (uqdo_xqt_file), unix/xqtsub.c
2695         (zsysdep_xqt_local_file): Jarmo Raiha: expand ~name in uuxqt.c.
2696
2697         * send.c (fremote_rec_reply): SVR4 sends the size of the file with
2698         the RY string, so we do too.  We don't look for it, though.
2699
2700         * uustat.c, uustat.1: Don Phillips: removed all printing of years
2701         and seconds.  Hope nobody complains.
2702
2703         * uucico.c (fdo_call): don't set the status to TALKING until we
2704         see the Shere string.
2705
2706         * configure.in, conf.h.in, unix/wldcrd.c: if the system has glob,
2707         use it for wildcards.  If it doesn't, quote special characters in
2708         the wildcard string.
2709
2710         * uucico.c (fdo_call): Zacharias Beckman: don't report ``Login
2711         successful'' until we see the Shere string.
2712
2713         * prot.c (fsend_data): Don Lewis: bug in crec calculation.
2714
2715         * uustat.c (fsworkfile_show, usworkfile_header, fsnotify): Don
2716         Lewis: show poll files.
2717
2718         * unix/init.c: check LOGNAME and USER environment variables before
2719         invoking getlogin.
2720
2721         * unix/serial.c: Brian Campbell: check for B57600, B76800 and
2722         B115200 in baud rate table.
2723
2724 Sun Aug 23 13:05:28 1992  Ian Lance Taylor  (ian@airs.com)
2725
2726         * chat.c (fcsend), tstuu.c (uchild): Chip Salzenberg: call sleep
2727         (2) instead of sleep (1).  Hopefully this won't break any chat
2728         scripts.
2729
2730         * system.h, parse.c, trans.c (fqueue, flocal_poll_file), uustat.c
2731         (fsworkfiles_system, fsquery_system), unix/work.c
2732         (fsysdep_get_work, fsysdep_get_work_init): don't delete poll files
2733         immediately, but instead return a 'P' command and delete them when
2734         the command is passed to fsysdep_did_work.
2735
2736         * tstuu.c (uprepare_test): change ``call-request'' to ``request''.
2737
2738         * uuconf/iniglb.c (_uuconf_itimetable): return CMDTABRET_KEEP so
2739         we don't lose the timetable name and definition.
2740
2741         * uuconf.h, send.c (fremote_rec_file_init), rec.c
2742         (fremote_send_file_init), uuchk.c (ukshow), uuconv.c
2743         (uvwrite_taylor_system, uvwrite_hdb_system), uuconf/tsinfo.c
2744         (iirequest), uuconf/hsinfo.c, uuconf/hunk.c, uuconf/syssub.c:
2745         added ``send-request'' and ``receive-request'' commands,
2746         eliminated ``call-request'' and ``called-request'' commands.
2747
2748         * uux.c (main): make sure we are permitted to transfer files
2749         before queuing requests.
2750
2751         * uuconf.h, uucico.c (fcall), uuconf/tsinfo.c, uuconf/syssub.c:
2752         David Nugent: added ``success-wait'' command for systems, to set a
2753         minimum time between successful calls.
2754
2755         * send.c (fremote_rec_file_init): Don Phillips: let a request only
2756         specify the file base name in the TO argument.
2757
2758         * uucico.c (main): Don Lewis: don't exit with success just because
2759         we were able to start uuxqt.
2760
2761         * unix/serial.c (fsmodem_close, fsserial_read): always drop DTR
2762         when closing a modem connection.  Also, retry if we time out when
2763         setting MIN.
2764
2765 Sat Aug 22 22:31:34 1992  Ian Lance Taylor  (ian@airs.com)
2766
2767         * uuconf/time.c: Stephen Walick: don't require a comma between
2768         time strings, since HDB doesn't seem to.
2769
2770         * protg.c (fgcheck_errors): added "error-decay" protocol parameter
2771         to decay errors as packets are successfully received.
2772
2773         * uustat.c (fsmachines), uustat.1: Chris Lewis: don't display the
2774         year or seconds for uustat -m.  Probably uustat -q should be
2775         changed as well.
2776
2777         * tstuu.c: Larry Fahnoe: don't report EWOULDBLOCK errors when
2778         writing to a pty.  Also removed functions which are now in lib.
2779
2780         * MANIFEST, Makefile.in, uusched.in: added a simple uusched shell
2781         script.
2782
2783         * parse.c: Heiko Rupp: don't die if there is trailing garbage in
2784         an 'R' command.
2785
2786         * policy.h, system.h, sysh.unx, send.c, rec.c, uuxqt.c, uux.c,
2787         unix/filnam.c, unix/init.c, unix/jobid.c, unix/splnam.c,
2788         unix/spool.c, unix/statsb.c, unix/tmpfil.c, unix/work.c,
2789         unix/xqtfil.c: Brian J. Murrell and Don Phillips: added
2790         SPOOLDIR_SVR4.
2791
2792 Thu Aug 20 00:06:32 1992  Ian Lance Taylor  (ian@airs.com)
2793
2794         * sysh.unx: Chiaki Ishikawa: some systems define some but not all
2795         of the S_ file mode bits.
2796
2797         * uuchk.c (ikshow_port): Chiaki Ishikawa: display lockname.
2798
2799 Wed Aug 19 22:41:39 1992  Ian Lance Taylor  (ian@airs.com)
2800
2801         * log.c (ustats): Scott Blachowicz: avoid overflow when reporting
2802         bytes per second.
2803
2804         * unix/lock.c (fsdo_lock): Chip Salzenberg: sometimes other
2805         programs create lock files that uucp can't write.
2806
2807         * trans.h, system.h, trans.c (floop, fgot_data, usent_receive_ack,
2808         uwindow_acked), send.c (flocal_send_await_reply,
2809         flocal_send_fail), rec.c (fremote_send_fail_send,
2810         frec_file_send_confirm), prote.c, protf.c, protg.c, proti.c,
2811         prott.c, protz.c (calls to fgot_data), unix/recep.c,
2812         unix/MANIFEST, unix/Makefile.in: keep trace of whether we have
2813         already received a file, in case the other side never sees our
2814         ack.  Added new SN8 rejection, meaning that the file has already
2815         been received.
2816
2817 Sat Aug 15 11:50:32 1992  Ian Lance Taylor  (ian@airs.com)
2818
2819         * uuconf/time.c (itadd_span): Don Lewis: fixed bug if later span
2820         overlapped two or more earlier spans.
2821
2822 Thu Aug 13 00:19:50 1992  Ian Lance Taylor  (ian@airs.com)
2823
2824         * system.h, rec.c (fremote_send_file_init, fremote_send_reply),
2825         uucico.c (fdo_call, faccept_call), uucp.c (main), uux.c (main),
2826         unix/opensr.c (zsysdep_receive_temp, esysdep_open_receive):
2827         implemented file restart.
2828
2829 Wed Aug 12 23:32:05 1992  Ian Lance Taylor  (ian@airs.com)
2830
2831         * proti.c (fiprocess_data): ensure that the first argument to
2832         fgot_data is always > 0 if the second argument is > 0.
2833
2834 Mon Aug 10 22:43:40 1992  Ian Lance Taylor  (ian@airs.com)
2835
2836         * trans.c (floop, ustats_failed): handle half-duplex connections
2837         and failed calls correctly.
2838
2839 Sun Aug  9 17:56:32 1992  Ian Lance Taylor  (ian@airs.com)
2840
2841         * proti.c (firesend, fisenddata, ficheck_errors): made several
2842         changes to improve performance on a lossy line: can now shrink
2843         packet size using SYNC packets, avoids multiple bad header errors
2844         in a sequence of INTRO characters, avoids letting one side lock up
2845         if a NAK is lost.
2846
2847         * configure.in: set HAVE_LONG_FILE_NAMES to 0 if
2848         cross-configuring.
2849
2850         * tstuu.c: changed -p option to be mod 1000, not mod 100.
2851
2852         * MANIFEST, Makefile.in, prot.h, uucico.c, protz.c, trans.c: Doug
2853         Evans: added Doug Evans's zmodem implementation as protocol 'a'.
2854
2855 Wed Aug  5 22:28:14 1992  Ian Lance Taylor  (ian@airs.com)
2856
2857         * policy.h, uuconf.h, uucico.c (fcall), uuconf/tsinfo.c,
2858         uuconf/hsinfo.c, uuconf/syssub.c: added "max-retries" command for
2859         systems, eliminated CMAXRETRIES configuration parameter, set
2860         max_retries to 0 for HDB if retry time given, (from Chris Lewis)
2861         call once a day even if max_retries has been exceeded.
2862
2863         * prot.h, uucico.c (fdo_call, faccept_call), prott.c, prote.c,
2864         proti.c, protg.c, protf.c: added pzlog argument to pfstart
2865         protocol entry point, changed handshake successful message to
2866         display it.
2867
2868 Tue Aug  4 00:04:31 1992  Ian Lance Taylor  (ian@airs.com)
2869
2870         * prot.h, uucico.c, protg.c (fbiggstart, cGshort_packets): Chip
2871         Salzenberg: added support for 'G' protocol.  Added "short-packets"
2872         protocol parameter for 'g' and 'G' protocols.
2873
2874         * uuconf.h, rec.c (flocal_rec_file_init), uucp.c, uux.c, uuxqt.c,
2875         uuchk.c, uuconv.c, uuconf/local.c, uuconf/tsinfo.c,
2876         uuconf/syssub.c: support UUCP forwarding.  Added "forward-from",
2877         "forward-to", and "forward" commands for systems.
2878
2879         * unix/spawn.c: don't close the file descriptor after dupping it.
2880
2881 Sun Aug  2 23:04:18 1992  Ian Lance Taylor  (ian@airs.com)
2882
2883         * trans.c (fremote_hangup_reply): don't hangup if a file transfer
2884         is in progress.
2885
2886         * send.c (flocal_send_cancelled): don't pass a NULL buffer to
2887         pfsenddata.
2888
2889 Sun Jul 26 13:28:27 1992  Ian Lance Taylor  (ian@airs.com)
2890
2891         * unix/work.c (fsysdep_get_work_init): return TRUE if there is no
2892         work directory.
2893
2894         * configure.in, sysh.unx: don't run any programs in configure if
2895         we are cross-configuring; this applies to HAVE_FTIME and
2896         HAVE_RESTARTABLE_SYSCALLS.  The code can cope with the buggy
2897         ftime.  If we are cross-configuring, HAVE_RESTARTABLE_SYSCALLS is
2898         set to -1, and sysh.unx guesses that if the system has sigvec but
2899         not sigaction or SV_INTERRUPT it is on 4.2BSD and system calls are
2900         automatically restarted.
2901
2902         * configure.in, conf.h.in, tstuu.c, unix/serial.c: removed
2903         COMBINED_UNBLOCK configuration parameter, and changed the code
2904         which sets O_NONBLOCK and O_NDELAY to drop back to using just
2905         O_NONBLOCK if it gets an EINVAL error.
2906
2907         * configure.in, conf.h.in, uucp.h, protg.c (fgsenddata), cu.c
2908         (icutake), chat.c (icexpect), lib/MANIFEST: removed all calls to
2909         memmove, avoiding the SCO bug and making the 'g' protocol slightly
2910         more efficient.
2911
2912 Sat Jul 25 14:20:30 1992  Ian Lance Taylor  (ian@airs.com)
2913
2914         * uucp.h, uudefs.h, many other files: broke part of uucp.h out
2915         into uudefs.h, stopped including uuconf.h in uucp.h, fixed up .c
2916         files to include uudefs.h and uuconf.h as necessary.
2917
2918         * uuconf/syshdr.unx, uuconf/callin.c, uuconf/diacod.c
2919         uuconf/hdial.c, uuconf/hdnams.c, uuconf/hport.c, uuconf/hsinfo.c,
2920         uuconf/hsnams.c uuconf/rdlocs.c, uuconf/tcalou.c, uuconf/tdial.c,
2921         uuconf/tdnams.c, uuconf/tport.c, uuconf/vport.c, uuconf/vsinfo.c,
2922         uuconf/vsnams.c: changed uuconf library to not return an error if
2923         a configuration file does not exist; it now acts as though
2924         whatever it is is not found.
2925
2926         * tstuu.c (main): use perror if execl fails.
2927
2928         * configure.in, conf.h.in, uucp.h, uuconf.h, sysh.unx, conn.h,
2929         MANIFEST, Makefile.in, tli.c, chat.c (ccescape), conn.c
2930         (fconn_init), tcp.c, uucico.c (faccept_call), uuconv.c, uuchk.c,
2931         lib/MANIFEST, lib/Makefile.in, lib/escape.c, unix/cusub.c,
2932         unix/serial.c, uuconf/hport.c, uuconf/tportc.c: added support for
2933         TLI connections.  Moved ccescape from chat.c to cescape in
2934         lib/escape.c.  Made all connections on Unix use the same
2935         system dependent structure.
2936
2937 Tue Jul 21 22:08:10 1992  Ian Lance Taylor  (ian@airs.com)
2938
2939         * uucp.h, trans.h, uucico.c (fdo_call, faccept_call), uuxqt.c
2940         (uqdo_xqt_file), uucp.c (main), uux.c (main), uustat.c
2941         (fsworkfile_show), parse.c (fparse_cmd), trans.c (fqueue,
2942         fgot_data, ftadd_cmd), send.c, rec.c, xcmd.c, protf.c
2943         (ffprocess_data), proti.c (fiprocess_data), tstuu.c
2944         (uprepare_tests), unix/splcmd.c (zsysdep_spool_commands),
2945         unix/statsb.c (fskill_or_rejuv), unix/work.c (fsysdep_get_work):
2946         added E request to send file executions which only require reading
2947         from standard input.
2948
2949 Sat Jul 18 20:22:50 1992  Ian Lance Taylor  (ian@airs.com)
2950
2951         * proti.c, Makefile.in, MANIFEST, prot.h, system.h, trans.h,
2952         uucico.c, prote.c, protf.c, protg.c, prott.c, trans.c, send.c,
2953         rec.c, xcmd.c, unix/opensr.c: added 'i' protocol.  Added local and
2954         remote channel arguments to protocol sendcmd and senddata entry
2955         points.  Cleaned up send and receive state machines.  Removed
2956         pfgone argument from esysdep_open_send.
2957
2958 Fri Jul 17 09:41:05 1992  Ian Lance Taylor  (ian@airs.com)
2959
2960         * uuxqt.c (uqdo_xqt_file): only report base name of execution
2961         file, not full name.
2962
2963 Thu Jul 16 00:45:06 1992  Ian Lance Taylor  (ian@airs.com)
2964
2965         * lib/crc.c: unroll the loop a bit.
2966
2967         * configure.in, conf.h.in, unix/init.c: updated to autoconf 0.120.
2968
2969 Wed Jul 15 14:45:32 1992  Ian Lance Taylor  (ian@airs.com)
2970
2971         * uuconf.h, uuconv.c, uuconf/uucnfi.h, uuconf/reliab.c,
2972         uuconf/tportc.c, uuconf/tdialc.c, uuconf/diasub.c, uuconf/hport.c,
2973         uuconf/prtsub.c, uuconf/vsinfo.c: added UUCONF_RELIABLE_FULLDUPLEX
2974         and "half-duplex" command for ports and dialers.
2975
2976 Mon Jul 13 16:53:04 1992  Ian Lance Taylor  (ian@airs.com)
2977
2978         * prot.h, lib/crc.c, lib/Makefile.in, lib/MANIFEST: added icrc
2979         function to compute 32 bit CRC (from Gary S. Brown, via Doug
2980         Evans).
2981
2982 Sun Jul 12 21:40:15 1992  Ian Lance Taylor  (ian@airs.com)
2983
2984         * uuconv.c (uvwrite_time): Chris Lewis: don't output two commas in
2985         a row.
2986
2987         * uuconv.c (uvwrite_taylor_system, uvwrite_taylor_port): Chris
2988         Lewis: generate command "protocol", not "protocols".
2989
2990 Sat Jul 11 17:09:09 1992  Ian Lance Taylor  (ian@airs.com)
2991
2992         * xcmd.c (fremote_xcmd_init): Chris Lewis: use qdaemon->puuconf,
2993         since puuconf is not defined.
2994
2995         * uuconf/syshdr.unx, uuconf/hinit.c (uuconf_hdb_init): Chris
2996         Lewis: added HDB_SEPARATOR to insert between oldconfiglib and
2997         strings in HDB Sysfiles.
2998
2999         * uuconf/syshdr.unx: Chris Lewis: define strerror as a macro.
3000
3001         * uuconf/freblk.c, uuconf/free.c: Chris Lewis: don't define as
3002         void when ! UUCONF_ANSI_C.
3003
3004 Thu Jul  9 09:17:55 1992  Ian Lance Taylor  (ian@airs.com)
3005
3006         * prot.h, uucico.c (fdo_call, faccept_call), prote.c (festart),
3007         protf.c (ffstart), protg.c (fgstart), prott.c (ftstart): no need
3008         to pass fmaster as a separate argument to protocol start routine.
3009
3010         * protf.c (ffawait_ack, ffawait_cksum): don't try to resend if we
3011         don't have a file.
3012
3013 Wed Jul  8 14:28:23 1992  Ian Lance Taylor  (ian@airs.com)
3014
3015         * unix/srmdir.c (fsysdep_rmdir), unix/walk.c (usysdep_walk_tree):
3016         cast to char * to avoid warning.
3017
3018         * cu.c (main): don't compare boolean to NULL.
3019
3020         * unix/serial.c (isblocksigs), unix/signal.c (usset_signal): use
3021         extra parens to avoid bug in SCO 3.2.2 sys/signal.h header file.
3022
3023         * sysh.unx: always define struct ssysdep_tcp, for the benefit of
3024         systems for which HAVE_TCP is 0.
3025
3026         * MANIFEST, Makefile.in, unix/Makefile.in, uuconf/Makefile.in,
3027         lib/Makefile.in: updated automatic distribution code for multiple
3028         directories.
3029
3030         * unix/cusub.c, unix/serial.c: don't clobber CR when using TERMIO
3031         or TERMIOS, and default MIN to 1 to the convenience of cu.
3032
3033         * Makefile.in, uucp.h, system.h, prot.h, trans.h, uucico.c,
3034         trans.c, send.c, rec.c, xcmd.c, prot.c, protg.c, protf.c, prote.c,
3035         prott.c, log.c, file.c, unix/opensr.c, unix/work.c: rewrote file
3036         transfer internals to support bidirectional transfers.  Keep queue
3037         of jobs to do, and support connections.  Added new files trans.h,
3038         trans.c, send.c, rec.c, xcmd.c, and removed old file file.c.
3039
3040 Mon Jun 29 15:14:15 1992  Ian Lance Taylor  (ian@airs.com)
3041
3042         * Makefile.in: Stephen J. Walick: copy uustat.1 to
3043         uustat.$(manext), not uucp.($manext).  Also try to create
3044         $(infodir).
3045
3046         * chat.c (fcsend, fcprogram): check for NULL return from
3047         uuconf_callout.
3048
3049 Thu Jun 18 22:37:28 1992  Ian Lance Taylor  (ian@airs.com)
3050
3051         * configure.in, Makefile.in: updated to autoconf 0.118.
3052
3053 Wed Jun 17 14:22:11 1992  Ian Lance Taylor  (ian@airs.com)
3054
3055         * unix/serial.c (fsserial_init): add /dev if necessary to device
3056         as well as to port name.
3057
3058         * cu.c (main): set zdevice to NULL when faking line.
3059
3060         * cu.c (main), uucp.c (main), uux.c (main), uuxqt.c (main): don't
3061         call zsysdep_localname until we've called usysdep_initialize.
3062
3063 Tue Jun 16 17:42:50 1992  Ian Lance Taylor  (ian@airs.com)
3064
3065         * unix/signal.c (usset_signal): set SA_INTERRUPT to force system
3066         calls to be interrupted on SunOS.
3067
3068 Mon Jun 15 15:10:24 1992  Ian Lance Taylor  (ian@airs.com)
3069
3070         * everything: integrated uuconf library.  Split out lib and unix
3071         libraries.  Made many changes, including defaults for port and
3072         dialer files, better handling of changed local name, better
3073         handling of HDB Permissions, new zbufalc routines to manage
3074         strings on the heap.  Incorporated uuconv.
3075
3076 Wed Jun 10 23:51:03 1992  Ian Lance Taylor  (ian@airs.com)
3077
3078         * uuconf.h, uuconf/Makefile.in, uuconf/locnm.c, uuconf/llocnm.c,
3079         uuconf/hlocnm.c, uuconf/tlocnm.c: renamed uuconf_localname to
3080         uuconf_login_localname and added new uuconf_localname which
3081         doesn't need to read system information.
3082
3083 Tue Jun  9 14:19:20 1992  Ian Lance Taylor  (ian@airs.com)
3084
3085         * uuconf.h, uuconf/Makefile.in, uuconf/local.c: wrote
3086         uuconf_system_local.
3087
3088 Mon Jun  8 14:14:30 1992  Ian Lance Taylor  (ian@airs.com)
3089
3090         * policy.h: changed description of LOCKDIR, which now need not
3091         always be defined.
3092
3093         * uuconf.h, uuconf/uucnfi.h, uuconf/lckdir.c, uuconf/iniglb.c,
3094         uuconf/tinit.c, uuconf/Makefile.in: added uuconf_lockdir, and
3095         ``lockdir'' command to config.
3096
3097 Sat Jun  6 22:07:58 1992  Ian Lance Taylor  (ian@airs.com)
3098
3099         * configure.in: updated to autoconf 0.115, added code to set
3100         LIBOBJS.
3101
3102         * uuconf/Makefile.in, uuconf/uucnfi.h: removed references to
3103         routines now in lib/, changed to include regular UUCP header
3104         files.
3105
3106 Fri Jun  5 15:31:29 1992  Ian Lance Taylor  (ian@airs.com)
3107
3108         * uuconf.h, uuconf/uucnfi.h, uuconf/syssub.c, uuconf/uuconv.c:
3109         always set zpubdir for every system, changed uuconf_zpubdir to
3110         const char *.
3111
3112 Wed Jun  3 15:15:32 1992  Ian Lance Taylor  (ian@airs.com)
3113
3114         * uuconf.h, uuconf/Makefile.in, uuconf/deblev.c, uuconf/maxuxq.c,
3115         uuconf/pubdir.c, uuconf/spool.c: wrote uuconf_debuglevel,
3116         uuconf_maxuuxqts, uuconf_pubdir, uuconf_spooldir.
3117
3118         * configure.in: updated to autoconf 0.114.
3119
3120         * uuconf/tportc.c: default TCP ports to being fully reliable.
3121
3122 Mon Jun  1 17:03:22 1992  Ian Lance Taylor  (ian@airs.com)
3123
3124         * uuconf.h, uuconf/prtsub.c: removed uuconf_psysdep from
3125         uuconf_port.
3126
3127 Sun May 31 00:07:40 1992  Ian Lance Taylor  (ian@airs.com)
3128
3129         * uuconf.h, uuconf/Makefile.in, uuconf/diacod.c: wrote
3130         uuconf_dialcode.
3131
3132         * uuconf.h, uuconf/Makefile.in, uuconf/logfil.c, uuconf/debfil.c,
3133         uuconf/stafil.c: wrote uuconf_logfile, uuconf_debugfile,
3134         uuconf_statsfile.
3135
3136         * uuconf.h, uuconf/Makefile.in, uuconf/callin.c: wrote
3137         uuconf_callin.
3138
3139         * uuconf/chatc.c, uuconf/time.c: Jean Mehat: only call tolower if
3140         isupper is true.
3141
3142         * uuconf.h, uuconf/Makefile.in, uuconf/val.c, uuconf/tval.c: wrote
3143         uuconf_validate, uuconf_taylor_validate.
3144
3145 Sat May 30 12:37:02 1992  Ian Lance Taylor  (ian@airs.com)
3146
3147         * system.h, sys1.unx: changed zsysdep_local_name to
3148         zsysdep_localname, and made it fatal out rather than return NULL.
3149
3150         * uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
3151         uuconf/rdlocs.c, uuconf/locnm.c, uuconf/tlocnm.c, uuconf/hlocnm.c:
3152         wrote uuconf_localname, uuconf_taylor_localname,
3153         uuconf_hdb_localname.
3154
3155         * uuconf.h, uuconf/Makefile.in, uuconf/uucnfi.h, uuconf/iniglb.c,
3156         uuconf/tinit.c, uuconf/tsinfo.c, uuconf/hunk.c, uuconf/unk.c:
3157         wrote uuconf_system_unknown, uuconf_hdb_system_unknown,
3158         uuconf_taylor_system_unknown.
3159
3160         * log.c, time.c: always include <sys/types.h> in uucp.h.
3161
3162         * configure.in, conf.h.in: check for size_t, renamed checks for
3163         time_t.
3164
3165         * configure.in, conf.h.in: check for <stddef.h>.
3166
3167 Fri May 29 00:03:05 1992  Ian Lance Taylor  (ian@airs.com)
3168
3169         * sysinf.c (ztranslate_system): Jac Kersing: must xstrdup the
3170         argument, since it points to a buffer that will be reused.
3171
3172 Thu May 28 12:42:20 1992  Ian Lance Taylor  (ian@airs.com)
3173
3174         * sys3.unx (zsysdep_real_file_name): Ted Lindgreen: check return
3175         value of zstilde_expand.
3176
3177         * copy.c, sys1.unx (usysdep_detach), sys2.unx (fsserial_close),
3178         sys3.unx, sys5.unx, sys7.unx: opening /dev/tty in usysdep_detach
3179         confuses the NeXT, so instead we just call TIOCNOTTY on 0.  In
3180         fsserial_close we call TIOCNOTTY on the port before closing it, to
3181         make sure that we have ditched it under BSD.  Also added O_NOCTTY
3182         to every open call other than opening a port, although there are
3183         still several fopen calls which should probably have it somehow.
3184
3185         * system.h, uucico.c (fcall), uustat.c (fsquery_system,
3186         fsquery_show), sys3.unx (fsysdep_get_status), sys7.unx
3187         (zsysdep_all_status): Bob Izenberg: changed output of uustat -q to
3188         count number of commands rather than number of files being
3189         transferred, and to not report a non-existent status.  Added
3190         pfnone argument to fsysdep_get_status, and changed all calls.
3191
3192         * uucico.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, sys6.unx,
3193         sys7.unx: Rolf Nerstheimer: cast a bunch of arguments to open,
3194         creat, stat and chmod to avoid compiler warnings.
3195
3196         * uucp.h, log.c (ulog), port.c (fport_close), prot.c (fgetcmd):
3197         Chip Salzenberg: don't log a SIGHUP signal while we're closing
3198         down the connection, since the other side might hang up faster
3199         than we do (we still react to it correctly, we just don't put it
3200         in the log file).
3201
3202         * sys1.unx (usysdep_detach), tcp.c (ftcp_open): Petri Helenius:
3203         update the process ID we log after a fork.
3204
3205         * Makefile.in, sys1.unx: Chip Salzenberg: changed LIBDIR to
3206         SBINDIR.
3207
3208         * uucp.c (main, uccopy): Andreas Vogel: check local-receive of the
3209         correct system, rather than always using sLocalsys.
3210
3211         * configure.in, conf.h.in, sys2.unx, tstuu.c: Rob Janssen: look
3212         for <sys/select.h>, and include it if it exists and we are using
3213         select.
3214
3215         * protg.c: Rob Janssen: rearrange macros to avoid bug in XENIX
3216         compiler.
3217
3218         * configure.in: Scott Blachowicz: check WIFEXITED before assuming
3219         HAVE_UNION_WAIT, to avoid problems on HP/UX.
3220
3221         * configure.in, conf.h.in, sysh.unx, sys1.unx: John Theus: use
3222         sv_onstack instead of sv_flags in the sigvec structure on 4.2BSD.
3223
3224 Wed May 27 23:23:39 1992  Ian Lance Taylor  (ian@airs.com)
3225
3226         * policy.h, sys2.unx (fsysdep_modem_no_carrier): Scott Reynolds:
3227         added HAVE_CLOCAL_BUG compilation parameter to work around
3228         problems on some serial ports.
3229
3230 Tue May 26 15:50:17 1992  Ian Lance Taylor  (ian@airs.com)
3231
3232         * uustat.c, uustat.1: added a bunch of options to support uuclean:
3233         -e, -i, -K, -M, -N, -W, -Q.
3234
3235         * system.h, sys7.unx (fsysdep_privileged, fskill_or_rejuv): added
3236         fsysdep_privileged function.
3237
3238 Thu May 21 13:30:21 1992  Ian Lance Taylor  (ian@airs.com)
3239
3240         * uuxqt.c (uqdo_xqt_file): processing of execution file has to be
3241         case significant; this will change handling of "n" flag, which was
3242         not correctly handled before.
3243
3244 Wed May 20 14:22:12 1992  Ian Lance Taylor  (ian@airs.com)
3245
3246         * sys1.unx (usysdep_detach): close the statistics file when
3247         detaching.
3248
3249         * policy.h, sys3.unx (fsdo_lock, fsdo_unlock), sys7.unx
3250         (fsysdep_lock_status): force LOCKDIR to always be defined.
3251
3252         * uucp.h: put in an extern for alloca.
3253
3254         * sysh.unx, sys1.unx, sys5.unx, sys6.unx: defined all the ?_OK
3255         macros in sysh.unx, which means that <unistd.h> must be included
3256         before "sysdep.h" when they are both included.
3257
3258         * sys2.unx (fsserial_set): corrected case in termio switch
3259         expression.
3260
3261         * chat.c (fcsend): simplified expression for old compilers.
3262
3263         * sys1.unx (rmdir): wrote rmdir replacement which invokes
3264         /bin/rmdir for old systems.
3265
3266         * configure.in, conf.h.in, Makefile.in: updated for autoconf
3267         0.112, added checks for ftw, ftw.h, and rmdir.
3268
3269         * sys1.unx: added extern for ctime, removed externs for functions
3270         returning int, protected externs with ifndefs.
3271
3272         * uucp.h, prot.h, system.h, uucico.c (fuucp), uuxqt.c
3273         (uqdo_xqt_file), prot.c (freceive_file), file.c (freceived_file),
3274         sys3.unx (fsysdep_move_file, fsysdep_change_mode), sys4.unx
3275         (zsysdep_save_temp_file): changed fsysdep_move_file to not set the
3276         file mode, and added fsysdep_change_mode to do it instead.
3277
3278         * system.h, uucp.c (main, ucdirfile, uccopy), sys6.unx
3279         (usysdep_walk_tree, isdir, ftw, do_ftw): added -R option to uucp
3280         to recursively copy directories.
3281
3282 Tue May 19 18:29:32 1992  Ian Lance Taylor  (ian@airs.com)
3283
3284         * sys3.unx: changed zsysdep_in_dir to always append the filename
3285         to the directory, even if the directory did not already exist.
3286
3287         * sysh.unx, sys1.unx, sys3.unx, sys4.unx, sys5.unx: renamed
3288         fsdirectory_exists to fsysdep_directory.
3289
3290 Mon May 18 14:49:35 1992  Ian Lance Taylor  (ian@airs.com)
3291
3292         * system.h, uucp.c (main), sys6.unx (zsysdep_uuto): added -t
3293         option to uucp to emulate uuto, wrote zsysdep_uuto to do Unix
3294         dependent destination translation for uuto, added -p option to
3295         uucp as synonym for -C for uuto compatibility.
3296
3297 Sun May 17 22:04:09 1992  Ian Lance Taylor  (ian@airs.com)
3298
3299         * protg.c (fgexchange_init): permit a second INITB to override the
3300         segment size given in the first INITB.
3301
3302 Tue May  5 16:03:22 1992  Ian Lance Taylor  (ian@airs.com)
3303
3304         * uucico.c (main, fdo_call), uucico.8: Chip Salzenberg: added -c
3305         option to uucico to not warn if invoked when the system may not be
3306         called.
3307
3308 Tue Apr 28 15:05:01 1992  Ian Lance Taylor  (ian@airs.com)
3309
3310         * sysh.unx, sys2.unx (fsserial_open, fsblock): preserve file
3311         status flags.
3312
3313         * protg.c (fgwait_for_packet): Heiko Rupp: only send RJ packet if
3314         there are no unacknowledged packets.
3315
3316 Mon Apr 27 18:56:42 1992  Ian Lance Taylor  (ian@airs.com)
3317
3318         * system.h: added several routines for cu.
3319
3320         * cu.c, cu.h, sys8.unx: checked into RCS.
3321
3322         * uux.c (main): Jose Manas: dumb bug when checking against
3323         calloc_args.
3324
3325 Fri Apr 24 20:32:06 1992  Ian Lance Taylor  (ian@airs.com)
3326
3327         * sys1.unx: changed HAVE_LONG_NAMES to HAVE_LONG_FILENAMES for new
3328         version of autoconf.
3329
3330         * sys7.unx: check UTIME_NULL_MISSING with #if rather than #ifdef.
3331
3332         * sys3.unx: check FS_* macros with #if rather than #ifdef.
3333
3334         * uucp.h, sysh.unx: changed standard type definitions for new
3335         version of autoconf.
3336
3337         * sysh.unx, sys1.unx, sys2.unx, tstuu.c: changed SIGtype to
3338         RETSIGTYPE for new version of autoconf.
3339
3340         * sys1.unx, tstuu.c: make include of <sys/times.h> optional.
3341
3342         * sys2.unx: get the right versions of major and minor.
3343
3344 Wed Apr 22 11:19:11 1992  Ian Lance Taylor  (ian@airs.com)
3345
3346         * protg.c (fgsenddata, fggot_ack): Michael Haberler: the slow
3347         start after error code was essentially shrinking the window size.
3348
3349         * sysh.unx, system.h, sys1.unx (usysdep_initialize), uuchk.c,
3350         uucico.c, uucp.c, uulog.c, uuname.c, uustat.c, uux.c, uuxqt.c:
3351         changed usysdep_initialize to take a single argument with bit
3352         flags, added INIT_NOCHDIR as one of the flags.
3353
3354         * uucp.h, log.c (ulog): added pfLstart and pfLend functions for
3355         ulog, so that cu can use them to restore the terminal settings.
3356
3357         * bnu.c (ubnu_read_systems, fbnu_read_dialer_info), v2.c
3358         (uv2_read_systems): Michael Richardson: don't core dump if no chat
3359         script.
3360
3361 Tue Apr 21 00:19:47 1992  Ian Lance Taylor  (ian@airs.com)
3362
3363         * uucico.c (faccept_call): Chris Lewis: a successful call in
3364         should clear the number of retries.
3365
3366         * sys2.unx (fsserial_set): set LLITOUT if going to CBREAK mode.
3367
3368         * port.h, prote.c (festart), protf.c (ffstart), protg.c (fgstart),
3369         prott.c (ftstart), port.c (fport_set), sys2.unx
3370         (fsysdep_stdin_set, fsysdep_modem_set, fsysdep_direct_set,
3371         fsserial_set): gave fport_set independent control over output
3372         parity generation, input parity checking, and XON/XOFF
3373         handshaking, all to support cu.
3374
3375 Mon Apr 20 11:47:23 1992  Ian Lance Taylor  (ian@airs.com)
3376
3377         * port.h, uucico.c (fdo_call), port.c (fport_dial, fmodem_dial),
3378         tcp.c (ftcp_dial): added separate zphone argument to fport_dial to
3379         support cu.
3380
3381 Thu Apr 16 01:15:42 1992  Ian Lance Taylor  (ian@airs.com)
3382
3383         * bnu.c (ubadd_perm, ubadd_perm_alternate): Chris Lewis: handle a
3384         combination of Permissions entries which specify just LOGNAME with
3385         entries that specify both MACHINE and LOGNAME.
3386
3387 Wed Apr 15 16:11:48 1992  Ian Lance Taylor  (ian@airs.com)
3388
3389         * sys1.unx (usysdep_initialize, zsysdep_login_name): John Theus:
3390         don't die if can't get login name, unless it's really needed.
3391
3392 Tue Apr 14 12:39:18 1992  Ian Lance Taylor  (ian@airs.com)
3393
3394         * uucico.c (main, fcall): Petri Helenius: must relock system after
3395         detaching from terminal when trying different alternates.
3396
3397         * system.h, uucico.c (fuucp), uustat.c (fsworkfiles_system,
3398         fsquery_system), sys4.unx (fsysdep_get_work_init,
3399         fsysdep_get_work): Marty Shannon: uustat would remove empty
3400         command files.
3401
3402         * bnu.c (ubadd_perm_alternate): John Harkin: permit ALIAS in
3403         Permissions.
3404
3405         * Makefile.in: John Harkin: add sys?.c dependencies to sys?.o to
3406         work around old makes which don't handle transitive .SUFFIXES.
3407
3408         * sys2.unx: cast some function calls to void.
3409
3410         * time.c (qttime_parse): cast to void warning.
3411
3412         * sys1.unx (iswait): cast waitpid argument to avoid warning.
3413
3414         * configure.in, policy.h, uucp.h, sys7.unx, tstuu.c: Zacharias
3415         Beckman: minor touchups for NeXT.
3416
3417         * sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd), uux.c
3418         (main): Jarmo Raiha: heuristic for whether to get the current
3419         directory can fail.
3420
3421         * sys1.unx: pass argument to uudir, cast sigemptyset calls to
3422         void.
3423
3424         * uucp.texi: Harlan Stenn: correct case of references.
3425
3426 Tue Apr  7 01:02:17 1992  Ian Lance Taylor  (ian@airs.com)
3427
3428         * Released version 1.03.
3429
3430 Mon Apr  6 15:49:08 1992  Ian Lance Taylor  (ian@airs.com)
3431
3432         * uucico.c (faccept_call): Marc Boucher: set *pqsys to NULL.
3433
3434         * bnu.c (ubnu_read_systems, fbnu_find_port): Erik Forsberg:
3435         support multiple character modem classes.
3436
3437 Fri Apr  3 00:37:25 1992  Ian Lance Taylor  (ian@airs.com)
3438
3439         * sys2.unx: Petri Helenius: only clear known bits in termio or
3440         termios structure; didn't change HAVE_BSD_TTY handling--maybe next
3441         version.
3442
3443         * configure.in: test TIMES_DECLARATION_OK correctly.
3444
3445         * Makefile.in: update version to 1.03, remove distclean, add
3446         mostlyclean per GNU standards.
3447
3448         * sys1.unx, chat.c: minor cleanups for gcc 2.1.
3449
3450 Thu Apr  2 17:51:36 1992  Ian Lance Taylor  (ian@airs.com)
3451
3452         * tstuu.c: conditionally declare times.
3453
3454         * uucp.h, prot.c, sysinf.c, prtinf.c: added gcc 2.0 format
3455         checking to ulog, and fixed a few problems it discovered.
3456
3457 Wed Apr  1 16:21:08 1992  Ian Lance Taylor  (ian@airs.com)
3458
3459         * sys3.unx (esysdep_open_receive): David J. MacKenzie: some
3460         USG_STATFS systems use 512 as the block size of f_bfree, despite
3461         the existence of f_bsize.
3462
3463         * port.c (fport_open): initialize stdin port.
3464
3465         * policy.h, log.c: added CLOSE_LOGFILES configuration parameter.
3466
3467         * sys2.unx: T. William Wells: handle a system without <poll.h> or
3468         <stropts.h>.
3469
3470         * configure.in: Franc,ois Pinard: warn if none of napms, nap,
3471         usleep, poll or select are available, since \p will sleep for a
3472         full second.
3473
3474         * Makefile.in: Gerben Wierda: fixed uninstall to set file owner
3475         and mode correctly.  Also changed install to handle uucp.info-4
3476         and uustat.1.
3477
3478         * MANIFEST: added uucp.info-4 and uustat.1.
3479
3480         * uustat.1: Wrote.
3481
3482         * uucico.8, uuxqt.8, uucp.1, uux.1: updated -x switch, cleaned up
3483         a bit.
3484
3485 Tue Mar 31 14:40:06 1992  Ian Lance Taylor  (ian@airs.com)
3486
3487         * sys1.unx (usysdep_initialize): use $PWD to get the current
3488         working directory if it's defined and correct.
3489
3490         * sys1.unx (usysdep_initialize): Brian Antoine: use name from
3491         getpwname rather than getlogin.
3492
3493         * uucp.texi: David J. MacKenzie: put in a number of corrections.
3494         Also split sys file and config file nodes, and rearranged several
3495         nodes.
3496
3497         * protg.c (fgsenddata): Niels Baggesen: packet to retransmit did
3498         not get reset correctly.
3499
3500 Mon Mar 30 10:03:28 1992  Ian Lance Taylor  (ian@airs.com)
3501
3502         * tcp.c (ftcp_reset): Petri Helenius: TCP server never started
3503         uuxqt, because it exited in ftcp_reset.
3504
3505         * policy.h, sysh.unx, sys2.unx (fsserial_lockfile): added
3506         HAVE_SVR4_LOCKFILES configuration parameter.
3507
3508         * sys3.unx (esysdep_open_receive): Niels Baggesen: USG statfs has
3509         an f_bsize field.
3510
3511 Sun Mar 29 23:04:20 1992  Ian Lance Taylor  (ian@airs.com)
3512
3513         * uucp.h, sysinf.c, prot.c, prote.c, protf.c, protg.c, prott.c:
3514         Niels Baggesen: added new debugging types abnormal and uucp-proto.
3515
3516         * uucico.c (fuucp), prot.c (freceive_file), file.c
3517         (fstore_recfile): Dirk Musstopf: if a file receive fails before it
3518         starts, perhaps because the file was too large, remember to remove
3519         the temporary file.
3520
3521         * sys2.unx (fsserial_lock, fsserial_open, fsserial_write,
3522         fsserial_io): always block and unblock the read and write
3523         descriptors together.
3524
3525 Sat Mar 28 14:40:50 1992  Ian Lance Taylor  (ian@airs.com)
3526
3527         * uustat.c: allow multiple systems and users to be specified at
3528         once; likewise for kills and rejuvenates.  Allow old and young to
3529         be combined with systems and users.  As suggested by Niels
3530         Baggesen, make machine status output more columnar.
3531
3532         * uucp.h, uucico.c, config.c, sys3.unx: Michael I Bushnell:
3533         renamed enum tstatus to tstatus_type to avoid conflict with
3534         <sys/ioctl.h> on some systems.
3535
3536         * config.c, sysinf.c, prtinf.c, chat.c: David J. MacKenzie: allow
3537         backslash newline quoting in all TAYLOR_CONFIG configuration
3538         files.
3539
3540         * chat.c (fchat): David J. MacKenzie: handle empty subexpect
3541         strings correctly.
3542
3543         * uucico.c (main, fcall): Petri Helenius: must dump controlling
3544         terminal before going to next alternate.  Also fixed David J.
3545         MacKenzie bug in which a signal did not prevent the next
3546         alternates from being tried.  Also made sure qtime was always
3547         freed up.
3548
3549         * uucp.h, uucico.c (fdo_call), sysinf.c (tialternate), uuchk.c
3550         (ukshow): Franc,ois Pinard: allow a name to be given to an
3551         alternate, and display the name when placing a call.
3552
3553         * chat.c (fcprogram), port.c (fport_open, fport_close): David J.
3554         MacKenzie: send port device rather than port name to a chat
3555         program using \Y; make sure port device is reset if port open
3556         fails and when port is closed.
3557
3558         * uucico.c (fuucp), log.c (ulog, ustats, ustats_close): close log
3559         and statistics file every time master and slave switch roles.
3560
3561 Fri Mar 27 00:31:23 1992  Ian Lance Taylor  (ian@airs.com)
3562
3563         * uucico.c (fdo_call): Mark Mallett: minor cleanup.
3564
3565         * uuname.c (main): Franc,ois Pinard: output aliases, added -a
3566         switch.
3567
3568         * uucico.8, uuxqt.8, uux.1, uucp.1: David J. MacKenzie: changed
3569         .TP5 to .TP 5; also updated to 1.03.
3570
3571         * tstuu.c: Roberto Biancardi: if SIGCHLD is not defined, define it
3572         as SIGCLD.
3573
3574         * config.c: David J. MacKenzie: cMaxuuxqts is independent of
3575         HAVE_TAYLOR_CONFIG.
3576
3577         * uucp.h: Gerben Wierda: don't always declare bzero.
3578
3579         * sys7.unx (ussettime, fsysdep_lock_status): Niels Baggesen,
3580         Gerben Wierda: minor patches.
3581
3582         * sys2.unx: Gerben Wierda: minor cleanups.
3583
3584         * uucp.h: Niels Baggesen: simplified debugging message macros to
3585         avoid broken compilers.
3586
3587         * sys2.unx: don't use TIOCEXCL locking.
3588
3589         * sys2.unx: rework HAVE_UNBLOCKED_WRITES == 0 to work even if
3590         writes are unblocked.  Correct initialization of fwrite_blocking.
3591
3592         * Makefile.in, configure.in: David J. MacKenzie: various cleanups.
3593         Changed default newconfigdir definition.  Supported compilation in
3594         a different directory.  Used symbolic links if available.  Changed
3595         default infodir definition per Franc,ois Pinard.
3596
3597         * policy.h: David J. MacKenzie: various cleanups.
3598
3599 Thu Mar 26 12:17:41 1992  Ian Lance Taylor  (ian@airs.com)
3600
3601         * sys3.unx: reduced race condition in fsdo_lock.
3602
3603         * sys1.unx: Gerben Wierda: various cleanups.  Also don't set
3604         sa_flags to SV_INTERRUPT per Chip Salzenberg.
3605
3606 Wed Mar 25 22:20:24 1992  Ian Lance Taylor  (ian@airs.com)
3607
3608         * configure.in: Overhauled for readability and functionality as
3609         suggested by T. William Wells and others.  Added bug checks,
3610         including for SCO memmove and ftime.
3611
3612 Tue Mar 24 12:18:56 1992  Ian Lance Taylor  (ian@airs.com)
3613
3614         * sysinf.c (uiread_systems): fixed handling of alternates in
3615         file-wide defaults.
3616
3617 Wed Mar 18 01:01:25 1992  Ian Lance Taylor  (ian@airs.com)
3618
3619         * config.c (tprocess_one_cmd): handle CMDTABTYPE_FULLSTRING
3620         correctly if there are no arguments.
3621
3622         * Released beta version 1.03
3623
3624         * sys1.unx (usysdep_detach): open the controlling terminal in non
3625         delay mode since it might be a modem.
3626
3627 Tue Mar 17 00:01:53 1992  Ian Lance Taylor  (ian@airs.com)
3628
3629         * uucico.c (fdo_call, faccept_call): T. William Wells: set current
3630         time in status file when call completes.
3631
3632         * sys1.unx (iswait), sys2.unx (fsserial_read, fsserial_write,
3633         fsserial_io): log signals when they occur, even if we continue
3634         some sort of loop, rather than waiting for the next ulog call.
3635
3636         * sys2.unx (fsserial_lock, fsserial_open): don't block when
3637         opening the write descriptor.
3638
3639 Mon Mar 16 00:14:43 1992  Ian Lance Taylor  (ian@airs.com)
3640
3641         * system.h, uuxqt.c (uqdo_xqt_file), sys5.unx (fsysdep_execute):
3642         pass command to fsysdep_execute as first element of argument
3643         array.
3644
3645         * tcp.c: declare _exit.
3646
3647         * uucp.h: move definition of const before use for non ANSI C.
3648
3649         * uucp.h, sys1.unx: undefine remove in uucp.h if the system does
3650         not have it to avoid conflict with macro definitions.
3651
3652         * uucico.c, uuxqt.c, protf.c, prott.c, prote.c, config.c, chat.c,
3653         port.c, sys2.unx: miscellaneous cleanups.
3654
3655         * tcp.c (ftcp_open): cast argument to bzero.
3656
3657         * time.c (qtimegrade_parse): cast argument to qttime_parse to
3658         long.
3659
3660         * file.c: changed iRecmode to unsigned int.
3661
3662         * configure.in, uucp.h: on SCO 3.2.2 sig_atomic_t is defined in
3663         <sys/types.h> but not <signal.h>.
3664
3665         * sys1.unx: undefined remove before the function definition to
3666         avoid trouble on systems for which it is a macro.
3667
3668         * Makefile.in: removed dependencies of getopt.o.
3669
3670         * sys1.unx, sys7.unx, tstuu.c: adjusted external declarations.
3671
3672         * getopt.h, getopt.c: get new versions from glibc 1.01.
3673
3674         * sys1.unx: don't declare sigemptyset.
3675
3676         * version.c: updated to beta 1.03.
3677
3678         * chat.c (fcsend): Scott Ballantyne: go ahead and send a character
3679         for an illegal escape sequence rather than failing out.
3680
3681         * uuxqt.c (uqdo_xqt_file), sys5.unx (zsysdep_find_command): cast
3682         result of alloca.
3683
3684         * protg.c (fgprocess_data): Niels Baggesen: improved debugging
3685         information.  Also tweaked fgprocess_data code to use memchr to
3686         find the next DLE rather than searching for it by hand.
3687
3688         * uucico.c (faccept_call, fuucp): accept SVR4 -U flag giving
3689         maximum file transfer size; accept and ignore SVR4 -R flag meaning
3690         that the system supports file restart.
3691
3692 Sun Mar 15 00:21:56 1992  Ian Lance Taylor  (ian@airs.com)
3693
3694         * sysinf.c (titime, titimegrade): permit a retry time to be
3695         specified as an optional additional argument.
3696
3697         * uucico.c (zget_uucp_cmd, zget_typed_line): turn off DEBUG_PORT
3698         when doing DEBUG_HANDSHAKE.
3699
3700         * policy.h, sysh.unx, sys1.unx, sys2.unx (fsblock_writes,
3701         fsserial_write, fsserial_io): added configuration parameters
3702         HAVE_UNBLOCKED_WRITES and SINGLE_WRITE.  Also blocked signals
3703         while clearing afSignal in fsysdep_modem_close.
3704
3705         * chat.c (icexpect, fcsend): turn off DEBUG_PORT while doing chat
3706         script debugging.
3707
3708         * sysh.unx, sys2.unx (fsserial_lock, fsserial_open,
3709         fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
3710         fsysdep_tcp_io): T. William Wells: some systems don't support
3711         unblocked writes, so don't use them.
3712
3713         * port.c (fport_read, fport_write): show calls to fport_read and
3714         fport_write under DEBUG_PORT.
3715
3716         * bnu.c (fbnu_find_port): Scott Ballantyne: accept "Any" as a
3717         Device speed.
3718
3719 Sat Mar 14 20:52:11 1992  Ian Lance Taylor  (ian@airs.com)
3720
3721         * uucp.h, system.h, sysh.unx, uucico.c (main, zget_typed_line),
3722         uuxqt.c (main), uucp.c (main), uux.c (main, uxcopy_stdin), tcp.c
3723         (ftcp_open), log.c (ulog, ulog_close), sys1.unx (ussignal),
3724         sys2.unx (fsserial_close, fsysdep_modem_end_dial, fsserial_read,
3725         fsserial_write, fsserial_io, fsysdep_tcp_read, fsysdep_tcp_write,
3726         fsysdep_tcp_io): T. William Wells and Chip Salzenberg: keep an
3727         array of signals so that a new signal doesn't obliterate our
3728         knowledge of an old signal.  Johan Vromans: if we get SIGINT
3729         continue the current session but don't start any new ones.
3730
3731         * sysh.unx, sys1.unx (isspawn, espopen, iswait, fsysdep_mail,
3732         fsysdep_run, getcwd, mkdir), sys2.unx (fsrun_chat), sys3.unx
3733         (fsysdep_wildcard_start), sys5.unx (fsysdep_execute), sys7.unx
3734         (fsysdep_lock_status), uuxqt.c (uqdo_xqt_file), tcp.c (ftcp_open),
3735         tstuu.c (uchild): added function isspawn, espopen and iswait and
3736         channeled all execs of new processes and waits through them.
3737
3738 Fri Mar 13 18:00:04 1992  Ian Lance Taylor  (ian@airs.com)
3739
3740         * sysinf.c (uset_system_defaults): Chip Salzenberg: changed
3741         default login script timeout to 10 seconds.
3742
3743         * prot.h, prot.c (freceive_data, breceive_char), protg.c, protf.c,
3744         prott.c, prote.c: changed breceive_char to go through
3745         freceive_data rather than calling fport_read directly.  Added an
3746         freport argument to freceive_data, and change all old calls to
3747         pass it in as FALSE.
3748
3749 Thu Mar 12 14:49:59 1992  Ian Lance Taylor  (ian@airs.com)
3750
3751         * uucp.h: added a padding byte to scmd structure, since at least
3752         one compiler needs it.
3753
3754         * uucp.c (main): use fake local name (from ``myname'' command)
3755         when generating an execution request intended for the local
3756         system.
3757
3758         * sysh.unx: corrected readdir prototype.
3759
3760         * sys2.unx: moved local header files ahead of sleep routine
3761         determination.
3762
3763         * General overhaul to change debugging system.  Debugging is now
3764         done by type rather than by number.  iDebug is now interpreted as
3765         a bit sequence.  DEBUG may only be 0 (no checks or debugging), 1
3766         (checks, no debugging) or 2 (checks and debugging).  The debugging
3767         names are parsed by idebug_parse and tidebug_parse in config.c.
3768         The debugging types are additive.  Many source files changed.
3769         Inspired by Michael Richardson, Johan Vromans and Peter da Silva.
3770
3771 Wed Mar 11 12:01:03 1992  Ian Lance Taylor  (ian@airs.com)
3772
3773         * policy.h, uuxqt.c (uqdo_xqt_file): Chip Salzenberg: support
3774         Internet mail addresses in uuxqt replies (added configuration
3775         parameter HAVE_INTERNET_MAIL to control this).
3776
3777         * sys7.unx (fskill_or_rejuv): permit uucp user to delete any job.
3778
3779         * uucp.h, system.h, sysh.unx, config.c, uuxqt.c (main, uqabort),
3780         sys5.unx (isysdep_lock_uuxqt, fsysdep_unlock_uuxqt), bnu.c
3781         (ubnu_read_sysfiles): Marty Shannon: added max-uuxqts command,
3782         along with support for BNU Maxuuxqts, to limit number of
3783         concurrent uuxqt processes.
3784
3785         * chat.c (icexpect, fcsend), uucico.c (zget_uucp_cmd,
3786         zget_typed_line): improved debugging by avoiding incredibly long
3787         lines.
3788
3789         * system.h, sys5.unx (fsysdep_execute), uuxqt.c (uqdo_xqt_file):
3790         Jon Zeef: if a temporary failure occurs, retry the execution
3791         later.
3792
3793 Tue Mar 10 12:40:30 1992  Ian Lance Taylor  (ian@airs.com)
3794
3795         * sysh.unx, sys1.unx (isfork), sys2.unx, sys5.unx, tcp.c:
3796         Franc,ois Pinard: retry fork several times before giving up.
3797
3798         * uucp.h, prot.c (fploop, fgot_data), file.c (usendfile_error,
3799         urecfile_error, frecfile_rewind): Niels Baggesen: if we can't read
3800         or write a file, treat it as a temporary error rather than a
3801         permanent error; if we get an error on write, drop the connection
3802         rather they try to continue.
3803
3804         * uucp.h, system.h, sysh.unx, uucico.c (fuucp), prot.c
3805         (fsend_file, freceive_file), file.c (fsent_file, usendfile_error,
3806         freceived_file, urecfile_error, fmail_transfer), sys1.unx
3807         (usmake_spool_dir), sys4.unx (zsysdep_save_temp_file): if a file
3808         send fails, save the file away rather than lose it forever.
3809
3810         * uucico.c (main): don't run uuxqt if we got a SIGTERM.
3811
3812         * tcp.c (ftcp_open): Petri Helenius: have server fork twice to
3813         avoid zombies.
3814
3815         * port.h, prtinf.c, v2.c, bnu.c (fbnu_find_port), uucico.c
3816         (fdo_call, faccept_call), uuchk.c (fkshow_port): added protocol
3817         command for ports, mostly to support BNU.  Also modified uuchk to
3818         make the absence of any matching port or dialer more obvious.
3819
3820         * sys3.unx (esysdep_open_receive): check size of destination file
3821         system as well as temporary file system; handle f_bsize field
3822         under FS_MNTENT.
3823
3824         * configure.in, sysh.unx: test for including <termios.h> and
3825         <sys/ioctl.h> in the same file, setting new configuration
3826         parameter HAVE_TERMIOS_AND_SYS_IOCTL_H accordingly; handle it in
3827         sysh.unx.
3828
3829 Mon Mar  9 00:06:12 1992  Ian Lance Taylor  (ian@airs.com)
3830
3831         * sys2.unx (fsserial_close): Franc,ois Pinard: sleep for a second
3832         after closing the serial port to give it a chance to settle.
3833
3834         * sysh.unx (fsetterminfodrain), sys2.unx (fsserial_close,
3835         fsserial_reset, fsserial_set): wait for terminal output to drain
3836         before closing it, resetting it, or changing its parameters.
3837
3838         * uucico.c (zget_uucp_cmd): Ted Lindgreen: strip parity bit from
3839         initial handshake strings.
3840
3841         * system.h, sys3.unx (esysdep_open_send), uucico.c (fuucp): Ted
3842         Lindgreen: don't send a mail message if a file to send has been
3843         removed, since it might have been sent in a previous session.
3844
3845         * uuchk.c (ukshow): Zacharias Beckman: put list of permitted
3846         programs and execution path on separate lines.
3847
3848         * uucico.c (fdo_call, faccept_call): only look for hangup string
3849         in debugging mode, since there's nothing to be done with it
3850         anyhow.
3851
3852         * uucico.c (faccept_call): Ted Lindgreen: report the minimum
3853         transfer grade requested during an incoming call in the log file.
3854
3855         * uucp.h, uutime.h, config.c, uucico.c (fcall), time.c
3856         (ftimespan_match, btimegrade, cmax_size_now): added a new status
3857         type for ``wrong time to call''.  If a system can never be called,
3858         this status type is not used (if an attempt is made to call the
3859         system, the status is left unchanged).
3860
3861 Sun Mar  8 11:41:45 1992  Ian Lance Taylor  (ian@airs.com)
3862
3863         * uucico.c (main, flogin_prompt, faccept_call): Ted Lindgreen: if
3864         we were asked to call a single system, or if a single system
3865         called in, then start uuxqt with -s for just that system.
3866
3867         * uucico.c (main): Ted Lindgreen: ignore the -u option.
3868
3869         * tstuu.c: Ted Lindgreen: don't include <sys/ioct.h> if it's not
3870         there.  Also removed the ``ignore this error'' message from the
3871         chat scripts since it's no longer marked as an error.
3872
3873         * sys2.unx (fsserial_set): Ted Lindgreen: if CRTSCTS is defined
3874         and turned on, then don't turn on IXOFF.
3875
3876         * uucp.h, log.c, uucico.c (fdo_call, faccept_call): Ted Lindgreen:
3877         report the port name and (for incoming calls) the login name in
3878         the log file.
3879
3880 Sat Mar  7 10:00:47 1992  Ian Lance Taylor  (ian@airs.com)
3881
3882         * port.h, prtinf.c, sys2.unx (fsserial_lockfile, fsserial_lock):
3883         Peter da Silva: added ``lockname'' command to ports to permit
3884         specification of the file name to use when locking.
3885
3886         * sys1.unx (usysdep_detach): let setpgrp fail silently.
3887
3888         * sys2.unx: always include <sys/ioctl.h> if it's present on the
3889         system.
3890
3891         * time.c (btimegrade, cmax_size_now): removed extraneous
3892         semicolons.
3893
3894         * sys2.unx (fsserial_lock, fsserial_open, fsserial_close): support
3895         TIOCEXCL locking.
3896
3897         * sys2.unx (fsserial_open): preserve unknown bits in c_cflag when
3898         using HAVE_SYSV_TERMIO or HAVE_POSIX_TERMIOS.
3899
3900         * prot.h: never included more than once.
3901
3902 Fri Mar  6 21:53:28 1992  Ian Lance Taylor  (ian@airs.com)
3903
3904         * uucp.h: Eric Ziegast: some systems don't define EXIT_SUCCESS or
3905         EXIT_FAILURE in stdlib.h.
3906
3907         * uucp.h, uutime.h, uucico.c (fuucp), sysinf.c (uinittimetables,
3908         uaddtimetable), uuchk.c (main, ukshow_size, ukshow_time,
3909         qcompress_span), time.c (all new): rewrote time routines
3910         completely for consistency and simplicity.  Fixed bug causing
3911         incorrect maximum possible transfer size.  Added new file
3912         uutime.h.
3913
3914 Wed Mar  4 10:06:13 1992  Ian Lance Taylor  (ian@airs.com)
3915
3916         * sys2.unx (fsserial_lockfile, fsserial_lock, fsysdep_modem_open,
3917         fsysdep_direct_open, fsysdep_modem_close, fsysdep_direct_close):
3918         Petri Helenius: if the open failed on a serial port, the lock
3919         files were not removed.
3920
3921         * config.c (igradecmp): the local variables in igradecmp have to
3922         be integers; signed characters might not work correctly (although
3923         they would in all normal cases).
3924
3925         * sys4.unx (fsysdep_has_work): Johan Vromans: set *pbgrade
3926         correctly if we still have work left over that we haven't looked
3927         at yet.
3928
3929         * tstuu.c (main, uchoose, fwriteable): Roberto Biancardi: use poll
3930         if we haven't got select.
3931
3932         * uucico.c (zget_uucp_cmd): Michael Haberler: some systems send \n
3933         after Shere, rather than a null byte.
3934
3935 Tue Mar  3 01:03:22 1992  Ian Lance Taylor  (ian@airs.com)
3936
3937         * uuxqt.c (main, uqdo_xqt_file): permit local executions, don't
3938         get grade out of system dependent file name.
3939
3940         * sys4.unx (fsysdep_get_work): Bob Denny: warn if we can't open a
3941         command file.
3942
3943         * v2.c (uv2_read_systems): Jeff Putsch: infinite loop when reading
3944         time string.
3945
3946         * uucp.h, sys1.unx, sys2.unx, sys3.unx, tstuu.c, configure.in:
3947         Thomas Fischer: some NeXT compatibility stuff: removed externs of
3948         sleep and alarm, included <libc.h> in uucp.h.
3949
3950         * uucp.h, port.h, uucico.c (zget_uucp_cmd, zget_typed_line),
3951         port.c (cdebug_char, udebug_buffer), chat.c (icexpect, fcsend,
3952         fcphone), log.c (ulog): Michael Richardson: added LOG_DEBUG_START,
3953         LOG_DEBUG_CONTINUE and LOG_DEBUG_END to allow a debugging line in
3954         the log file to be built character by character.  Used this new
3955         feature in chat script debugging, rather than having each
3956         character appear on a separate line.  Added fPort_debug variable
3957         to control port debugging.
3958
3959         * uustat.c (fsquery, fsquery_system, fsquery_show): handle
3960         execution files queued up for the local system correctly when
3961         using -q option (they still don't show up on any other option).
3962
3963         * uucp.texi, protg.c (fgstart, fgshutdown): Aleksey P. Rudnev:
3964         added remote-window and remote-packet-size 'g' protocol
3965         parameters.  Reset the parameters to their default values in
3966         fgshutdown.
3967
3968         * sysh.unx, sys2.unx (fsserial_read, usalarm), sys1.unx
3969         (usset_signal, usysdep_detach), uucico.c (main): overhauled
3970         fsserial_read yet again.  The timeout passed in is now an absolute
3971         bound.  A special SIGALRM handler does some wierd stuff to avoid
3972         any possible race.
3973
3974         * config.c (uread_config), sysinf.c (uiread_systems,
3975         fcallout_login, fcheck_login), prtinf.c (ffind_port,
3976         fread_dialer_info), chat.c (fctranslate), uucico.c (faccept_call):
3977         T. William Wells: when using HAVE_TAYLOR_CONFIG in combination
3978         with V2 or BNU configuration files, don't complain if the
3979         HAVE_TAYLOR_CONFIG files are missing.
3980
3981 Mon Mar  2 10:21:36 1992  Ian Lance Taylor  (ian@airs.com)
3982
3983         * sys2.unx (fsserial_read): T. William Wells: don't arbitrarily
3984         extend read timeout.
3985
3986         * uux.c (main): check iSignal before entering fread, since the
3987         user may have hit ^C earlier in the program.
3988
3989 Sun Mar  1 23:39:33 1992  Ian Lance Taylor  (ian@airs.com)
3990
3991         * policy.h, uucp.h, sysh.unx, sys2.unx (fsserial_lock,
3992         fsysdep_modem_close, fsysdep_direct_close), util.c (strlwr),
3993         configure.in: Marc Unangst: added HAVE_SCO_LOCKFILES configuration
3994         parameter to force lock file names to lower case.
3995
3996 Fri Feb 28 00:07:12 1992  Ian Lance Taylor  (ian@airs.com)
3997
3998         * system.h, uucico.c (faccept_call, fdo_xcmd), uuxqt.c
3999         (uqdo_xqt_file), uux.c (main), uucp.c (main, ucspool_cmds),
4000         sys3.unx (zsysdep_spool_cmds), uux.1, uucp.1: added -j switch to
4001         uucp and uux to display the jobid of the spooled job.
4002
4003         * uucp.h, system.h, sysh.unx, uucico.c (fuucp, fdo_xcmd,
4004         fok_to_send, fok_to_receive), uuxqt.c (uqdo_xqt_files), uux.c
4005         (main, uxcopy_stdin), uucp.c (main), file.c (freceived_file),
4006         config.c (fin_directory_list), sys1.unx (fsysdep_file_exists,
4007         fsuser_access, fsysdep_in_directory), sys3.unx (esysdep_open_send,
4008         fsysdep_move_file), sys5.unx (fsysdep_xqt_check_file): Chip
4009         Salzenberg: recheck file access permissions before sending, to try
4010         to avoid symbolic link games.  Check that the user has search
4011         access on all directories down to the file, and read or write
4012         access to the file or directory itself.  Check in uucp and uux as
4013         well as uucico, to provide early messages.  Check the standard
4014         input file in uuxqt.  Be more careful about creating files in the
4015         spool directory.  This eliminates all security problems I know of,
4016         except for a very short race in fsysdep_move_file.
4017
4018         * sys3.unx (esysdep_open_send): give an error message if we try to
4019         send a directory (used to just fail silently).
4020
4021         * system.h, sysh.unx, sys1.unx (usysdep_detach, ussignal,
4022         fsysdep_catch, usysdep_start_catch), sys2.unx
4023         (fsysdep_modem_end_dial, fsserial_read), uux.c (main): T. William
4024         Wells: fsysdep_catch obviously must be a macro, since it calls
4025         setjmp.  Also TIOCNOTTY sets the process group to 0, so we don't
4026         have to fork before calling it.
4027
4028 Thu Feb 27 00:08:09 1992  Ian Lance Taylor  (ian@airs.com)
4029
4030         * sys1.unx, sys6.unx, sys7.unx: added some extern definitions.
4031
4032         * configure.in, uucp.h, system.h, sysh.unx, uucico.c (main,
4033         ucatch, uabort, zget_typed_line, zget_uucp_cmd), uuxqt.c (main,
4034         uqcatch, uqabort), uux.c (main, uxcatch, uxrecord_file, uxabort),
4035         uucp.c (main, uccatch, ucrecord_file, ucabort), uustat.c (main,
4036         uscatch), uulog.c (main, ulcatch), uuname.c (main, uncatch),
4037         uucheck.c (main, ukcatch), log.c (ulog_fatal_fn, ulog,
4038         ulog_close), tstuu.c (main, uchild, uprepare_test), sys1.unx
4039         (usysdep_initialize, usysdep_detach, usysdep_signal,
4040         fsysdep_catch, usysdep_end_catch, ussignal, fsset_signal,
4041         fsysdep_run, raise), sys2.unx (usalarm, usysdep_pause,
4042         fsserial_lock, fsserial_open, fsysdep_stdin_close,
4043         fsysdep_modem_close, fsysdep_modem_end_dial, fsserial_read,
4044         fsserial_write, fsserial_io), sys5.unx (fsysdep_execute): T.
4045         William Wells: overhaul to support detaching from the terminal and
4046         completely reliable signals.  uucico now calls usysdep_detach at
4047         various points; new option -D prevents detaching.  The signal
4048         handling code all goes through usysdep_signal, fsysdep_catch and
4049         usysdep_end_catch.  A signal now just sets iSignal, which is
4050         checked at various points, notably in the port routines and in the
4051         main loops in uucico and uuxqt.
4052
4053 Tue Feb 25 10:59:23 1992  Ian Lance Taylor  (ian@airs.com)
4054
4055         * protg.c (fgwait_for_packet): Bob Denny: reset the count of
4056         timeouts only when data is recognized, so that we aren't fooled by
4057         a sequence of imperfect echoes.
4058
4059         * sys5.unx (zsysdep_get_xqt): Bob Denny: don't warn if opendir
4060         gets ENOENT.  I think POSIX requires ENOTDIR, but what can you do?
4061
4062 Mon Feb 24 14:37:10 1992  Ian Lance Taylor  (ian@airs.com)
4063
4064         * uucico.c (main, uusage): don't treat an extra argument as a port
4065         name.
4066
4067         * sys3.unx (esysdep_truncate): Roberto Biancardi: support F_CHSIZE
4068         and F_FREESP in esysdep_truncate.
4069
4070         * configure.in, sys2.unx (fsserial_read, usysdep_pause): Roberto
4071         Biancardi: use poll to sleep less than a second if we haven't got
4072         anything else.
4073
4074         * v2.c (uv2_read_systems, fv2_find_port), bnu.c
4075         (ubnu_read_systems, fbnu_find_port, fbnu_read_dialer_info),
4076         uustat.c (fsworkfile_show): Roberto Biancardi: skip spaces and
4077         tabs after doing a strtok ((char *) NULL, "").
4078
4079         * copy.c (fcopy_file), sys1.unx (esysdep_fopen), sys2.unx,
4080         sys3.unx (esysdep_open_receive, esysdep_truncate, fsdo_lock,
4081         fscmd_seq), sys5.unx (fsysdep_execute), sys7.unx, tstuu.c: John
4082         Theus: some systems use <sys/file.h> instead of <fcntl.h>.  Also
4083         changed the code to call creat instead of open when appropriate.
4084         Should now work on V7, with the exception of O_NONBLOCK and
4085         O_NDELAY in sys2.unx and tstuu.c.
4086
4087         * uucp.h: John Theus: if we don't have vprintf, ulog is defined
4088         without an ellipsis, so don't declare it with one.
4089
4090 Sun Feb 23 14:45:53 1992  Ian Lance Taylor  (ian@airs.com)
4091
4092         * uucp.h, system.h, bnu.c (ubnu_read_systems), config.c
4093         (fin_directory_list), sys1.unx (fsysdep_in_directory), sys5.unx
4094         (fsysdep_xqt_check_file), uucp.c (main), uuxqt.c (uqdo_xqt_file),
4095         uucico.c (fdo_xcmd, fok_to_send, fok_to_receive), tstuu.c
4096         (uprepare_test): only permit files to be received into directories
4097         that are world writeable.  Check for this in fsysdep_in_directory,
4098         with a new argument.  Changed calls appropriately.  In tstuu
4099         create /usr/tmp/tstuu as world writeable.
4100
4101         * bnu.c (ubadd_perm_alternate): Doug Evans: after all that, I got
4102         it wrong: WRITE only applies to remote requests.
4103
4104         * uucp.h, uucico.c (fuucp, fdo_xcmd, fok_to_send, fok_to_receive),
4105         uuxqt.c (uqdo_xqt_file), uuchk.c (ukshow), sysinf.c
4106         (uset_system_defaults, tialternate), sys5.unx
4107         (fsysdep_xqt_check_file), bnu.c (ubadd_perm_alternate): fixed READ
4108         and WRITE handling to match BNU semantics.  Added
4109         zcalled_local_send, zcalled_local_receive, zcalled_remote_send and
4110         zcalled_remote_receive fields to ssysteminfo structure for this,
4111         and handled them in all the appropriate places.
4112
4113 Sat Feb 22 22:30:59 1992  Ian Lance Taylor  (ian@airs.com)
4114
4115         * Complete overhaul of configuration to use automatic shell
4116         script.  Eliminated conf.h, now generated by configure.  Renamed
4117         Makefile to Makefile.in.  Added policy.h for administrative
4118         decisions and other choices which can not be made automatically.
4119         Many changes to many source files, none having to do with code.
4120
4121 Thu Feb 20 17:57:55 1992  Ian Lance Taylor  (ian@airs.com)
4122
4123         * uucico.c (fdo_call): Chip Salzenberg: some systems truncate the
4124         Shere= machine name to 7 characters.
4125
4126 Wed Feb 19 14:36:31 1992  Ian Lance Taylor  (ian@airs.com)
4127
4128         * sys7.unx (fskill_or_rejuv): make sure that only the submitter or
4129         the superuser is permitted to cancel (or rejuvenate) a request.
4130
4131         * system.h, sysh.unx, sys3.unx (zsfile_to_jobid, zsjobid_to_file),
4132         sys4.unx (zsysdep_jobid), sys7.unx, uustat.c, Makefile, MANIFEST:
4133         wrote uustat.  Changed CSEQLEN in sys3.unx from 5 to 4.  Added
4134         several new system dependent functions, mostly in sys7.unx.
4135
4136         * system.h, sys1.unx, log.c, file.c, chat.c, protg.c, uucico.c:
4137         rearranged the time functions for the convenience of uustat.  Made
4138         isysdep_time take an optional pimicros arguments.  Renamed
4139         usysdep_full_time to isysdep_process_time, and made clear that it
4140         need only work within a single process.  Changed usysdep_localtime
4141         to take a time returned by isysdep_time rather than always use the
4142         current time.  Changed the calls as appropriate.
4143
4144 Tue Feb 18 14:03:19 1992  Ian Lance Taylor  (ian@airs.com)
4145
4146         * uuxqt.c (main): pass fdaemon argument correctly to
4147         usysdep_initialize.
4148
4149 Mon Feb 17 17:09:16 1992  Ian Lance Taylor  (ian@airs.com)
4150
4151         * uuxqt.c (uqdo_xqt_file): T. William Wells: make sure sh uses
4152         absolute path of command, rather than relying on PATH.
4153
4154         * sys5.unx (zsysdep_find_command): Michael Nolan: allow full
4155         command name to be specified by remote system, not just basename,
4156         if command is not in path.
4157
4158         * log.c (ulog): don't use headers when outputting to terminal.
4159
4160         * sys2.unx (fsrun_chat): Bob Denny: log chat program messages as
4161         LOG_NORMAL, not LOG_ERROR.
4162
4163 Fri Feb 14 00:17:57 1992  Ian Lance Taylor  (ian@airs.com)
4164
4165         * uucico.c (ucatch), uuxqt.c (uqcatch): Neils Baggesen: under
4166         HAVE_BNU_LOGGING, don't lose the system name when dieing.
4167
4168         * uulog.c, Makefile, MANIFEST: wrote uulog.
4169
4170         * uuname.c, Makefile, MANIFEST: wrote uuname.
4171
4172         * bnu.c (ubadd_perm_alternate): T. William Wells: must xstrdup the
4173         system name before calling uadd_validate.
4174
4175         * log.c (ulog_close): Micheal Nolan: don't refer to eLdebug if the
4176         DEBUG configuration parameter is 0.
4177
4178         * uucp.c (main): Niels Baggesen: abtname must be copied into
4179         memory, or it will be overwritten by the next file to be copied.
4180
4181 Sun Feb  9 00:12:58 1992  Ian Lance Taylor  (ian@airs.com)
4182
4183         * uucico.c (fuucp), prot.c (fsend_file, freceive_file): Bob Denny:
4184         call fmail_transfer before calling fsysdep_did_work, because the
4185         latter frees up strings used by the former.
4186
4187         * sysh.unx, sys1.unx (mkdir), uudir.c (new file), Makefile: added
4188         HAVE_MKDIR configuration parameter for systems without the mkdir
4189         system call.  The emulation function in sys1.unx invokes the new
4190         suid program uudir which sets its uid to uucp and invokes
4191         /bin/mkdir.  Added rules to create uudir to Makefile.
4192
4193 Sat Feb  8 14:25:50 1992  Ian Lance Taylor  (ian@airs.com)
4194
4195         * sysh.unx, sys1.unx (opendir, readdir, closedir), sys4.unx,
4196         sys5.unx: added HAVE_OLD_DIRECTORIES configuration parameter to
4197         support systems without opendir/readdir/closedir which use
4198         original Unix directory format.
4199
4200         * sysh.unx, sys1.unx (dup2): added HAVE_DUP2 configuration
4201         parameter and dup2 emulation function.
4202
4203         * sys1.unx (zsysdep_local_name): put utsname structure on stack
4204         rather than making it static.
4205
4206         * sysh.unx, sys1.unx (usysdep_initialize, getcwd): if we have
4207         neither getcwd nor getwd, fork /bin/pwd to get the current working
4208         directory.
4209
4210         * system.h, uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c
4211         (main), uuchk.c (main), sys1.unx (usysdep_initialize), sys6.unx
4212         (fsysdep_needs_cwd, zsysdep_add_cwd): because getting the current
4213         working directory can be expensive on Unix, since some
4214         implementation of getcwd fork a shell to execute pwd, only try to
4215         get the cwd if it is going to be needed by uux or uucp.
4216
4217         * uucico.c (main), uuxqt.c (main), uux.c (main), uucp.c (main),
4218         uuchk.c (main), log.c (ulog): handle all possible signals raised
4219         by abort, namely SIGABRT, SIGILL and SIGIOT.  In ulog always call
4220         abort rather than raise (SIGABRT).
4221
4222         * sys4.unx (usysdep_get_work_free): the qSwork_file information
4223         was freed up incorrectly if a file transfer failed.
4224
4225         * sysh.unx, sys2.unx: Archaic Zilog System III computers use
4226         setret and longret rather than setjmp and longjmp, so I added a
4227         HAVE_SETRET configuration option.
4228
4229         * prott.c (ftstart, ftsenddata): shifts of integers by more than
4230         15 are not portable.
4231
4232         * prot.c (fsend_file, freceive_file, fploop, fgot_data): I ran
4233         into an old compiler which couldn't handle the calls to pffile, so
4234         I simplified them to use a variable.
4235
4236         * port.c (fmodem_dial): cast result of alloca.
4237
4238         * getopt.h, getopt.c: Jay Vassos-Libove: renamed getopt and
4239         related variables by macro defining them to gnu_*.  This avoids
4240         conflicts with system header files and system libraries.
4241
4242 Fri Feb  7 12:08:42 1992  Ian Lance Taylor  (ian@airs.com)
4243
4244         * everything: added HAVE_STRING_H and HAVE_STRINGS_H.  Removed
4245         include of <string.h> in every source file and put it in uucp.h.
4246         Since I had to change everything anyhow, added 1992 to the
4247         copyright date.
4248
4249         * uucico.c (fcall): Bob Denny: retry time not reached is not
4250         really an error, so just make a normal log entry for it.
4251
4252 Sun Feb  2 01:38:47 1992  Ian Lance Taylor  (ian@airs.com)
4253
4254         * uucp.c (main): Get the file name for the destination of a local
4255         copy using zsysdep_real_file_name rather than zsysdep_in_dir,
4256         since the latter doesn't get the basename of the argument.
4257
4258         * sys3.unx (fsysdep_get_status): Niels Baggesen: cast enum to int
4259         before comparison.
4260
4261         * system.h, uucp.c (main), uux.c (main), sys6.unx (fsysdep_access,
4262         fsysdep_daemon_access): Niels Baggesen: check user access to file
4263         since programs are running setuid.  Previously uucp and uux
4264         permitted a file readable only by uucp to be transferred to
4265         another system by user request!
4266
4267         * chat.c (fchat): Michael Nolan: portions of a chat string might
4268         be separated by more than just a single space if they are read
4269         from a V2 or BNU configuration file.
4270
4271 Fri Jan 31 19:51:57 1992  Ian Lance Taylor  (ian@airs.com)
4272
4273         * protg.c: Chip Salzenberg: change default window size to 7.
4274
4275         * sys3.unx (fsdo_unlock): Michael Nolan: cast result of alloca to
4276         (char *), not that it really matters.
4277
4278         * log.c (ulog): Michael Nolan: if SIGABRT is not defined, just
4279         call abort.
4280
4281 Thu Jan 30 18:19:33 1992  Ian Lance Taylor  (ian@airs.com)
4282
4283         * bnu.c (ubadd_perm): Michael Nolan: debugging check was done
4284         wrong for entry with LOGNAME but no MACHINE.
4285
4286 Wed Jan 29 13:28:59 1992  Ian Lance Taylor  (ian@airs.com)
4287
4288         * uucico.c (zget_uucp_cmd): Patrick Smith: only wait a short time
4289         for the hangup string.
4290
4291         * sys4.unx (iswork_cmp): Patrick Smith: fixed casts to not cast
4292         away const.
4293
4294 Tue Jan 28 11:06:34 1992  Ian Lance Taylor  (ian@airs.com)
4295
4296         * sys1.unx, sys3.unx, tstuu.c: Jay Vassos-Libove: removed some
4297         declarations of system functions that conflict with system header
4298         files on BSD/386 alpha.
4299
4300         * Makefile: Jeff Ross: make sure the uninstall target restores the
4301         original file owner and mode.
4302
4303         * protg.c (fgsendcmd): the previous patch wasn't really correct.
4304
4305 Mon Jan 27 22:30:47 1992  Ian Lance Taylor  (ian@airs.com)
4306
4307         * log.c (ustats): Marty Shannon: don't report a failed transfer
4308         under USE_BNU_LOGGING.
4309
4310         * sys3.unx (zsysdep_real_file_name): Marty Shannon: a trailing '/'
4311         on the name means that it is a directory, even if the directory
4312         does not already exist.
4313
4314         * uucico.c (fuucp): Marty Shannon: the -f flag indicating that
4315         directories should not be created was not being handled correctly.
4316
4317         * uucico.c (fcall): Chip Salzenberg: set .Status correctly if
4318         wrong time to call.
4319
4320         * protg.c (fgsendcmd): John Antypas: didn't handle null byte at
4321         end of command which was exactly a power of two in length
4322         correctly.
4323
4324 Tue Jan 21 14:37:10 1992  Ian Lance Taylor  (ian@airs.com)
4325
4326         * Released version 1.02.
4327
4328         * system.h, uucico.c (main), uux.c (main), uucp.c (main,
4329         zcone_system), sys1.unx (fsysdep_run): Chip Salzenberg: have uucp
4330         and uux start up uucico -s system rather than uucico -r1.
4331
4332 Mon Jan 20 11:45:38 1992  Ian Lance Taylor  (ian@airs.com)
4333
4334         * sys1.unx (fsysdep_make_dirs): don't try to create a directory
4335         with no name.
4336
4337         * version.c: change version number to 1.02.
4338
4339         * uucico.8, uuxqt.8, uucp.1, uux.1: change version number to 1.02.
4340
4341         * MANIFEST: removed texinfo.tex; it's twice the size of any other
4342         file, so I think it's just to large to distribute.
4343
4344         * uucico.c (fcall, fdo_call): Marty Shannon: update the time in
4345         the .Status file if it's the wrong time to call, and upon
4346         receiving a call.
4347
4348 Sun Jan 19 13:29:23 1992  Ian Lance Taylor  (ian@airs.com)
4349
4350         * protg.c (fgsendcmd, fgsenddata): Dave Platt: if the remote UUCP
4351         accepts packets larger than 64 bytes, assume it can handle
4352         differing packet sizes, so if we have a small amount of data to
4353         send, use a small packet.  Besides the two routines mentioned,
4354         also made minor changes to other routines to get the packet length
4355         out of the packet data rather than always assuming the same packet
4356         size.
4357
4358         * conf.h, uucp.h: Matthew Lyle: some systems don't declare errno
4359         in <errno.h>, so I added HAVE_ERRNO_DECLARATION.
4360
4361         * conf.h, uucp.h, util.c (bsearch): added HAVE_BSEARCH
4362         configuration parameter.
4363
4364 Sat Jan 18 17:45:28 1992  Ian Lance Taylor  (ian@airs.com)
4365
4366         * tstuu.c (utransfer): Mike Park: don't sleep when the input
4367         buffer is full; it's too slow.
4368
4369         * Makefile: when making a distribution,change the mode of separate
4370         copies of the configuration files Makefile, conf.h and sysh.unx.
4371
4372         * uucico.c (faccept_call): Marty Shannon: update .Status file on
4373         incoming calls.
4374
4375         * uucp.h, prot.h, uucico.c (fuucp), prot.c (fsend_file,
4376         fpsendfile_confirm, freceive_file, fprecfile_confirm, fxcmd,
4377         ustats_failed), file.c (fsent_file, usendfile_error,
4378         freceived_file, urecfile_error, frecfile_rewind, fmail_transfer):
4379         reworked calls to fsydep_did_work and sending of mail messages to
4380         be more sensible.  Now sends mail to requestor if request fails
4381         permanently and does not remove file if request fails only
4382         temporarily.
4383
4384 Thu Jan 16 11:33:08 1992  Ian Lance Taylor  (ian@airs.com)
4385
4386         * protg.c (fgsendcmd, fgsenddata): zero out unused bytes in short
4387         packets.
4388
4389         * prot.c (zgetcmd), protf.c (ffsendcmd), prott.c (ftsendcmd),
4390         prote.c (fesendcmd): Niels Baggesen: added some debugging
4391         messages.
4392
4393         * protg.c (fgsendcmd): corrected misspelling in debugging message.
4394
4395         * log.c (ustats): Niels Baggesen: add FAILED to end of xferstats
4396         line if appropriate.
4397
4398         * uuxqt.c (uqdo_xqt_file): Niels Baggesen: was checking strcmp
4399         return value incorrectly, so messages to other systems were not
4400         being sent.
4401
4402         * sys2.unx, tstuu.c: Mike Park: ioctl is sometimes declared
4403         varadic, so we can't declare it.
4404
4405 Wed Jan 15 02:03:43 1992  Ian Lance Taylor  (ian@airs.com)
4406
4407         * sys1.unx: put \n at end of fsysdep_run error message.
4408
4409         * sysh.unx, sys1.unx, sys2.unx, tstuu.c: Mike Park: on some
4410         systems <sys/time.h> includes <time.h> but <time.h> can only be
4411         included once; added HAVE_SYS_TIME_AND_TIME_H to sysh.unx.
4412
4413         * tstuu.c: Mike Park: removed prototype for times since some
4414         systems don't have clock_t.
4415
4416         * conf.h, sys2.unx, util.c: Mike Park: some systems don't have
4417         <limits.h>.  Every macro used from it already had a check to make
4418         sure it was defined anyhow.
4419
4420         * tstuu.c (uprepare_test): Mike Park: sh on NeXT interprets a
4421         leading ~, so we have to quote the argument to system(3).
4422         Incredible.
4423
4424         * conf.h, uucp.h: Mike Park: if HAVE_ALLOCA is 0 when compiling
4425         with gcc, don't define alloca as a macro.  This will let the NeXT
4426         define it in some header file.
4427
4428         * sysh.unx, sys2.unx, sys5.unx, tstuu.c: Mike Park: handle
4429         HAVE_UNION_WAIT completely.  Assume that system(3) returns an int
4430         which should be put into the w_status field.  Define macros for
4431         union wait if they are not already defined.  Move all this stuff
4432         into sysh.unx rather than duplicating it in three different files.
4433
4434         * conf.h, uucp.h, sysh.unx, config.c, bnu.c, v2.c, uucico.c,
4435         uuxqt.c, uux.c, uucp.c, uuchk.c, Makefile: set directory to look
4436         for configuration files in in Makefile rather than in sysh.unx.
4437         This forced a number of changes, as now all new style
4438         configuration files are looked up using NEWCONFIGLIB.  Old style
4439         configuration files are looked up using OLDCONFIGLIB.
4440
4441 Mon Jan 13 00:35:43 1992  Ian Lance Taylor  (ian@airs.com)
4442
4443         * sys3.unx: David Nugent: don't declare chmod, since it may be
4444         prototyped to take an argument that is smaller than an int.
4445
4446         * uucico.c (faccept_call): Chip Salzenberg: only declare sportinfo
4447         if it will be used (if HAVE_TAYLOR_CONFIG is true).
4448
4449         * sys3.unx (isysdep_get_sequence): Chip Salzenberg: avoid use
4450         before set warning from gcc.
4451
4452         * protf.c (ffprocess_data): Chip Salzenberg: avoid use before set
4453         warning from gcc.
4454
4455         * sysh.unx, sys2.unx (fsserial_read, usysdep_pause): Chip
4456         Salzenberg: added HAVE_USLEEP configuration parameter for the AIX
4457         usleep routine.
4458
4459         * uuchk.c, prtinf.c, config.c: Chip Salzenberg: strcmp is a macro
4460         on AIX, so avoid declaring it and undef it in config.c where we
4461         want to declare it because we want to take its address.
4462
4463         * uucp.h, sys3.unx (fsysdep_get_status, fsysdep_set_status): Chip
4464         Salzenberg: handle out of range status codes in status files.
4465
4466         * Makefile, sysh.unx: defined LIBDIR in the Makefile, rather than
4467         forcing the user to define it in two different places.
4468
4469         * sys.unx, tstuu.c: Chip Salzenberg: can't declare execl, since it
4470         is varadic.
4471
4472         * sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: David Nugent:
4473         can't declare open or fcntl, since they may use ... in header file
4474         prototype; added declaration for popen; added casts of first mkdir
4475         argument to char *.
4476
4477         * sysh.unx, tstuu.c (uchild): Mike Park: added HAVE_WAITPID and
4478         HAVE_WAIT4 configuration parameters to allow the use of wait4 as
4479         found on the NeXT.
4480
4481         * tstuu.c (uprepare_test): Mike Park: use IPUBLIC_DIRECTORY_MODE
4482         rather than S_IRWXU | S_IRWXG | S_IRWXO.
4483
4484         * sysinf.c (tisystem): Mike Park: ulog was being passed the wrong
4485         number of arguments.
4486
4487 Sun Jan 12 14:32:47 1992  Ian Lance Taylor  (ian@airs.com)
4488
4489         * Eliminated CONFIG, INSTALL and THANKS.  They are now included in
4490         uucp.texi.  Changed README and MANIFEST accordingly.  Added
4491         uucp.info* and texinfo.tex to MANIFEST.
4492
4493         * Makefile, uucp.texi: renamed taylor.texi to uucp.texi.
4494
4495         * uucico.c (fcall, fdo_call): John Antypas: pass in sportinfo
4496         structure for fdo_call to use for an unknown port.
4497
4498         * log.c (ulog): allocate enough bytes to name file if
4499         HAVE_BNU_LOGGING is in use but zLogfile has no %s.
4500
4501 Sat Jan 11 12:11:56 1992  Ian Lance Taylor  (ian@airs.com)
4502
4503         * Makefile: changed to correspond to GNU standards, according to
4504         standards.text of 24 Nov 91.
4505
4506         * Makefile: Franc,ois Pinard: use $(INSTALL_PROGRAM) and
4507         $(INSTALL) rather than cp to install the programs.
4508
4509         * time.c (ftime_now), sys1.unx (usysdep_localtime): John Antypas:
4510         use memcpy to get the result of localtime rather than relying on
4511         structure assignment.
4512
4513         * sysh.unx, prtinf.c: Hannu Strang: changed definition of
4514         SYSDEP_STDIN_CMDS to pass structure instead of address of
4515         structure to avoid bug in AIX compiler which causes it to fail to
4516         recognize an address constant containing the -> operator.
4517
4518 Tue Jan  7 10:22:43 1992  Ian Lance Taylor  (ian@airs.com)
4519
4520         * Released beta 1.02.
4521
4522         * protg.c (fgcheck_errors): discount out of order packets in the
4523         total error count, and allow a negative error count to mean that
4524         any number of errors are accepted.
4525
4526         * sysinf.c (tadd_proto_param): Niels Baggesen: allocate number of
4527         protocol parameters based on *pc, not sIhold.cproto_params.
4528
4529 Sat Jan  4 16:42:21 1992  Ian Lance Taylor  (ian@airs.com)
4530
4531         * log.c (ulog): tweaked HAVE_V2_LOGGING slightly.
4532
4533         * v2.c (uv2_read_systems): set chat script correctly.
4534
4535         * uucp.h, sys3.unx: avoid redefining SEEK_SET if it appears in
4536         <unistd.h> but not <stdio.h>.
4537
4538         * chat.c (fcsend): made fcsend into a static function.
4539
4540         * uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, uuchk.c, version.c:
4541         changed abProgram and abVersion from const char [] to char []
4542         because the Microsoft compiler on SCO can't handle const char []
4543         arrays correctly.
4544
4545         * uux.c (main): allocate enough space for log message.
4546
4547         * sys1.unx (usysdep_localtime): to get the current time, we can't
4548         call usysdep_full_time if the latter uses times.
4549
4550         * sys1.unx, sys3.unx: added a couple more extern definitions for
4551         SCO 3.2.2.
4552
4553         * uucico.c (main): start uuxqt even if a call fails.
4554
4555         * sysh.unx, system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
4556         (fsysdep_xqt_check_file): Chip Salzenberg: added configuration
4557         option ALLOW_FILENAME_ARGUMENTS to permit arguments that look like
4558         filenames, to allow undoing the patch I just made.
4559
4560 Fri Jan  3 00:44:59 1992  Ian Lance Taylor  (ian@airs.com)
4561
4562         * system.h, uuxqt.c (uqdo_xqt_file), sys5.unx
4563         (fsysdep_xqt_check_file): David J. Fiander: make sure that if an
4564         argument looks like a filename we are permitted to access it.
4565
4566         * sys3.unx (fsdo_lock): remove temporary file if link fails in
4567         fsdo_lock.
4568
4569 Thu Jan  2 00:01:53 1992  Ian Lance Taylor  (ian@airs.com)
4570
4571         * protg.c (fgstart, fgshutdown, fgprocess_data): count remote
4572         rejections separately from resent packets when counting errors.
4573
4574 Tue Dec 31 14:31:38 1991  Ian Lance Taylor  (ian@airs.com)
4575
4576         * protg.c (fgstart): Franc,ois Pinard: forgot to initialize
4577         cGdelayed_packets.
4578
4579         * prot.h, uucico.c, prote.c: added the 'e' protocol, creating the
4580         new file prote.c
4581
4582         * prot.c (freceive_data), protf.c (fffile), prott.c (ftfile):
4583         changed pffile protocol entry point to pass number of bytes being
4584         sent; fixed bug in freceive_data which caused to ask for the wrong
4585         number of bytes when the buffer was empty.
4586
4587 Mon Dec 30 23:16:48 1991  Ian Lance Taylor  (ian@airs.com)
4588
4589         * sys2.unx (fsserial_open): Chip Salzenberg: don't turn on IXON
4590         and IXOFF initially; after all, the initialization packets might
4591         contain an XOFF character.
4592
4593 Sun Dec 29 00:00:42 1991  Ian Lance Taylor  (ian@airs.com)
4594
4595         * uucp.h, prot.c (fploop): John Theus: check for EOF before
4596         reading from file to work around bug in Tektronix library.
4597
4598         * protg.c (fprocess_data): don't send RR packets when an error
4599         occurs; the other side will probably ignore them, and it may
4600         confuse some Telebit modems.
4601
4602         * sys1.unx (usysdep_localtime): don't take the address of a cast
4603         value.
4604
4605         * log.c (zldate_and_time): wasn't allocating enough buffer space.
4606
4607 Sat Dec 28 01:09:58 1991  Ian Lance Taylor  (ian@airs.com)
4608
4609         * uuxqt.c (uqdo_xqt_file): forgot to initialize zmail.
4610
4611         * uucp.h, time.c, copy.c, sys1.unx, sys2.unx, sys3.unx, sys4.unx,
4612         sys5.unx, config.c, log.c, uuxqt.c, uux.c, tstuu.c: added a bunch
4613         of externs to decrease the number of implicit function
4614         definitions.
4615
4616         * system.h, sys1.unx (usysdep_localtime), log.c (zldate_and_time):
4617         Lele Gaifax: put the full year in the log file, using the format
4618         YYYY-MM-DD HH:MM:SS.HH (ending in hundredths of seconds).
4619
4620         * config.c (uprocesscmds): Terry Gardner: allow a # to be quoted
4621         in a configuration file.  Also made uprocesscmds reentrant.
4622
4623         * sysh.unx, sys2.unx (fsrun_chat), sys5.unx (fsysdep_execute),
4624         tstuu.c (uchild): Monty Solomon: added HAVE_UNION_WAIT
4625         configuration option to pass a variable of type union wait to the
4626         wait and waitpid system calls.
4627
4628         * sysh.unx, sys1.unx (usysdep_initialize): John Theus: added
4629         HAVE_GETWD to use getwd instead of getcwd.
4630
4631         * sysh.unx, sys1.unx (usysdep_full_time): added HAVE_FTIME
4632         configuration option.
4633
4634         * tstuu.c (uchild): use TIMES_TICK from sysh.unx rather than
4635         CLK_TCK.
4636
4637         * conf.h, uucp.h, util.c, getopt.c, tstuu.c: added HAVE_STRCHR and
4638         HAVE_INDEX to conf.h.
4639
4640 Fri Dec 27 01:00:41 1991  Ian Lance Taylor  (ian@airs.com)
4641
4642         * uucico.c (fuucp): set fmasterdone correctly when running as a
4643         slave.
4644
4645         * port.c (cpshow, upshow, fport_read, fport_write, fport_io):
4646         cleaned up debugging code by isolating out upshow and by making
4647         cpshow handle backslash.
4648
4649         * tstuu.c (uprepare_test): create spool directories by hand, to
4650         make sure test 6 can be done and to test creating needed
4651         directories.
4652
4653         * conf.h, uucp.h, bnu.c, v2.c, chat.c, protg.c, prott.c, sysinf.c,
4654         tcp.c, getopt.c, tstuu.c, util.c: added HAVE_MEMFNS and HAVE_BFNS
4655         to conf.h.  Changed memset calls to use bzero.
4656
4657         * protg.c (fgcheck_errors, fgprocess_data): added protocol
4658         parameter ``errors'' to set maximum number of errors permitted.
4659         Also made fgprocess_data only reply once per batch of data.
4660
4661 Thu Dec 26 17:54:54 1991  Ian Lance Taylor  (ian@airs.com)
4662
4663         * tcp.c (ftcp_dial, itcp_port_number): Monty Solomon: cast
4664         arguments to avoid prototype errors on NeXT.
4665
4666 Mon Dec 23 00:16:19 1991  Ian Lance Taylor  (ian@airs.com)
4667
4668         * uucp.h, sysinf.c, uucico.c (main, flogin_prompt, faccept_call),
4669         uuchk.c (main): David Nugent: allow debugging level to be set for
4670         a specific system.
4671
4672 Sun Dec 22 15:51:10 1991  Ian Lance Taylor  (ian@airs.com)
4673
4674         * conf.h, uucp.c, sysh.unx, tcp.c, sys1.unx, sys2.unx, sys3.unx,
4675         sys5.unx, sys6.unx, tstuu.c: Monty Solomon: added HAVE_UNISTD_H to
4676         conf.h for systems which don't have <unistd.h>.  Also added
4677         externs for all functions from <unistd.h>, which required adding
4678         definitions for pid_t, uid_t and off_t to sysh.unx.
4679
4680         * config.c, prtinf.c, time.c, uuchk.c: added externs for
4681         strcasecmp or strncasecmp, to avoid implicit function definitions
4682         now that I took the prototypes out of uucp.h.
4683
4684         * sys3.unx (fsysdep_get_status): Franc,ois Pinard: the code added
4685         to avoid scanf had a stupid bug.
4686
4687         * uucp.h: Monty Solomon: removed prototypes for strcasecmp and
4688         strncasecmp from uucp.h, since they may be in string.h.
4689
4690 Sat Dec 21 16:04:58 1991  Ian Lance Taylor  (ian@airs.com)
4691
4692         * uucp.h, uucico.c (ucatch), prot.c (fpsendfile_confirm,
4693         fprecfile_confirm, ustats_failed), file.c (fsent_file,
4694         freceived_file), log.c (ustats): Terry Gardner: record failed file
4695         transfers in the statistics file.
4696
4697         * uucico.c: change protocol ordering to 't', 'g', 'f'.
4698
4699         * uucico.c (faccept_call), tstuu.c (uprepare_test): John Theus:
4700         don't warn if the port file doesn't exist when the slave mode
4701         uucico looks up the port.
4702
4703         * sys1.unx, sys5.unx: moved fsysdep_file_exists from sys5.unx to
4704         sys1.unx so that uucico can call it.
4705
4706         * uux.c: Fran,cois Pinard: remove parentheses from ZSHELLSEPS so
4707         that they may be used to quote arguments as documented.  This
4708         means that may not be used to start subshell, but that is no great
4709         loss.
4710
4711         * uux.c (main): use ulog to report illegal grade error message.
4712
4713         * sys1.unx (fsysdep_run): use the real program name from abProgram
4714         in the error messages in fsysdep_run.
4715
4716 Thu Dec 19 19:02:28 1991  Ian Lance Taylor  (ian@airs.com)
4717
4718         * uucico.c (fdo_call, faccept_call): Terry Gardner: put the length
4719         of the conversation in the ``Call complete'' log file message.
4720
4721         * uux.c: added space and tab to ZSHELLSEPS, because otherwise the
4722         command was parsed to include whitespace.
4723
4724         * protg.c, protf.c: Oleg Tabarovsky: added statistical logging
4725         messages to the 'g' and 'f' protocols.  These go to the main log
4726         file right now, but I'm not sure if that's appropriate.
4727
4728         * sys2.unx (fsserial_set): don't change terminal settings if we
4729         don't have to.
4730
4731         * port.c (fport_io): add complete diagnostics for fport_io so we
4732         can see every byte that goes in or out.
4733
4734         * uucico.c (fuucp): don't give user name in errors produced by
4735         getting the next command.
4736
4737         * uuxqt.c (main): don't process execute files for unknown systems.
4738         This is not unreasonable, I hope, and it avoids errors caused by
4739         an uninitialized sUnknown structure.
4740
4741         * sys4.unx (fsysdep_get_work_init): sort the previously found
4742         files all together so we can correctly check new files using
4743         bsearch.
4744
4745         * protf.c (pfprocess, pfprocess_data, pfwait): Franc,ois Pinard:
4746         don't kill 'f' protocol because of an illegal byte.  Also slightly
4747         optimized the protocol to wait for up to seven characters at a
4748         time rather than just one.
4749
4750 Wed Dec 18 00:12:42 1991  Ian Lance Taylor  (ian@airs.com)
4751
4752         * sysh.unx, sys2.unx, tstuu.c: Terry Gardner: added
4753         USE_FOR_UNBLOCKED configuration parameter to support systems that
4754         don't permit O_NONBLOCK and O_NDELAY to both be set.
4755
4756         * tstuu.c (uchild): give the uucico processes a chance to die on
4757         their own rather than killing them immediately.
4758
4759         * uuxqt.c (main, uqdo_xqt_file): David Nugent: keep rescanning the
4760         list of execute files until nothing can be done.  Also, don't
4761         remove the execute file if we get some sort of internal error.
4762
4763         * sys4.unx (fsysdep_get_work, usysdep_get_work_free): David
4764         Nugent: after we've processed all the work files we found
4765         initially, rescan the work directory to pick up any that may have
4766         come in in the meantime.  Also, reset iSwork_file to 0 in
4767         usysdep_get_work_free so that we can handle more than one system.
4768
4769         * tstuu.c, uucico.c (main, fwait_for_calls, flogin_prompt): added
4770         -l option to uucico to prompt for the login name and password once
4771         and then exit.
4772
4773 Tue Dec 17 00:24:41 1991  Ian Lance Taylor  (ian@airs.com)
4774
4775         * uucp.h, uucico.c, uuxqt.c, uux.c, uucp.c, config.c
4776         (uread_config), log.c (ulog): eliminated ulog_program and added
4777         abProgram and ulog_to_file.  Made log messages output to stderr
4778         more Unix like.
4779
4780         * log.c (ulog): use a fixed number of fields in a log file message
4781         by replacing a missing system or user with '-'.
4782
4783         * port.h, chat.c (renamed fchat_send to fcsend), bnu.c
4784         (fbnu_read_dialer_info), prtinf.c (tpcomplete), sys2.unx
4785         (fsysdep_modem_close), uuchk.c (ukshow_dialer): T. William Wells:
4786         change the modem complete and abort strings into chat scripts.
4787
4788         * sys2.unx (fsserial_open): on BSD start in RAW mode to avoid
4789         dropping characters when we switch over.  I originally thought
4790         being able to use XON/XOFF was worth the risk; I no longer think
4791         so.
4792
4793         * tstuu.c (uprepare_test): have shell script sleep before printing
4794         the login name to make sure the second system has finished
4795         flushing its input buffer.
4796
4797         * protg.c (fginit_sendbuffers), prott.c (ftsendcmd): David Nugent:
4798         avoid sending confidential information by zeroing out memory
4799         buffers before using them.
4800
4801         * sysinf.c (tirequest, titransfer), prtinf.c (tpseven_bit,
4802         tpreliable, tpdtr_toggle): Marc Unangst: several functions did not
4803         accept true and false as boolean strings, contradicting the
4804         documentation.
4805
4806         * uucp.h, system.h, sysh.unx, sys1.unx (usysdep_full_time), file.c
4807         (fstore_sendfile, fsent_file, fstore_recfile, freceived_file),
4808         log.c (ustats): generate statistics in microseconds instead of
4809         seconds for more accurate time keeping.
4810
4811         * sys2.unx (fsserial_open): David Nugent: flush pending input
4812         when a serial port is opened.  This will clear out a
4813         NO\sCARRIER string left by a previous dropped connection.
4814
4815 Mon Dec 16 11:26:17 1991  Ian Lance Taylor  (ian@airs.com)
4816
4817         * uucico.c (main), uuxqt.c (main), tstuu.c (main, uchild): David
4818         Nugent: ignore SIGHUP in uucico and uuxqt, so that they are
4819         unaffected by the parent shell closing down and by the remote
4820         terminal dropping the connection.
4821
4822         * bnu.c (ubnu_read_sysfiles, ubnu_read_systems, fbnu_find_port,
4823         fbnu_read_dialer_info): Mike Bernson: ignore lines that begin with
4824         whitespace, fix compilation error.      
4825
4826 Sat Dec 14 20:59:10 1991  Ian Lance Taylor  (ian@airs.com)
4827
4828         * sys2.unx (fsserial_open): don't turn on ISTRIP initially.
4829
4830         * uucp.h, sysinf.c, chat.c (icexpect), uuchk.c (ukshow_chat):
4831         added chat-seven-bit command to allow control over whether
4832         parity bits are stripped out of chat scripts.
4833
4834         * uucp.h, port.h, chat.c (fchat, fcprogram),
4835         config.c (tprocess_one_cmd), prtinf.c,
4836         sysinf.c (tichat, tprocess_chat_cmd),
4837         bnu.c (fbnu_read_dialer_info), port.c (fpdo_dial),
4838         uucico.c (fdo_call, faccept_call) uuchk.c (ukshow_chat):
4839         changed processing of chat commands to go through
4840         tprocess_chat_cmd, avoiding repetition.  All chat script
4841         information is now held in an schat_info structure.
4842         Eliminated the fchat_program function, renaming it fcprogram
4843         and making it static to chat.c (it is now called via fchat).
4844         Added CMDTABTYPE_PREFIX.  Added INIT_CHAT macro to initialize
4845         chat script information.  Added TTYPE_CMDTABTYPE and
4846         CARGS_CMDTABTYPE to eliminate hex constants in
4847         tprocess_one_cmd.
4848
4849         * sys5.unx (zsysdep_get_xqt): Oleg Tabarovsky: don't stop
4850         processing files just because opendir failed on one; it could just
4851         be because we don't have read permission.
4852
4853 Fri Dec 13 17:43:52 1991  Ian Lance Taylor  (ian@airs.com)
4854
4855         * config.c (uprocesscmds): don't continually allocate and free the
4856         array of arguments.
4857
4858 Thu Dec 12 12:46:01 1991  Ian Lance Taylor  (ian@airs.com)
4859
4860         * prot.c (fgetcmd): Franc,ois Pinard: don't bother to give an
4861         error if the final HY doesn't come in; apparently the MtXinu UUCP
4862         doesn't send it.
4863
4864         * chat.c (icexpect, fchat_send): Franc,ois Pinard: add some chat
4865         script debugging messages.
4866
4867         * log.c (ulog): David Nugent: move ERROR: from the start of the
4868         line to after the date and time; this makes it easier to use awk
4869         on log files.
4870
4871         * sys3.unx (fsdo_lock), sys1.unx (usysdep_initialize): do locking
4872         using link rather than O_CREAT | O_EXCL to avoid race conditions
4873         and to safely run as the superuser.
4874
4875         * sys3.unx (fsysdep_move_file): fcopyfile now creates the
4876         destination file with IPRIVATE_MODE, so we don't need to chmod to
4877         it.
4878
4879         * sys1.unx (usysdep_initialize, fsysdep_other_config): set the
4880         GID as well as the UID, in case anybody wants to run this as a
4881         setgid package.
4882
4883 Wed Dec 11 10:03:22 1991  Ian Lance Taylor  (ian@airs.com)
4884
4885         * conf.h, uucp.h, util.c (strtol): Mark Powell: added my own
4886         version of strtol to util.c, for systems which lack it.
4887
4888         * protg.c (fgstart, fgexchange_init): if we start resending
4889         packets during initialization, don't forget which packets we have
4890         already seen; otherwise the other side may assume we've already
4891         seen them while we're looking for them.
4892
4893 Tue Dec 10 15:42:41 1991  Ian Lance Taylor  (ian@airs.com)
4894
4895         * conf.h, sysh.unx, log.c (ulog, ustats), tstuu.c (uprepare_test):
4896         Arne Ludwig: merged in Arne Ludwig's patches to support V2 and BNU
4897         style logging, with some minor additions and changes.
4898
4899         * sys1.unx, sys3.unx, sys5.unx, uux.c, uucp.c, uucico.c, copy.c,
4900         uucp.h, system.h: create directories when necessary rather than
4901         assuming that they exist.  Added fmkdirs argument to esysdep_fopen
4902         and fcopy_file, changing all calls.  Added fpublic argument to
4903         fsysdep_make_dirs, changing all calls.  Moved fsysdep_make_dirs
4904         and fsdirectory_exists from sys3.unx to sys1.unx.  Added checks
4905         for ENOENT in several places in sys3.unx and sys5.unx.
4906
4907         * log.c, port.c (fport_open), sys2.unx (fsserial_open): added
4908         ulog_device routine to record device name.  This is currently only
4909         used for the BNU statistics file, but more uses might arise later.
4910
4911         * file.c, log.c, uucp.h: moved statistics file routines from
4912         file.c to log.c in preparation for supporting BNU log file
4913         routines.
4914
4915 Mon Dec  9 12:00:52 1991  Ian Lance Taylor  (ian@airs.com)
4916
4917         * bnu.c (ubnu_read_systems): Arne Ludwig: the device entry for a
4918         system can be followed by a comma and a list of protocols.
4919
4920         * sysh.unx, sys3.unx (fsdo_lock): Richard Todd: add
4921         HAVE_V2_LOCKFILES, in which the process ID is written out in
4922         binary.
4923
4924         * uuxqt.c (uqdo_xqt_file): Richard Todd: the requestor address is
4925         relative to the requesting system.
4926
4927         * config.c (uprocesscmds, umulti_pushback): Richard Todd: each
4928         line pushed back because of "#" is local to a particular
4929         smulti_file structure.
4930
4931         * prtinf.c (asPdialer_cmds): Richard Todd: exit the current dialer
4932         if the special command "#" is seen.  A similar thing should be put
4933         in for ports, but it's marginally more complex.
4934
4935         * config.c (uprocesscmds): Richard Todd: don't warn if the special
4936         "#" command is unrecognized.
4937
4938 Sat Dec  7 13:05:40 1991  Ian Lance Taylor  (ian@airs.com)
4939
4940         * config.c (uprocesscmds): Franc,ois Pinard: don't limit the
4941         number of arguments to a command!
4942
4943         * chat.c (fchat): handle a chat script which consists only of a
4944         single string.
4945
4946 Fri Dec  6 16:11:29 1991  Ian Lance Taylor  (ian@airs.com)
4947
4948         * sys5.unx (fsysdep_execute): David J. Fiander: if execve fails
4949         with ENOEXEC, try using /bin/sh with a quoted argument.
4950
4951         * uux.c (main): split arguments the way /bin/sh does.  If any
4952         shell metacharacters appears, request uuxqt to execute the command
4953         using /bin/sh.
4954
4955         * tstuu.c (uprepare_test): allow the uux to test to send a failure
4956         message.
4957
4958         * uuxqt.c (uqdo_xqt_file): don't send mail on successful execution
4959         unless specifically requested; pay attention to the 'n' line
4960         which requests mail on success; ignore the 'Z' line because it
4961         now specifies the default action.
4962
4963         * sys1.unx (usysdep_initialize), sys6.unx (zsysdep_add_cwd):
4964         Franc,ois Pinard: getcwd may legitimately fail, so only give an
4965         error if we really need the result.
4966
4967         * chat.c (ccescape): Franc,ois Pinard: ccescape should never
4968         return a negative number, since the callers don't know how to deal
4969         with that.
4970
4971 Mon Dec  2 16:26:16 1991  Ian Lance Taylor  (ian@airs.com)
4972
4973         * bnu.c (ubnu_read_systems): Dave Buck: time strings with grades
4974         were parsed in an endless loop!
4975
4976         * sys3.unx (fsdo_lock, fsdo_unlock): the alloca when using LOCKDIR
4977         was one byte too small.
4978
4979         * config.c (tprocess_one_cmd): pass 10 to strtol rather than 0 to
4980         avoid surprises if a leading zero is used.
4981
4982         * prtinf.c (tpproto_param, tpdialer_proto_param): Niels Baggesen:
4983         the ``protocol-parameter'' command didn't work for ports or
4984         dialers.
4985
4986 Sun Dec  1 09:46:12 1991  Ian Lance Taylor  (ian@airs.com)
4987
4988         * tstuu.c: don't use the fd_set typedef at all.
4989
4990         * tstuu.c (uprepare_test): don't read V2 or BNU configuration
4991         files while testing.
4992
4993         * bnu.c, v2.c, config.c (uread_config): David Nugent: even if the
4994         code was compiled with HAVE_TAYLOR_CONFIG, read the V2 and BNU
4995         configuration files if the code was compiled to support them.
4996
4997         * uuchk.c (fkshow_port): Bob Izenberg: report dialer/token pairs
4998         correctly.
4999
5000 Sat Nov 30 17:40:00 1991  Ian Lance Taylor  (ian@airs.com)
5001
5002         * tstuu.c: Bob Izenberg: copied over conditional definitions of
5003         EAGAIN and EWOULDBLOCK from sys2.unx.
5004
5005         * bnu.c (fbnu_read_dialer_info): Niels Baggesen: accept dialers
5006         with no substitutions.
5007
5008         * bnu.c (ubnu_read_systems, ubadd_perm): Niels Baggesen: don't
5009         free up zline in ubadd_perm; in fact, changed the calling sequence
5010         to not even pass zline in at all.
5011
5012         * bnu.c (ubadd_perm): Niels Baggesen: didn't handle multiple
5013         MACHINE= and multiple LOGNAME= values in a single Permissions
5014         line, because it was clobbering the machine name while processing
5015         the first logname.
5016
5017         * bnu.c: Made zread and zwrite elements of sperm structure const
5018         char * to avoid warning.
5019
5020         * copy.c, sys1.unx, sys2.unx, sys3.unx, sys5.unx, tstuu.c: Niels
5021         Baggesen: don't multiply include <unistd.h>.  Eventually there
5022         should be a macro controlling whether it gets included at all, for
5023         non-POSIX systems.
5024
5025         * sys3.unx (fsysdep_get_status, isysdep_get_sequence): Marty
5026         Shannon: accept a truncated status file.  I also eliminated scanf
5027         calls in sys3.unx, since that was the only place it was called;
5028         this was to make the executables smaller for systems which cared.
5029
5030         * bnu.c (ubnu_read_sysfiles): Marty Shannon: accept comment
5031         characters in Sysfiles.
5032
5033         * sysh.unx, sys3.unx: Marty Shannon: added HAVE_RENAME, put a fake
5034         rename system call in sys3.unx.
5035
5036         * prtinf.c (ffind_port): Marty Shannon: failed to handle multiple
5037         ports in the port file since I forgot to reset my pointer
5038         variable.
5039
5040         * bnu.c (ubnu_read_systems): Marty Shannon: don't initialize the
5041         auto array abpubdir, since old cc didn't permit initialization of
5042         auto aggregates.
5043
5044 Mon Nov 25 20:56:39 1991  Ian Lance Taylor  (ian@airs.com)
5045
5046         * tstuu.c: Bob Denny: add definitions for FD_SET, FD_ZERO and
5047         FD_ISSET.
5048
5049         * config.c: Bob Denny: add explicit externs for strcmp and
5050         strcasecmp.
5051
5052         * sys2.unx: the fread_blocking and fwrite_blocking fields were
5053         not getting initialized correctly in the TCP support routines.
5054
5055         * sysh.unx, sys2.unx, sys5.unx, tstuu.c: Marty Shannon: added
5056         configuration option HAVE_SYSWAIT_H.
5057
5058         * bnu.c (fbnu_find_port, fbnu_read_dialer_info), v2.c
5059         (fv2_find_port): Marty Shannon: the ireliable field of ports
5060         and dialers was not getting initialized.
5061
5062 Sun Nov 24 15:06:37 1991  Ian Lance Taylor  (ian@airs.com)
5063
5064         * tcp.c (itcp_port_number): Michael Haberler: wasn't calling
5065         htons if passed a numeric string.
5066
5067 Sat Nov 23 13:43:52 1991  Ian Lance Taylor  (ian@airs.com)
5068
5069         * Released version 1.01 to alt.sources and uunet
5070