📄 changelog
字号:
* 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 <uwe@ohse.de> * 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 <phdm@info.ucl.ac.be> * 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-localSat 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * lib/alloca.c (xmalloc): de-ANSI-fy. * lib/Makefile.am: turn off ansi2knr * src/ansi2knr.c: include newer version from fileutils-3.16Sun 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 <uwe@tirka.gun.de> * 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 <glenn@aoi.ultranet.com>)Sat Jan 4 10:12:56 1997 Uwe Ohse <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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_CROSSSat Nov 9 16:34:09 1996 Uwe Ohse <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <phdm@info.ucl.ac.be> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * 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 <uwe@tirka.gun.de> * src/lsz.c (wcs): #ifdef HAVE_MMAP around dont_mmap_this.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -