-
Notifications
You must be signed in to change notification settings - Fork 9
/
ChangeLog
1248 lines (869 loc) · 39.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1998-12-29 Uwe Ohse <[email protected]>
* src/lrz.c: removed stpcpy call.
got rid of warnings on solaris (isXXXXX treating
arguments as signed, size_t is not of "long" size).
* src/lsz.c: removed stpcpy calls.
got rid of warnings on solaris (isXXXXX treating
arguments as signed, size_t is not of "long" size).
(wcs): has another argument "filename on remote
site".
(wcsend): if no timezone variable was found the printf was
called with to few arguments for the format.
(send_pseudo): removed major/minor security problem (major,
though nobody used that code, so it in fact was minor),
stupid usage of /tmp.
damned, i thought i had done that _long_ ago?
* src/lsyslog.c (lsyslog): special code for varargs.
* src/zm.c: threw out prototype for zsendline_s().
* src/rbsb.c: moved getspeed() and speeds table
upwards.
* systype.in: realname can be given on the command line.
* configure.in: use LOG_USER in case LOG_UUCP is undefined.
check for libnsl (slowlaris).
* README.tests: new
* Makefile.am: support for fastcheck, fastcheck-beos,
"make success".
* beos-runpiped.c: new file.
1998-12-28 Uwe Ohse <[email protected]>
* src/canit.c: new file.
* src/zglobal.h: canit() prototype.
declare "struct termios;" before including termios.h
on svr3, to get rid of warnings.
* src/lsz.c (canit): deleted.
(everythere): replaced invocation of canit() with
canit(fd).
* src/lrz.c (canit): deleted.
(everythere): replaced invocation of canit() with
canit(fd).
* src/Makefile.am: added -DLOCALEDIR=... to DEFS
* acconfig.h: threw out LOCALEDIR. Gives redefinition
warnings in intl directory.
* configure.in: --enable-syslog=LOG_UUCP is now
default.
* src/tcp.c (tcp_connect): get rid of "signed/unsigned"
warning and "array subscript is of type char" warning
on isspace().
1998-12-27 Uwe Ohse <[email protected]>
* Makefile.am: distribute systype.in
* acinclude.m4: new macro lrzsz_HEADER_SYS_SELECT
(can sys/time.h and sys/select.h both be used)
* acconfig.h: define SYS_TIME_WITHOUT_SYS_SELECT
* check.lrzsz: check for emacs sources slightly
changed to work ...
* configure.in: create "systype" script, use
lrzsz_HEADER_SYS_SELECT
* lib/Makefile.am: use ansi2knr.
* lib/ansi2knr.c:
* src/ansi2knr.c: updated to automake-1.3 version,
implemented workaround for automake stupidity.
* src/lrz.c (do_crc_check): changed formatting.
* src/zglobal.h: use SYS_TIME_WITHOUT_SYS_SELECT.
* zperr.c: provide K&R style function definitions.
1998-12-23 Uwe Ohse <[email protected]>
* src/rbsb.c (rdchk): the read() version3
was buggy, didn't return 0 on EWOULDBLOCK.
That's a really long-standing problem ...
* src/tcp.c: include arpa/inet.h only if it exists.
* src/zglobal.h: include <socket.h> on BeOS to get
fd_set.
1998-12-22 Uwe Ohse <[email protected]>
* src/lsz.c (main): got rid of CPU and OS.
(usage): got rid of CPU and OS.
* src/lrz.c (main): got rid of CPU and OS.
(usage): got rid of CPU and OS.
* acconfig.h: got rid of CPU and OS.
* configure.in: don't call AC_CANONICAL_HOST
anymore.
1998-12-21 Uwe Ohse <[email protected]>
* configure.in: PUBDIR was handled incorrectly.
Thanks to Stanislav Brabec <[email protected]>.
* buildrpm, Specfile.in, rpmrc: new files.
* Makefile.am: support rpm stuff.
* src/lsz.c (main): start_blklen by default is not
longer then framlength (except if luser personally
decides to use both -4/-8 and -l).
(getzrxinit): minor cleanup.
(getzrxinit): test for S_ISCHR was reversed.
Thanks to Nick Rossi <[email protected]>.
* src/lrz.c (main): use umask().
1998-10-22 Uwe Ohse <[email protected]>
* src/lrz.c (procheader): removed warnings about unused
variable e (used only if #ifdef ENABLE_SYSLOG).
* src/lsyslog.c (lsyslog): removed warnings about unused
arguments if not defined ENABLE_SYSLOG.
1998-08-18 Uwe Ohse <[email protected]>
* src/lsz.c (wcputsec): don't say "Ymodem" if running as
Xmodem.
* changed version number to 0.12.20.
* src/lsz.c (getzrxinit): throw out purgeline() again.
This causes selftest to break, and also other zmodems.
Slightly modified the logic to resend a zrqinit.
(getnak): Slightly modified the logic to resend a zrqinit.
Maybe the real solution is to throw out the resending
of ZRQINITs ... as omen doesn't do it, too, although
it's documented in the protocol.
1998-07-25 Uwe Ohse <[email protected]>
* src/lsz.c (getzrxinit): calling purgeline() at start
solves Stefan Glasers problems (internal connect zmodem,
slow startup with other zmodems). Also: don't send a
second ZRQINIT directly after the first one.
(getnak): don't send a second ZRQINIT directly after
the first one.
1998-07-08 Uwe Ohse <[email protected]>
* README.isdn4linux: new file.
1998-03-13 Uwe Ohse <[email protected]>
* src/tcp.c: #define INADDR_NONE if it is undefined
1998-01-18 Uwe Ohse <[email protected]>
* src/lrz.c (show_version): new function.
(main) call parse_long_options() with only 4 arguments.
didn't wrap all mmap-specifics in #ifdef HAVE_MMAP.
* src/lsz.c (show_version): new function.
(main) call parse_long_options() with only 4 arguments.
didn't wrap all mmap-specifics in #ifdef HAVE_MMAP.
* configure.in: vasprintf should not only be checked for
but replaced of needed.
* lib/long-options.c
* lib/long-options.h
new versions with only 4 arguments.
1998-01-03 Philippe De Muyter <[email protected]>
* src/lsz.c (zfilbuf): Look ahead for one char, to set eof_seen early
and to avoid yielding 0 at the end of file.
1997-12-14 Uwe Ohse <[email protected]>
* src/lrz.c (do_crc_check): removed warnings.
(procheader): removed warnings.
(procheader): stupic bug: "&~1024" should have been "&~1023" to
get block start aligned to whole kilobytes.
global: moved DO_SYSLOG definition, renamed it to DO_SYSLOG_FNAME,
replaced some lsyslog-Calls with new macro DO_SYSLOG.
* src/lsz.c (struct long_option): --immediate-command should have
used shortopt `i', but used `c'.
applied patch from Philippe De Muyter <[email protected]>, original date
1997-11-20:
* aclocal.m4 (LRZSZ_TYPE_SPEED_T): Really look for speed_t, not $1.
* acconfig.h (speed_t): New define slot; replaces LRZSZ_TYPE_SPEED_T.
1997-12-13 Uwe Ohse <[email protected]>
* src/lsz.c: new option --check-crc (implement ZMCRC option),
use ZMCRC if --resume is given twice.
(getzrxinit) Oops. Canseek was set incorrectly if S_ISREG
was defined.
(zsendfile): ZCRC-Code needed debugging. munmap added.
* src/lrz.c: new option --check-crc (implement ZMCRC option),
use ZMCRC if --resume is given twice.
(procheader) implement ZMCRC.
(do_crc_check) new function.
1997-12-09 Uwe Ohse <[email protected]>
* src/lrz.c (procheader): implement --newer and --newer-or-longer
option, which Chuck Forsberg must have forgotten to implement in
rz (sz did know about them).
implement a --junk-path option - junks the paths of the files,
removing directory part of a file name.
(main): implement command line switches for the options.
1997-12-08 Uwe Ohse <[email protected]>
* src/lrz.c (main): oops. --rename included Zctlesc ...
catch SIGPIPE.
(global): new variable skip_if_not_found.
(procheader): use "r+" fopen()-mode if "skip_if_not_found" is set.
if fopen() fails tell that to syslog.
(tryz): set skip_of_not_found if ZF1_ZMSKNOLOC is received (this
fixes the "--overwrite-or-skip" option)
don't use "Zctlesc = TESCCTL & Rxhdr[ZF0];", use "|=" instead.
* src/lsz.c (main): catch SIGPIPE,SIGHUP.
(global): new variable/option "--no-unixmode". This is needed to
check the "keep-uppercase" option.
(getzrxinit): call "zsendline_init" to reinitialize escape table
if receiver told us to escape control chars (fixes "rz --escape").
1997-12-07 Uwe Ohse <[email protected]>
* src/zm.c (zsda32): crashed if sending packet with 0 bytes data.
1997-11-07 Uwe Ohse <[email protected]>
* configure.in: changed version number to 0.12.18.
* src/zm.c: remove #include <syslog.h>
(zgethdr): removed warnings.
(noxrd7,tgeth1, zgethex): reordered to help
gcc inline them.
* src/lsz.c (main): removed unused variable `s'.
* src/zglobal.h: remove define for syslog().
* src/zm.c (printout_blocksizes):
* src/lrz.c (wcreceive): (DO_SYSLOG): (rzfile):
* src/lsz.c (DO_SYSLOG): (wcs):
use lsyslog instead of syslog.
* src/Makefile.am (lsz_SOURCES and lrz_SOURCES): include lsyslog.c.
* configure.in (AC_CHECK_FUNCS): check for vasprintf.c
(elsewhere): changed tirka.gun.de hacks to tirka.ohse.de.
* lib/Makefile.am (EXTRA_DIST): include vasprintf.c
* src/lsyslog.c (lsyslog): new file.
Sun Sep 14 08:07:52 MET DST 1997
* Makefile.am: add lrzszbug to DISTCLEAN_FILES
* src/zreadline.c (readline):
optimize for calling from READLINE_PF.
get rid of some vprintf.
rename to readline_internal (should only be called
from READLINE_PF).
* src/zglobal.h: rename readline to readline_internal.
* src/zm.c (noxrd7): use READLINE_PF, not readline.
(zgethdr) likewise.
(zrhhdr): likewise.
* src/lrz.c (wcrxpn): use READLINE_PF, not readline.
(wcgetsec): likewise.
(ackbibi): likewise.
(global) (main): implement --tcp-server and --tcp-client addr:port.
* src/lsz.c (getnak): use READLINE_PF, not readline.
(wctx): likewise.
(wcputsec): likewise.
(zsendfile): likewise.
(zsendfdata): likewise.
(global) (main): implement --tcp-server and --tcp-client addr:port.
* src/tcp.c: fix some byteorder problems.
(tcp_connect): accept hostnames.
Sat Sep 13 20:04:56 MET DST 1997
* src/zmodem.h: #ifdef out some declarations already found in
zglobal.h.
* acinclude.m4: new macro LRZSZ_ERRNO_DECL, checks for declaration
of errno, taken from taylor uucp.
* configure.in: use LRZSZ_ERRNO_DECL
* src/lrz.c: remove lots of egcs -Wparanoia warnings.
zrdata needs new parameter. Rxcount isn't global anymore.
many int or long -> signed or size_t changes.
* src/zm.c: zrdata get's new argument, pointer to size_t to
store number of bytes read into.
Remove Not8bit, wasn't used.
remove lots of egcs -Wparanoia warnings.
zgethdr gets a new argument, pointer to size_t.
Remove global variable Rxpos.
* rbsb.c:
remove lots of egcs -Wparanoia warnings.
sendbrk sends break now in posix termios mode, too.
* src/lsz.c: remove lots of egcs -Wparanoia warnings.
many int or long -> signed or size_t changes.
Rxcount and Rxpos removed.
* src/zreadline.c: remove egcs -Wparanoia warnings.
Mon Sep 1 00:02:27 MET DST 1997
* src/lrzszbug.in: new script.
* src/Makefile.am: distribute lrzszbug.in
* configure.in: generate lrzszbug.
Sun Aug 31 18:00:00 MET DST 1997
* Release 0.12.17
Sat Aug 23 22:54:12 MET DST 1997
* src/lrz.c (closeit): use S_ISREG instead of (mode&S_IFMT)==...
if possible. (closeit) removed unused variable
* src/rbsb.c (Fromcu): deal with major(), minor() and makedev ...
dev_t might not be a simple type of the system (or, worse, the
compiler).
* src/tcp.c (tcp_server): change len to size_t.
(tcp_server): remove unused variable namelen.
(tcp_accept): change namelen to size_t.
(global): include "error.h", <ctype.h>, <stdlib.h>, <stdio.h>.
(tcp_accept): remove unused variable newsock.
(tcp_connect): rename variable sin to s_in.
* src/lsz.c (wcs): use S_ISxxx instead of (mode & S_IFxxx)==...)
if possible. (getzrxinit) same. (countem) also.
* src/Makefile.am: don't uses LOCALEDIR, OS, CPU anymore
* configure.in: AC_DEFINEs_UNQUOTED LOCALEDIR, OS, CPU.
Bugfix: PUBDIR should be AC_DEFINEd_UNQUOTED, not AC_DEFINEd.
* src/zm.c (zsendline_s): last_esc was not initialized.
Sun Jun 1 09:52:45 MET DST 1997 Uwe Ohse <[email protected]>
* updated COPYING
* man/Makefile.am: added manual pages to EXTRA_DIST as automake
doesn't automagically distribute them anymore.
* src/zglobal.h: new macro vchar() (put a char onto stderr),
new macro vstring() (put a string onto ...).
prototype for vstringf().
remove prototype for cucheck().
* src/zperr.c: new function vstringf() (vfile without "Verbose > 2"
check).
* src/lrz.c: use vchar/vstring/vstringf instead of writing
to stderr.
implement tcp mode code.
don't restrict setgid anymore, too many people had problems
with this ...
* src/zreadline.c: use vchar/vstring/vstringf instead of writing
to stderr.
* src/zm.c: use vchar/vstring/vstringf instead of writing
to stderr. made zsendline_s receive a _const_ char *.
* src/rbsb.c: use vchar/vstring/vstringf instead of writing
to stderr. remove unused function cucheck().
* src/lsz.c: removed NEW_ERROR define, delete old code, NEW_ERROR
is now certainly stable enough.
most places: use vchar/vstring/vstringf instead of writing
to stderr.
New options -4/-5 for try4k/start4k. 4k blocksize gives somewhat
better benchmark results than 1k and 10% better results than 8k
on my dual processor system (don't wonder: 4k is a pagesize, and
using more than 4k makes pipe writes block. doesn't matter in
real life :-)).
implement tcp mode code.
don't restrict setgid anymore, too many people had problems
with this ...
* src/tcp.c: new file.
* configure.in: change version to 0.12.17. fiddled around to
get it properly running with automake-1.1p.
* lib/Makefile.am: add LIBOBJS to libzmodem_a_DEPENDENCIES (don't
know why automake-1.1p needs this, but anyway).
Wed May 21 16:49:51 1997 Philippe De Muyter <[email protected]>
* src/zglobal.h (termios.h): Do not include that file unconditionally !
(USE_TERMIOS): Do not define that unconditionally !
Tue Mar 25 01:21:07 MET 1997
* lib/Makefile.am: add "libzmodem_a_DEPENDENCIES = @ALLOCA@"
Mon Mar 24 08:01:14 MET 1997
* Release 0.12.16
* Makefile.am: check -> check-local
Sat Mar 15 08:26:39 MET 1997
* src/zglobal.h: provide prototypes for zsdat32.
* src/zm.c (zsdata): doesn't call zsdat32() anymore.
(zsdat32): not static anymore.
* src/lsz.c (ZSDATA): new macro. calls zsdata or
zsdata32.
(sendzsinit) (zsendfile) (zsendfdata) (zsendcmd):
replaced zsdata with ZSDATA.
Thu Mar 13 07:54:07 MET 1997
* src/lsz.c(main):
* src/lrz.c(main): don't run setuid or setgid.
call_zsendline_init().
* src/zm.c (zsendline_init): don't takes a parameter anymore, uses
sourcefile-static variable.
(zsendline): don't call zsendline_init anymore.
(zsendline_s): new function (faster blockmode version of zsendline)
(zsda32): used zsendline_s()
* src/zglobal.h: provide prototype for zsendline_init().
Mon Mar 10 23:13:59 MET 1997 Uwe Ohse <[email protected]>
* updated to gettext-0.10.27
* updated to automake-1.1l (especially Makefiles and configure.in)
* check.lrzsz: small fixes.
Sun Mar 9 10:29:39 MET 1997 Uwe Ohse
* src/lrz.c: Warnings and #ifdef O_SYNC around O_SYNC-Code.
Sun Feb 2 12:52:01 MET 1997 Uwe Ohse <[email protected]>
* Release 0.12.15
* src/lrz.c (procheader): xmodem didn't work on m68k-hp-hpux9.00,
compiled with gcc. procheader got "" as filename if using
xmodem, and does this:
char *p=name+1+strlen(name).
certainly not ok :-)
Sat Feb 1 19:55:08 MET 1997 Uwe Ohse <[email protected]>
* src/lrz.c (procheader): change mode of received file
to O_SYNC if o_sync is set.
(main): set o_sync if --o-sync (or --o_sync) is given.
(global): new variable static int o_sync.
(usage): new option --o-sync.
* src/rbsb.c:
* src/timing.c:
* src/zglobal.h: don't use #elif anymore (didn't know
that pre ansi systems don't understand it).
* src/timing.h:
* src/lrz.c:
* src/lsz.c:
* src/zm.c:
* src/zglobal.h: use __P in prototypes.
* src/zglobal.h:
include varargs.h instead of stdarg.h ifndef __STDC__
* src/zperr.c:
#define VA_START(x,y) to va_start(x,y) (__STDC__) or
va_start(x) (!__STDC__).
* src/rbsb.c: made it compile with hpux bundled compiler.
purgeline(fd) -> purgeline (int fd).
int rdchk(int fd) ->
int
rdcheck(int fd)
Fri Jan 31 01:01:47 MET 1997 Uwe Ohse <[email protected]>
* lib/alloca.c (xmalloc): de-ANSI-fy.
* lib/Makefile.am: turn off ansi2knr
* src/ansi2knr.c: include newer version from fileutils-3.16
Sun Jan 19 09:03:54 1997 Philippe De Muyter <phdm@mac_tst>
* src/zglobal.h (LONG_MAX): If everything else failed,
include limits.h.
* intl/l10nflist.c:
* intl/explodename.c
include <sys/types.h>
Tue Jan 7 07:33:55 MET 1997 Uwe Ohse <[email protected]>
* configure.in: change version to 0.12.14
* src/lrz.c (procheader): Overwrite "waiting to receive"
with spaces.
"file exists, skipped" -> "file exists, skipped: filename",
print it if: "Verbose > 2" -> "Verbose".
(Glenn Burkhardt <[email protected]>)
Sat Jan 4 10:12:56 1997 Uwe Ohse <[email protected]>
* configure.in: check for libsocket (contains syslog() under
SCO).
don't use AC_FUNC_STRFTIME (sets "LIBS=-lintl $libs", and
this doesn't interact well with the intl/libintl.a and
the ud_GNU_GETTEXT), do AC_REPLACE_FUNC(strftime).
* lib/strftime.c: new file (taken from fileutils-3.14).
I did *not* include multibyte character support (== including
wchar.h == AC_CHECK_HEADER(wchar.h)), as timesync doesn't
need multibyte characters.
* src/timing.c (timing): throw out "goto doit". Forgot it
a long time ago.
* src/zglobal.h: include sys/select.h after including
sys/time.h (sys/select.h needs struct timeval).
make "char checked;" an unsigned char.
remove extern int readline_readnum; not needed.
* src/rbsb.c: make "char checked;" an unsigned char.
(to get rid of warnings on systems where
readcheck reads).
* src/lsz.c (zsendfdata): remove #ifndef linux
around "XOFF | 0200".
(wcs): cast pid_t to unsigned long before using
it in printf. (HPUX).
(wcsend): remove #ifdef HAVE_STRFTIME - we know
that we have strftime.
* src/lrz.c (procheader): oops, alloca(strlen(name+5))
should have been alloca(strlen(name)+5);
-> crash on HP9000/712, HPUX 9.07, PA-Risc.
* removed forgotten strace from check.lrzsz (did you ever
wonder why zmodem8k was slower in `make check'?)
* src/zm.c:
zsbh32,zsda32,zrdat32,zrbhdr32,zrhhdr,zputhex,zgethex,
zgeth1: had static prototype, but were not defined
as static. Now prototype and function are static.
Thu Jan 2 22:59:44 1997 Uwe Ohse <[email protected]>
* configure.in:
+ AC_C_INLINE (cleanup, was called from aclocal.m4)
+ AC_TYPE_OFF_T (cleanup, was called from aclocal.m4)
- AC_FUNC_UTIME_NULL (not really needed)
+ check for strings.h (was done before in aclocal.m4)
+ call AC_FUNC_STRFTIME
+ check for vprintf (not done before, used in error.c)
* src/lsz.c: #ifdef HAVE_SELECT around call to select().
* src/timing.c: don't include limits.h,unistd.h: already
done from zglobal.h.
* src/zm.c:
* src/zreadline.c:
don't include unistd.h, already done from zglobal.h.
Wed Jan 1 17:18:34 1997 Uwe Ohse <[email protected]>
* Release 0.12.13
* updated gettext to 0.10.26.
* took out purgeline() call in zsendfile (didn't help).
* check.lrzsz: splitted resume directory into two parts.
* configure.in: call AC_AIX, AC_MINIX.
Wed Dec 18 22:44:55 1996 Uwe Ohse <[email protected]>
* src/lsz.c: start_blklen changed to 0.
(chkinvoc): don't change blklen to 1024 for YMODEM.
[use -k if you want better performance, worse
interoperatibility]
(main): if start_blklen is 0 after processing arguments
change it to 1024 (zmodem) or 128 (x/y).
(zsendfile): call purgeline() once - hopefully fixed
stefan glasers problem.
* configure.in: remove AC_C_CROSS
Sat Nov 9 16:34:09 1996 Uwe Ohse <[email protected]>
* src/lrz.c (long_options): --with-crc doesn't require an
argument.
(main): shortopts-string given to getopt() wasn't up-to-date.
Tue Nov 5 00:05:36 1996 Uwe Ohse <[email protected]>
* src/lsz.c (zsendfdata): moved SIGINT-activation to the beginning
of the file's transfer (no need to activate if before every
write).
* src/zm.c (bttyout): removed.
(zgethdr): don't call bttyout, write directly to stderr.
Thu Oct 10 15:31:54 1996 Philippe De Muyter <[email protected]>
* configure.in: Replace mktime if needed.
* lib/Makefile.am (EXTRA_DIST): Distribute mktime.c
* lib/mktime.c: new file, replacement function for mktime().
Mon Oct 7 22:57:09 1996 Uwe Ohse <[email protected]>
* src/lsz.c (usage):
* src/lrz.c (usage): updated help text.
* configure.in (VERSION): changed to 0.12.11
* src/lrz.c (main):
* src/lsz.c (main): "rshell" is another name for a restricted shell.
Sun Oct 6 20:45:20 1996 Uwe Ohse <[email protected]>
* src/lrz.c (wcreceive): changed calls to timing().
(rzfiles): dito.
(rzfile): dito. implement --stop-at TIME.
(main): recognize --stop-at and parse argument.
(usage): document --stop-at.
* src/lsz.c (wcs): changed call to timing().
(wcs): dito.
(zsendfdata): implement --stop-at TIME. changed call to timing(),
threw out calls to time():
(main): recognize --stop-at and parse argument.
(usage): document --stop-at.
* src/timing.c (timing): now gets another parameter time_t *now, to
be filled with the "now" time (to reduce number of system call if
using --min-bps or --stop-at).
* src/timing.h (timing): changed prototype for timing() (optional
parameter time_t *now);
Thu Oct 3 09:22:26 1996 Uwe Ohse <[email protected]>
* src/lrz.c (tryz): don't return FALSE to early if getting to many
ZRQINITs.
* src/lsz.c (main): tell library to interrupt system calls if we get an
SIGALRM (stupid BSD people - why did they make restarting systems
calls the *default*)?
* configure.in (ALL_LINGUAS): check for siginterrupt().
* src/lrz.c (ecgetsec): read at max 1000 bytes after we got an bad
header. (was endless loop, if sender didn't time out).
* src/lrz.c (main):
* src/lsz.c (main): new option --delay-startup N: makes program sleep
for N seconds before sarting transactions (for debugging).
* lib/Makefile.am (zmodem_SOURCES): remove duplicate zmodem_SOURCES
line.
Wed Sep 18 20:27:00 1996 Uwe Ohse <[email protected]>
* src/lsz.c (wcs): #ifdef HAVE_MMAP around dont_mmap_this.
Wed Sep 18 18:36:40 1996 Philippe De Muyter <[email protected]>
* lib/Makefile.am (EXTRA_DIST): distribute stpcpy.c.
* src/lrz.c, src/lsz.c: declare stpcpy if not STRICT_PROTOTYPES.
* src/lrz.c (DEFBYTL): declaration removed from here.
* src/zglobal.h (DEFBYTL): declaration moved here.
* src/lsz.c (wcs): enclose dont_mmap_this in #ifdef HAVE_MMAP;
initialize bytes_total to DEFBYTL if file is a pipe;
use bytes_sent, not bytes_total for final statistics.
(calc_blklen): best_bytes and transmitted made unsigned long, not long.
(countem): use DEFBYTL as filesize for "-".
Tue Sep 17 23:50:34 1996 Uwe Ohse <[email protected]>
* src/lrz.c (main): enable SIGINT code.
* src/lsz.c: whole file: enable SIGINT code.
Sat Sep 14 10:02:41 1996 Uwe Ohse <[email protected]>
* configure.in (VERSION): change to 0.12.10
* src/lrz.c (wcreceive): unlink Pathname only if not NULL.
* src/lsz.c (getzrxinit): resend ZRQINIT if we don't get a
ZRINIT. This is needed to ensure that a receiver which
starts up late, looses ZRQINIT and doesn't send a ZRINIT
by default gets the ZRQINIT it needs. [resending ZRQINIT
is documented in zmodem.doc, but unix zmodem doesn't do
it. Well, this is not the only missing feature.]
(getnak): resend ZRQINIT if getting a timeout.
(zrqinits_sent): new variable. counts number of sent zrqinits.
Need to do this because unix rz cancels transmission if getting
more than 5 ZRQINITS.
Thu Sep 5 21:22:32 1996 Uwe Ohse <[email protected]>
* src/lsz.c (wcsend): use stpcpy instead of strcpy + strcat.
* src/lrz.c (procheader): use stpcpy instead of strcpy + strlen.
* lib/stpcpy.c: new file.
* configure.in: Replace strtol, strpbrk, stpcpy if needed.
* check.lrzsz: Redirect all error messages to $testdir/error.log.
Modified to avoid 'cp -f', dd conv=notrunc, /dev/zero.
Typo : management, not managment.
(Philippe De Muyter <[email protected]>)
* configure.in: check for mode_t, replace strtoul if needed.
(Philippe De Muyter <[email protected]>)
* src/rbsb.c: Do not include fcntl.h twice.
(Philippe De Muyter <[email protected]>)
* src/lrz.c (long_options):
* src/lsz.c (long_options): fix typo (restriced -> restricted)
(Philippe De Muyter <[email protected]>)
* intl/l10nflist.c, intl/explodename.c (stdlib.h): Include
sys/types.h and define NULL for size_t-less or missing stdlib.h.
(Philippe De Muyter <[email protected]>)
Wed Sep 4 20:21:56 1996 Uwe Ohse <[email protected]>
* src/zglobal.h: include <sys/select.h> if it exists.
(Philippe De Muyter <[email protected]>)
* configure.in: check for sys/select.h
(Philippe De Muyter <[email protected]>)
* src/lsz.c (getinsync): clearerr(input_f) is a bad idea
if (input_f == NULL).
Tue Sep 3 21:55:30 1996 Uwe Ohse <[email protected]>
* src/lsz.c (wcs): oops, use name where oname should have
been printed in error message. if sending file "-" treat
it special.
(main): replace `0' with io_mode_fd, set io_mode_fd to
1 if sending file "-".
(wctx): replace `0' with io_mode_fd.
(zsendfdata): rdchk(io_fd) instead of rdchk(0).
Sun Sep 1 10:12:42 1996 Uwe Ohse <[email protected]>
* configure.in (VERSION): changed to 0.12.9
* man/lrz.1: documetn --rename, --min-bps, --min-bps-time.
* man/lsz.1: document --turbo, --rename, --min-bps,
--min-bps-time.
* src/lsz.c (main): support -m/--min-bps and -M/min-bps-time
options.
(wctxpn): added missing error messages.
(zsendfile): added missing error messages.
(zsendfdata): support --min-bps and --min-bps-time.
(usage): document --min-bps and --min-bps-time.
* src/lrz.c (main): support -m/--min-bps M option.
(rzfile): support --min-bps-Option, --min-bps-time.
(main): support --min-bps-time/-M option.
(rzfiles): does print error messages to syslog (rzfiles did
just say "error", rzfiles can tell *what* error happened).
(usage): document min-bps and min-bps-time. document --error.
Wed Aug 28 11:23:01 1996 Uwe Ohse <[email protected]>
* src/zreadline.c: include errno.h
* src/zglobal.h: include limits.h (_POSIX_PATH_MAX).
Fixed misspelled HAVE_TERMIO_H to HAVE_TERMIOS_H.
changed long Locmode, long Locbit to extern.
* po/de.po:
* src/lrz.c (usage):
* src/lsz.c (usage): add --rename option.
Tue Aug 27 10:53:43 1996 Uwe Ohse <[email protected]>
* Release 0.12.8
* src/lsz.c (main): do a select/read-loop after calling purgeline()
to get rid of really anything already in the queue.
* configure.in (VERSION): changed to 0.12.8
* src/lrz.c (rzfile): added missing error message.
(rzfile): buffer packets we received out-of-sync, and try to
reuse them later.
* src/lsz.c: (whole file): renamed flags.
(main): new option -E --rename: change name if target exists.
(long_options): new option --rename.
* src/lrz.c: (whole file) renamed flags.
(procheader): implement ZF1_ZMCHNG (change name if target exists).
(main): new option -E --rename: change name if target exists.
(long_options): new option --rename.
(procheader): fix --append-Option (ZF1_ZMAPND). Will now work
even on binary files (why not send wtmp?).
* src/zmodem.h (ZF1_ZMCHNG): new flag. change filename if
destination exists.
Some flags renamed (prefixed with ZFn etc).
changed some octal numbers to hex.
* src/lsz.c (main): setup readline to read up to 128 bytes.
* src/zreadline.c (readline): minimal timeout now 1 second if
timeout-variable is 1.
* src/zreadline.c (readline): if Verbose > 9 dump up to 48
bytes direct after read().
* src/lsz.c (main): call purgeline to get rid of junk on
the line.
* check.lrzsz: use source files for resume test.
Sun Aug 25 11:11:17 1996 Uwe Ohse <[email protected]>
* src/zm.c (zsendline_init): if turbo_escape is set:
do not escape ^P, 0200|^P,015,0215.
* src/lsz.c (main): recognize -T aka --turbo, sets variable
turbo_escape.
* src/zm.c: new variable turbo_escape.
* src/lsz.c (calc_blklen): calculated with *full* last block, causing
to choose smaller block sizes if last block not full.
* src/zreadline.c (readline): print strerror(errno) if read
returned -1 bytes and Verbose > 5.
Sat Aug 24 16:39:41 1996 Uwe Ohse <[email protected]>
* src/rbsb.c (from_cu): debug messages deleted.
Fri Aug 23 14:32:51 1996 Uwe Ohse <[email protected]>
* src/lsz.c (usage1): usage1 is static, had static prototype,
but was not made static.
* src/lrz.c (procheader): case result of strdup because we
might not have a prototype for it.
* lib/alloca.c: provide xmalloc.
* configure.in: use GCC-CFlags only if using gcc (did a test
with lcc ...).
Thu Aug 22 19:48:16 1996 Uwe Ohse <[email protected]>
* Release 0.12.7
* configure.in (VERSION): changed to 0.12.7
Tue Aug 13 00:00:27 1996 Uwe Ohse <[email protected]>
* check.lrzsz: accepts third parameter (x,y,z,z8,sz-r,rz-r,abuse),
to do one test.
* src/timing.c (timing): DST_NONE might be undefined.
* src/lsz.c: do not include unistd.h, limits.h.
(wcsend): dynamically alloca tmp and pa variables (PATH_MAX).
(wctxpn): dito.
* src/zglobal.h: get alloca.
Mon Aug 12 21:46:09 1996 Uwe Ohse <[email protected]>
* src/lrz.c (procheader): dynamically allocate Pathname-String
(PATH_MAX may be variable).
(wcreceive): dynamically allocate Pathname.
* configure.in: check for sys/param.h
* src/rbsb.c: don't include sys/stat.h, sys/types.h
* src/lsz.c:
* src/lrz.c: don't include time-includes.
do not include sys/stat.h, unistd.h
* src/zglobal.h: include time-includes.
include sys/stat.h, sys/types.h
#define PATH_MAX if needed.
Sun Aug 11 07:39:37 1996 Uwe Ohse <[email protected]>
* src/lrz.c (rzfile): instead of sending ZACK flush XON flush
send (ZACK | 0x80) to remote. This removes on write operation.
* src/zm.c (zshhdr): use a mask of 0x7f for frametype (see change
to lrz.c above).
* configure.in (VERSION): increased version number to 0.12.6
* src/lsz.c: buffersize, use_mmap: new variables.
(long_options): add --bufsize aka -B option.
(wcs): added support for variable buffer size (input file).
(zsendfdata): use mmap only if use_mmap != 0.
(usage): show -B option.
* po/de.po: added translation for -B option.
* src/lrz.c (usage): show -B option.
* man/lsz.1:
* man/lrz.1: documented -B option.
* src/lsz.c:
* src/lrz.c: added extern declarations for time(), strerror()
and strstr(), if not STRICT_PROTOTYPES. ([email protected])
* src/lrz.c: (procheader): use variable size FILE buffer.
buffersize: new variable
(main): added -B-Option to set buffersize.
(long_options): new option --bufsize aka -B.
* acconfig.h: #undef STRICT PROTOTYPES
* configure.in: remove AC_PROG_LN_S (not used anymore).
moved "test $prefix = NONE && prefix=/usr" to local part