libChange the implementation of memmove in lib/compat.c to call bcopy instead of memcpy because bcopy is guaranteed to work with overlapping memory and memcpy is not. Bug fix for PR#1584 in which log entries in the rsync daemon log on Sunos 4.1.4 were garbled. 27 years ago packagingpreparing for release of 2.3.0 27 years ago supportupdates to reflect new samba.org domain the main web site is now http://rsync.samba.org/ 27 years ago zlibreplace BAD with zBAD so it compiles on AIX 28 years ago .cvsignoreadded .cvsignore to the .cvsignore file to prevent it from being distributed when I run the release script 28 years ago .ignoreInitial revision 30 years ago access.cadd a cast to initialisation of mask 28 years ago acconfig.hInclude a test for a working getopt_long because the one on some versions of cygwin doesn't work. Thanks to Martin Krumpolec <krumpo@pobox.sk> for the patch. At the same time, include cache checks in configure.in for a few items that were missing the checks. 27 years ago aclocal.m4changes to get rsync working on a CRAY J90. This machine doesn't have a 4 byte integer type (short is 8 bytes). I needed to use a new md4 implementation (I used the portable one I wrote for Samba). 28 years ago authenticate.cAdded "strict modes" option. When set false (default is true), it allows the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk 27 years ago byteorder.hInitial revision 30 years ago checksum.ckfixed char* casts 28 years ago cleanup.clog filename(line) in exit_cleanup() to make tracking down problems easier in rsync daemons. 28 years ago clientserver.cRemoved am_client variable. It was being set in one place, when a client of a socket (that is, a --daemon) server, but never looked at. The way to test whether or not on a client is (!am_server). 27 years ago compat.cpatch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add different exit codes for different conditions. 28 years ago config.guessUpdate config.guess from a new official GNU version. I believe this is the latest, which comes with automake 1.4 (somebody else is in charge of installing the GNU stuff on my system so I'm not 100% sure it's the absolute latest, but it was updated just a couple weeks ago). 27 years ago config.subUpdate config.sub to the latest from automake in addition to config.guess. 27 years ago configure.inInclude a test for a working getopt_long because the one on some versions of cygwin doesn't work. Thanks to Martin Krumpolec <krumpo@pobox.sk> for the patch. At the same time, include cache checks in configure.in for a few items that were missing the checks. 27 years ago connection.cuse error to detect lockfile open failures vs. max connections reached and report an appropriate error message 28 years ago COPYINGInitial revision 30 years ago errcode.hFix confusion between RERR_NOSUPPORT and RERR_UNSUPPORTED for exit codes that indicate a feature is not supported. Two places that are normally ifdefed out used RERR_UNSUPPORTED whereas one other place and errcode.h used RERR_NOSUPPORT. Changed them all to consistently use RERR_UNSUPPORTED. The two things that had the bad values were #ifndef SUPPORT_LINKS and #ifdef NO_INT64. The former is probably for non-Unix operating systems and the latter was at least on the default Unixware compiler. 28 years ago exclude.cAllow + and - in the "include" and "exclude" directives in rsyncd.conf. Patch submitted by Damian A Ivereigh <damian@cisco.com> 27 years ago fileio.cno longer use mmap() in rsync because of the risk of a SIGBUS when another program (such as a mailer) truncates a file. 27 years ago flist.cWhen -R is used, send the permissions of the original top directories to the receiver even when not combined with -r. Without this, the directories were getting created mode 777 because the default umask on receivers is often 00. 27 years ago generator.cWhen a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no> 27 years ago hlink.cWhen a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no> 27 years ago install-shInitial revision 30 years ago io.cchanged strlcat() and strlcpy() to have the same semantics as the OpenBSD functions of the same name. 28 years ago loadparm.cAdded "strict modes" option. When set false (default is true), it allows the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk 27 years ago log.cAdd --quiet/-q option. Contributed by Rich Salz salzr@certco.com. 27 years ago main.cChanged the protocol version to 20 so that --stats will work without -v in both directions. 27 years ago Makefile.inAdd distclean target to Makefile.in. 27 years ago match.cmoved the block length mismatch code to another part of the loop. 27 years ago md4.cfixed a typecast 28 years ago md4.hInitial revision 30 years ago mkproto.awkchanged strlcat() and strlcpy() to have the same semantics as the OpenBSD functions of the same name. 28 years ago options.cRemoved am_client variable. It was being set in one place, when a client of a socket (that is, a --daemon) server, but never looked at. The way to test whether or not on a client is (!am_server). 27 years ago params.cUse MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c instead of 200. Move the defines of True and False to rsync.h. Eliminate the defines of BOOL in loadparm.c and params.c because it is already defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com 27 years ago READMEAdd --delete-excluded option to delete files on the receiving side that are excluded. Implies --delete. 27 years ago receiver.cWhen a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no> 27 years ago rsync.cWhen a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no> 27 years ago rsync.hChanged the protocol version to 20 so that --stats will work without -v in both directions. 27 years ago rsync.yoPrevent the -g option from preserving groups that a non-root receiver does not belong to, in these two ways: 1. If a group mapping doesn't exist for a group name, do not preserve it for a non-root receiver. This is especially evident with the sender is a daemon using chroot because then no mappings are available. 2. Before setting the group on a file make sure that it is in the list of groups returned by getgroups(). The same thing is done by chgrp on systems that support bsd-style chown/chgrp, and this enforces that it happens the same way on all systems. Overhead is very little, especially since most systems don't allow more then 16 groups per user. 27 years ago rsyncd.conf.yoAllow + and - in the "include" and "exclude" directives in rsyncd.conf. Patch submitted by Damian A Ivereigh <damian@cisco.com> 27 years ago sender.cadded "dont compress" option with the default setting of *.gz *.tgz *.zip *.z *.rpm *.deb 27 years ago socket.cUse MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c instead of 200. Move the defines of True and False to rsync.h. Eliminate the defines of BOOL in loadparm.c and params.c because it is already defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com 27 years ago syscall.cparanoia change - treat list_only like read_only and refuse all syscalls that might change the filesystem. This shouldn't be needed, but I like paranoid coding :) 27 years ago tech_report.texupdates to reflect new samba.org domain the main web site is now http://rsync.samba.org/ 27 years ago test.shadded some notes to test.sh 28 years ago token.cBack out change that treated "refuse options = compress" the same as "dont compress = *", by request of Tridge. Instead, mention the difference in the man page. Also, put in a shortcut in set_compression() to recognize "*" earlier instead of going through malloc/strtok/fnmatch/free cycle. 27 years ago uidlist.cWhen comparing -1 to a group id, cast -1 with gid_t because on some systems such as sunos4 gid_t is an unsigned short. This prevented the just-added non-mapped group test from working on sunos4. 27 years ago util.cWhen a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no> 27 years ago version.hpreparing for release of 2.3.0 27 years ago