Commit Graph

  • 6d7b6081ac damn! Andrew Tridgell 2000-01-29 04:50:01 +00:00
  • 31b7d79afe I've decided that this release will be 2.4.0, updated version to 2.4.0pre1 Andrew Tridgell 2000-01-29 03:11:07 +00:00
  • b2999e457f don't need PIPE_BUF any more Andrew Tridgell 2000-01-29 02:56:36 +00:00
  • 0f3203c312 fixed some logcode warnings Andrew Tridgell 2000-01-29 02:49:03 +00:00
  • a2edb26cd6 fixed a bug in test suite that I introduced yesterday Andrew Tridgell 2000-01-29 02:39:52 +00:00
  • 9bec528606 runtime detect fnmatch() bug if ** is used. Andrew Tridgell 2000-01-29 02:35:01 +00:00
  • 2f0e3b30a9 changed version to 2.3.3pre2 Andrew Tridgell 2000-01-28 15:35:08 +00:00
  • ff41a59f58 - switched on multiplexing for all connections, not just daemon connections (this fixes the stderr/stdout problem). Upped protocol version for backward compat - use multiplexing on error fd - upped minimal protocol version - got rid of some ugly code in the write buffering Andrew Tridgell 2000-01-28 15:29:59 +00:00
  • 08f15335b5 switch to using socketpair instead of pipe if possible. This fixes the ssh clag problems as long as you also fix the same problem in sshd Andrew Tridgell 2000-01-28 12:37:58 +00:00
  • bd36966bed report exit code when failing a test Andrew Tridgell 2000-01-27 04:54:02 +00:00
  • f76933b149 fixed the error code problem with test.sh (was a minor bug in send_file_list) Andrew Tridgell 2000-01-27 04:53:39 +00:00
  • 378a074c82 patch from James Delahanty <jimd@gie.com> to make --backup-dir work cross-filesystem Andrew Tridgell 2000-01-27 02:45:56 +00:00
  • c36cd31713 the convoluted nest of #ifdefs that is fnmatch.c caught us again. On my system the LIBC tests meant it never compiled and we used the broken system one. Andrew Tridgell 2000-01-25 14:17:21 +00:00
  • 5e12ce1186 fix segv bug in --progress handling Andrew Tridgell 2000-01-25 13:16:42 +00:00
  • 166aa72332 patch from David Murn to make sure the final 100% is always printed when using --progress Andrew Tridgell 2000-01-25 06:39:33 +00:00
  • f9f6184f38 updated version.h Andrew Tridgell 2000-01-25 01:33:05 +00:00
  • f625af9400 updated config.guess from latest autoconf CVS tree Andrew Tridgell 2000-01-24 13:12:20 +00:00
  • fc7952e7f3 updated --password-file docs Andrew Tridgell 2000-01-24 12:28:45 +00:00
  • cbce490e13 reinstated the MAX_READ_BUFFER code. Its a nasty tradeoff - using lots of memory vs. ssh bugs. uggh. Andrew Tridgell 2000-01-24 12:23:39 +00:00
  • 74a7f81d57 updated a debug message Andrew Tridgell 2000-01-24 12:22:58 +00:00
  • 5b5591d8a8 make the replacement inet_aton() function independent of inet_addr(). Some systems were detecting a missing inet_aton(), but actually had it and inet_addr() called it, causing infinite recursion Andrew Tridgell 2000-01-24 12:02:44 +00:00
  • c55f70218c fixed a rare SEGV that can happen when a file disappears (due to another program) during an update Andrew Tridgell 2000-01-24 11:41:08 +00:00
  • 6957ae33a9 moved file deletion to before the fork() to prevent a race condition pointed out by byrnes@curl.com Andrew Tridgell 2000-01-24 11:20:25 +00:00
  • 8a5d6bba09 don't use stderr after we become a daemon Andrew Tridgell 2000-01-24 09:19:44 +00:00
  • 1d2c275fff I can't believe it - solaris allows unlink of a non-empty directory as root, leaving a corrupt filesystem. Are those guys on drugs? Andrew Tridgell 2000-01-24 09:13:39 +00:00
  • d0fd26aa16 added some more debug info to the "buffer overflow in receive_file_entry" message Andrew Tridgell 2000-01-24 08:16:57 +00:00
  • e20c5e9521 -a now implies -o and -D whether you are root or not Andrew Tridgell 2000-01-24 05:52:44 +00:00
  • 66203a982b added --backup-dir option from Bob Edwards this is very useful for incremental backups Andrew Tridgell 2000-01-24 04:58:53 +00:00
  • b315601ce0 removed Daves include-only optimisation. One of the bug reports turned out to be caused by it and it seems rather a lot of extra effort for what must really be a minor optimisation in most cases Andrew Tridgell 2000-01-23 13:16:30 +00:00
  • 5f808dfbd7 fix a problem with files > 2GB (thanks to T.J.Adye@rl.ac.uk) Andrew Tridgell 2000-01-23 12:30:34 +00:00
  • 0b73ca12fa added --max-delete option Andrew Tridgell 2000-01-23 11:43:04 +00:00
  • 03e2d0e329 fixed mdfour code on Cray (64 bit problems) Thanks to roebel@kgw.tu-berlin.de Andrew Tridgell 2000-01-23 11:26:10 +00:00
  • 182517e692 removed u_sleep() as it is no longer used anywhere Andrew Tridgell 2000-01-23 07:38:20 +00:00
  • 554e0a8dd0 added some really ugly code to allow errors to propogate to clients when writing to a rsync server Andrew Tridgell 2000-01-23 07:36:56 +00:00
  • b0f3f5784c open on paths starting with // fails on win32 Andrew Tridgell 2000-01-23 03:00:27 +00:00
  • 3060d4aa1d handle systems that don't take a 2nd argument to gettimeofday() Andrew Tridgell 2000-01-23 02:16:51 +00:00
  • 1347d5126a added --existing option, similar to one suggested by Gildas Quiniou <gildas@stip.fr> Andrew Tridgell 2000-01-23 01:53:18 +00:00
  • 5d1e1dcf4b don't try to write errors to a dead socket Andrew Tridgell 2000-01-23 01:11:43 +00:00
  • 74f5442401 Make all the rsync objects dependent on all the header files except the zlib header fiels in Makefile.in. I've been burned several times because objects did not get rebuilt when header files changed. David Dykstra 2000-01-10 22:39:45 +00:00
  • c08bb0fb73 Needed to comment out the inclusion of headers in fnmatch.c because it couldn't find some of them (especially <fnmatch.h>, because it wasn't looking in the current directory). The header files are included better from ../rsync.h. David Dykstra 2000-01-10 20:36:20 +00:00
  • e30f065766 make --address work for a client connecting to a server Andrew Tridgell 2000-01-10 04:49:51 +00:00
  • 9dce9b45b3 Upgrade lib/fnmatch.[ch] to the latest from glibc-2.1.2 because the FNM_PATHNAME flag (to stop at slashes in path names) was not working. David Dykstra 2000-01-07 17:58:44 +00:00
  • 60be6acf46 If a destination file cannot be opened, pretend it doesn't exist rather than skipping it and thus not updating it. For example, the ownership or mode on a file may prevent opening it, but the directory may still be writable so the file could be completely replaced. David Dykstra 2000-01-06 16:15:36 +00:00
  • a5827a28d2 when we do a lchown() on a file we have to flush the cached perms on the file if the file has the setuid or setgid bits set as the chown has a side effect of removing the setuid and setgid bits. we re-do the stat in this case Andrew Tridgell 2000-01-06 00:26:00 +00:00
  • dcc875e41e Define the WEXITSTATUS macro for systems that don't have it. David Dykstra 1999-12-29 21:11:57 +00:00
  • 128cf58433 When writing to a daemon with read only = false and uid = root and -g, was not preserving group permisions. Bug was introduced March 1 in version 1.100 of rsync.c with an error in re-ordering of the boolean expressions. In order to completely preserve the earlier semantics, change_gid should depend on "(am_root || !am_daemon)", but I don't see why group ownership should behave differently in a non-root daemon. David Dykstra 1999-12-29 20:50:48 +00:00
  • 7e0ca8e2f0 When not using -p and file being copied to already existed, was mistakenly using all the mode bits of the existing file rather than just the permissions, including the file type. David Dykstra 1999-12-29 20:45:23 +00:00
  • d79d1c69f7 fixed a bug with waitpid() - I'd forgotten about WEXITSTATUS ! Andrew Tridgell 1999-12-09 06:46:11 +00:00
  • a7d068abff fixed man page typo Andrew Tridgell 1999-12-03 04:24:25 +00:00
  • 7f931a0002 fixed a segv bug when handling symlinks. Andrew Tridgell 1999-12-02 05:50:09 +00:00
  • 07b7c86c06 don't write more than PIPE_BUF bytes in any one write() in io.c this makes sure that the write never blocks. Andrew Tridgell 1999-11-23 08:43:16 +00:00
  • 1f5c6343e6 removed old non-blocking fd code (a hangover from a earlier version of io.c). Thanks to Theo for pointing out this brokenness. Andrew Tridgell 1999-11-15 01:32:20 +00:00
  • 290b615a16 preparing for release of 2.3.2 v2.3.2 rsync-bugs 1999-11-08 13:15:48 +00:00
  • 57df171bc0 added --delete-after option (suggested by Jason) Andrew Tridgell 1999-11-08 13:03:05 +00:00
  • f08baea3dd removed ACCESSPERMS mask when transferring a file without perms copy. This makes us match GNU cp more closely. Andrew Tridgell 1999-11-08 10:47:14 +00:00
  • 2fb139c11b fixed passing of directory exclude options to remote side (thanks to andrewdagger@xerox.gbr.com) Andrew Tridgell 1999-11-08 09:12:42 +00:00
  • 3420c8e6e0 Fixed bug introduced by calling do_open() for O_RDONLY files. Changed it so the check for dry_run and CHECK_RO are not done when flags is O_RDONLY. Only do the adding of O_BINARY, which was the intention. David Dykstra 1999-11-04 15:43:38 +00:00
  • b17bc22bb3 added a replacement inet_aton() for systems that don't have it. Andrew Tridgell 1999-11-01 21:35:15 +00:00
  • 3adffb52e6 forgot to commit the fnmatch.h changes Andrew Tridgell 1999-11-01 21:25:39 +00:00
  • 4df9f36841 solved the problem of not using the right permissions when preserve_perms is off. Andrew Tridgell 1999-10-31 04:28:03 +00:00
  • 5c9730a46c added --address option for virtual hosting Andrew Tridgell 1999-10-31 03:21:02 +00:00
  • d9fcc198cf added -P option Andrew Tridgell 1999-10-31 02:47:30 +00:00
  • c831379436 updated test suite from Phil. Andrew Tridgell 1999-10-31 02:39:34 +00:00
  • d73ee7b70e updated rsync-path man page entry Andrew Tridgell 1999-10-31 02:37:21 +00:00
  • cda2ae84b3 added "ignore errors" option in rsyncd.conf Andrew Tridgell 1999-10-31 02:19:24 +00:00
  • e7d6e0aa0c updated the configure test for fnmatch() to see if FNM_PATHNAME is working correctly. Andrew Tridgell 1999-10-27 13:17:16 +00:00
  • 8c9fd200f9 use do_open() instead of open() in several places to help the WinXX port and O_BINARY Andrew Tridgell 1999-10-25 22:04:09 +00:00
  • 79f118d859 Minor change suggesting people put in the right path in inetd.conf. Suggested by Roger Price <rprice@cs.uml.edu> David Dykstra 1999-10-19 17:50:39 +00:00
  • 7b10f91d8f added a note about using -v with --progress Andrew Tridgell 1999-09-06 02:04:20 +00:00
  • 3d19b4c83e separated out the make_backup code in preparation for some patches from Bob Edwards Andrew Tridgell 1999-08-30 08:19:47 +00:00
  • 79452d4693 Add a couple clarifying points to the sanitize_path() comments. David Dykstra 1999-07-09 17:07:59 +00:00
  • cb13abfed0 Fix significant security holes with "use chroot = no" in an rsync daemon: David Dykstra 1999-07-09 15:49:46 +00:00
  • 0503f06089 continue calling waitpid() while still reapingchildren (patch from Matti Aarnio) Andrew Tridgell 1999-06-27 04:12:12 +00:00
  • f855a7d01a fixed a bug that made us use only 16 bits of the file checksum when comparing checksums for the --checksum (-c) option. Andrew Tridgell 1999-06-26 01:06:38 +00:00
  • 4c3b4b2557 added RSYNC_PROXY support from Stephen Rothwell. This allows access to rsync servers via a web proxy (useful for getting through firewalls) Andrew Tridgell 1999-04-13 03:53:30 +00:00
  • 79b5aa09a0 preparing for release of 2.3.1 v2.3.1 rsync-bugs 1999-04-06 15:09:28 +00:00
  • 9bd6597666 set the exit code to RERR_FILEIO is io_error is set when we exit. This catches most sorts of io errors and ensures we report a error in our exit status. Andrew Tridgell 1999-04-06 14:52:32 +00:00
  • 6fe076b3d7 these aren't used any more Andrew Tridgell 1999-04-06 14:17:44 +00:00
  • cec8aa7724 handle the case of an empty file list in get_local_name Andrew Tridgell 1999-04-06 12:30:36 +00:00
  • 4c36a13ef2 don't abort the server side if the file list is empty (perhaps because all files have been excluded). Andrew Tridgell 1999-04-06 12:28:54 +00:00
  • 24986abd07 note in the man page that: Andrew Tridgell 1999-04-06 11:52:45 +00:00
  • 8dfac376b5 fix the man page to reflect the fact that exclude options in rsyncd.conf are not passed to the client and thus only affect the file lists on the server. Andrew Tridgell 1999-04-06 11:34:06 +00:00
  • e78733d975 fixed a nasty bug in the handling of "local_name" when setting the permissions on directories after a transfer. Andrew Tridgell 1999-04-06 10:56:18 +00:00
  • dffba35e01 quote RPM_OPT_FLAGS patch from racke@linuxia.de Andrew Tridgell 1999-04-06 10:27:34 +00:00
  • bd4ed7f719 Small bug fix for the --compare-dest option: when a file's contents hadn't changed but its permissions had, the file wasn't copied but its permissions were attempted to be set anyway. Made a change to skip setting the permissions in that case. David Dykstra 1999-04-02 18:24:27 +00:00
  • 752eaba41f Backed out the change to create missing parent directories when using --compare-dest. It was due to an incomplete analysis of the problem, sorry. I left a comment in its place indicating that normally the parent directories should already have been created. David Dykstra 1999-03-24 19:28:03 +00:00
  • ad517ce5b3 The "pid file" was getting created mode 666, not applying the umask because at that point in the program the umask is set to 0. Now creating the file with mode (666 & ~orig_umask). David Dykstra 1999-03-24 16:39:07 +00:00
  • 1f8413449d Fix bug with --compare-dest option where missing parent directories in the target destination were not getting created. There was a case in receiver.c to do that but it was only getting invoked when the -R option is specified, although I don't know why it was limited to that. David Dykstra 1999-03-23 22:20:10 +00:00
  • d0a7c8a487 preparing for release of 2.3.0 v2.3.0 rsync-bugs 1999-03-15 21:23:26 +00:00
  • ebb00c8e29 Changed the protocol version to 20 so that --stats will work without -v in both directions. David Dykstra 1999-03-15 21:17:58 +00:00
  • 6543dc0c4c Fix typo in comment in rsync.h, suggested by bje@cygnus.com David Dykstra 1999-03-15 17:04:22 +00:00
  • e459239d27 Make a special version number 2.3.0-beta for a short period because I'll be encouraging extra testing before the release. David Dykstra 1999-03-12 21:45:37 +00:00
  • 651443a7ff Allow + and - in the "include" and "exclude" directives in rsyncd.conf. Patch submitted by Damian A Ivereigh <damian@cisco.com> David Dykstra 1999-03-12 21:42:51 +00:00
  • 79fc6bdb45 Include 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. David Dykstra 1999-03-12 18:21:53 +00:00
  • 245fbb5129 When -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. David Dykstra 1999-03-12 17:36:52 +00:00
  • c7c11a0d4c When 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> David Dykstra 1999-03-11 22:17:42 +00:00
  • c27f25922e Check for EINVAL from a rename error call in addition to ENOENT because David Campbell <david@pastornet.net.au> reported that that helps data be received onto a windows box running cygwin b19. David Dykstra 1999-03-09 21:55:16 +00:00
  • af21c12fbc Add distclean target to Makefile.in. David Dykstra 1999-03-09 21:47:18 +00:00
  • 32b1f1de0e Update config.sub to the latest from automake in addition to config.guess. David Dykstra 1999-03-09 21:46:15 +00:00
  • 529e60864f Update 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). David Dykstra 1999-03-05 16:37:44 +00:00