Commit Graph

  • 1b2d733af2 a couple more system calls wrapped in syscall.c Andrew Tridgell 1998-04-05 06:26:24 +00:00
  • 366345fe05 in local->local mode don't use exec to start the "remote" rsync, instead just fork() Andrew Tridgell 1998-04-05 06:07:37 +00:00
  • dd04a03440 fixed a bug in the hlink code - it wasn't taking account of the new pointer list code for flist. Andrew Tridgell 1998-04-05 04:34:52 +00:00
  • 575f2fca9a fixed a string termination bug in the uidlist handling code. I've also added a read_sbuf() routine that fixes this kind of bug generically to avoid similar problems in future. Andrew Tridgell 1998-04-01 05:20:19 +00:00
  • fc4e8d51ff don't need to test for SETPGRP any more as it is no longer used Andrew Tridgell 1998-03-27 03:38:06 +00:00
  • 98ae8c3e38 Solaris uses EEXIST instead of ENOTEMPTY. Andrew Tridgell 1998-03-27 03:04:34 +00:00
  • 49f4b973a1 preparing for release of 1.7.1 v1.7.1 rsync-bugs 1998-03-26 06:11:18 +00:00
  • a070c37b7e fixed a bug I introduced in the last big commit Andrew Tridgell 1998-03-26 06:09:04 +00:00
  • 17faa41c7d added some debugging code Andrew Tridgell 1998-03-26 05:48:37 +00:00
  • a90da9985a preparing for release of 1.7.0 v1.7.0 rsync-bugs 1998-03-26 04:53:37 +00:00
  • 8a24eece38 updated README and man page ready for the new release Andrew Tridgell 1998-03-26 04:43:10 +00:00
  • 6ba9279fb2 - added an internal io_error flag. Whenever an io error occurs (such as not being able to open a directory) this flag is set and propogated to the other end. When this flag is set the --delete code is disabled. This prevents the problem that io or permission errors could cause files to be incorrectly deleted on the destination. Andrew Tridgell 1998-03-26 04:18:47 +00:00
  • 5fb543d587 if rsync fails to update the group of a file but nothing else then don't report a problem. On most OSes non-root users can't change the group of a file. Andrew Tridgell 1998-03-26 00:32:51 +00:00
  • 0c5f37d9db when using -x to stop at filesystem boundaries, include the mount points but not their contents. Andrew Tridgell 1998-03-26 00:11:50 +00:00
  • 42849e9202 add the dummy file to .cvsignore Andrew Tridgell 1998-03-25 11:28:35 +00:00
  • a746eb9de0 - fixed a bug in the utimbuf test Andrew Tridgell 1998-03-25 11:26:20 +00:00
  • 71c4617611 - on systems (such as intel linux) where off_t is 32 bits but "long long" is 64 bits use long long to get the totals right when transferring more than 2^32 bytes of data. Andrew Tridgell 1998-03-25 11:08:32 +00:00
  • 3cb6f5d6cb added a --force option. Andrew Tridgell 1998-03-25 06:05:47 +00:00
  • 366bd9056c changes to make VPATH work correctly, thanks to patl@cag.lcs.mit.edu Andrew Tridgell 1998-03-25 04:14:18 +00:00
  • ac71984aae added this so the lib directory gets created when using VPATH Andrew Tridgell 1998-03-25 04:13:17 +00:00
  • 649d65edf3 - fixed a bug wth the handling of duplicate names with the new fist structures Andrew Tridgell 1998-03-25 03:34:52 +00:00
  • 7796395a0a don't show basedir in printed path (a aesthetic change only) Andrew Tridgell 1998-03-25 01:59:23 +00:00
  • 76076c4bbd fixed the problem where you couldn't specify multiple remote filenames. The fix will need some testing. Andrew Tridgell 1998-03-25 00:40:47 +00:00
  • f92ef572b9 check a few HAVE_* macros Andrew Tridgell 1998-03-24 06:42:11 +00:00
  • 7308bd66e0 added chmod() and chown() to syscall.c Andrew Tridgell 1998-03-24 06:39:16 +00:00
  • 0d0e2e93e8 test for "long long" and %lld in configure. Andrew Tridgell 1998-03-23 14:46:03 +00:00
  • 31e125226d added wrappers around all the system calls that can change what is on disk. The wrappers check for dry_run. Andrew Tridgell 1998-03-23 13:25:30 +00:00
  • 3a6a366fc5 finished 64 bit file offset support. Hopefully rsync can now transfer files up to 2^64 bytes in size. Now I just need to find enough disk space to test this :-) Andrew Tridgell 1998-03-23 12:52:57 +00:00
  • 0b91056090 started to add some 64 bit file offset support - not complete yet Andrew Tridgell 1998-03-23 08:49:48 +00:00
  • a76a0039fc label this version 1.7.0alpha Andrew Tridgell 1998-03-23 07:26:14 +00:00
  • 2d0bb8eb0f save some more memory by only allocating the checksum when needed Andrew Tridgell 1998-03-23 07:25:21 +00:00
  • e7ebc36c70 if the file changes during transfer then don't loop forever trying to update it Andrew Tridgell 1998-03-23 07:11:51 +00:00
  • 1aa71c8d57 don't adapt the block size to above half the chunk size Andrew Tridgell 1998-03-23 06:26:08 +00:00
  • bd39e9d263 prototype update Andrew Tridgell 1998-03-23 04:47:40 +00:00
  • 3ba62a8308 - keep a list of pids and send them a SIGUSR1 for cleanup rather than using setpgrp() Andrew Tridgell 1998-03-23 04:44:44 +00:00
  • feaa89c410 for systems with a broken select use u_sleep() to ensure the write process doesn't chew too much cpu time. Andrew Tridgell 1998-03-23 04:14:21 +00:00
  • 3ec4dd9781 a large change to make rsync much more memory efficient. This is done in 3 ways: Andrew Tridgell 1998-03-23 03:45:02 +00:00
  • ec0e5ac001 compatibility functions now split into their own file Andrew Tridgell 1998-02-24 11:54:10 +00:00
  • 1e9f155ade *** empty log message *** Andrew Tridgell 1998-01-27 17:51:37 +00:00
  • 6bbbc08b83 *** empty log message *** v1.6.9 Andrew Tridgell 1998-01-13 19:25:59 +00:00
  • 13dc412d76 *** empty log message *** Andrew Tridgell 1998-01-13 19:19:48 +00:00
  • 950ab32d38 *** empty log message *** Andrew Tridgell 1998-01-13 18:35:10 +00:00
  • d0390cd384 *** empty log message *** Andrew Tridgell 1998-01-13 17:16:14 +00:00
  • f6c347425a *** empty log message *** Andrew Tridgell 1998-01-13 15:57:26 +00:00
  • 3b3a2fbcf0 *** empty log message *** Andrew Tridgell 1998-01-06 16:53:52 +00:00
  • 95a38e8684 cosmetic changes only - minor correction to --update docs - don't print "building file list" stuff when building a local file list for use in the --delete code. - remove some spaces at the end of lines in Makefile.in Andrew Tridgell 1998-01-05 23:30:44 +00:00
  • c778aaa048 *** empty log message *** Andrew Tridgell 1998-01-01 15:53:05 +00:00
  • 3fac9b6e93 removed the read_write() call, it's not used anywhere Andrew Tridgell 1997-12-31 16:48:11 +00:00
  • 964ca2eca5 simplified the logic of whether to skip a file or not. The -c (always_checksum) option is probably now more useful. Andrew Tridgell 1997-12-31 16:39:34 +00:00
  • 684b4e3113 buffer overflow patches from mhpower@mit.edu (Matt Power) Andrew Tridgell 1997-12-30 17:36:58 +00:00
  • dc7a947853 fixed the --suffix option. It wasn't being propogated to the remote end in the server_options() function. Andrew Tridgell 1997-12-30 10:54:47 +00:00
  • b73c59a2c4 preparing for release of 1.6.8 v1.6.8 rsync-bugs 1997-12-28 22:28:21 +00:00
  • f3644f1f2d - added a debug message - rebuilt prototypes Andrew Tridgell 1997-12-28 22:26:51 +00:00
  • e3cd198f8e - fixed spelling errors in man page - fixed bug in hard link handling that could lead to spurious hard links. - fixed bug in the string handling in flist.c Andrew Tridgell 1997-12-28 22:13:40 +00:00
  • 5c36219d40 following a report of problems with Linux/alpha I've changed zlib.c to use uint32 instead of "long" in several places. Apparently this fixes things on the alpha. The strange thing is that my own tests on a OSF/alpha box and a 64 bit IRIX box showed no problems. I wonder what was actually going wrong? I'll email the zlib maintainers and let them know. Andrew Tridgell 1997-12-18 11:18:32 +00:00
  • f0e5517fb8 added a new mirror site to the README Andrew Tridgell 1997-12-18 11:13:27 +00:00
  • 18463a5a5a preparing for release of 1.6.7 v1.6.7 rsync-bugs 1997-12-17 11:19:01 +00:00
  • 82306bf6d6 *** empty log message *** Andrew Tridgell 1997-12-17 11:07:17 +00:00
  • cbbe489208 handle things more grecefully when one machine supports hard links and the other doesn't or one machine supports soft links and the other doesn't. Andrew Tridgell 1997-12-16 23:09:22 +00:00
  • 6dd1782c42 - check for setlinebuf() in autoconf. Apparently HPUX doesn't have it - use @exec_prefix@ and @prefix@ in more useful ways in Makefile.in Andrew Tridgell 1997-12-16 22:39:55 +00:00
  • fee64929a3 fixed a bug in the handling of the new --relative option. The file was being opened twice but closed once. The process eventually died with an out of file descriptors error. Andrew Tridgell 1997-12-16 20:29:35 +00:00
  • bf5e5f68d9 preparing for release of 1.6.6 v1.6.6 rsync-bugs 1997-12-16 18:20:10 +00:00
  • 12384c3aff Checker showed that zlib was using a element of its internal state structure without initialising it. Although it looks harmless I've added a bzero() to make absolutely sure that the code behaves consistently across platforms. Andrew Tridgell 1997-12-16 18:18:02 +00:00
  • d966ee254a fixed a nasty bug in the handling of the --delete option when there are duplicate file names in the list of files to be transferred (eg. the user specifies the same file twice). Andrew Tridgell 1997-12-16 17:59:49 +00:00
  • 97d6916e2d #if 0 the write exception code for the moment. I need to work out why it gets a successful write select on a fd followed by a EAGAIN write yet the fd is still OK. Andrew Tridgell 1997-12-16 09:25:17 +00:00
  • 6296e7b0cb preparing for release of 1.6.5 v1.6.5 rsync-bugs 1997-12-16 09:14:47 +00:00
  • f80b1be0ed added .cvsignore to the .cvsignore file to prevent it from being distributed when I run the release script Andrew Tridgell 1997-12-16 09:14:18 +00:00
  • 9a52223bce - fixed the "write exception" error. I was resetting got_select at the wrong point - fixed a seg fault error in flist.c - only print hlink debug messages when using -v Andrew Tridgell 1997-12-16 08:48:36 +00:00
  • 2b7e9042b6 preparing for release of 1.6.4 v1.6.4 rsync-bugs 1997-12-15 23:08:30 +00:00
  • 527cea662a - fixed an off by 1 bug in the hard link support - added a note about anonymous cvs access to the source code in the README Andrew Tridgell 1997-12-15 22:54:23 +00:00
  • 7c59690640 process directory permissions and times ater hard links becuase the hard link processing can modify the directory times Andrew Tridgell 1997-12-15 22:23:30 +00:00
  • 1634f4c459 casting cleanups (rsync now compiles cleanly under IRIX 6.4) rsync-bugs 1997-12-15 21:41:33 +00:00
  • 13a1f7929e some people are now using rsync as a public server, using various patches or wrappers. One problem with this is that rsync was not written with this in mind and wasn't very careful about possible stack overflows etc which could lead to security breaches. This wasn't a problem when run in the traditional way as any user that can run rsync can login anyway and cause much more damage that way. This patch attempts to close possible stack overflow problems. I've checked for all strcpy(), strcat(), sprintf() and memcpy() overflows. I would appreciate it if someone else with a devious mind could also go through the rsync source code and see if there are any other stack overflows possible. Let me know if you do. Andrew Tridgell 1997-12-15 21:35:37 +00:00
  • e92338c82d several changes: - by popular demand I have changed the behaviour of the --delete option. It should now work as "expected" for even those people silly enough not to read the man page. rsync will now only look for candidate files/directories to delete in directories that are explicitly transferred from the sender - updated the README a bit - try to fail a bit more gracefully when rsync runs out of disk space. I don't think this issues is fully resolved yet Andrew Tridgell 1997-12-15 21:04:04 +00:00
  • 58da1efac1 minor cleanups (unused variables etc) rsync-bugs 1997-12-15 19:11:24 +00:00
  • 05a6556d06 only include sys/mod.h if S_ISLNK is not already defined. This allows things to work on aix without causing broken sgi headers files to spew lots of complaints rsync-bugs 1997-12-15 18:36:21 +00:00
  • 628ba800e4 bugfix from Kenji Miyake <kenjim@fix.co.jp> this fixes a off by 1 error that could cause rsync to crash when used with --delete Andrew Tridgell 1997-12-15 18:01:15 +00:00
  • ce2ac5ac3f patch from Jim Meyering <meyering@eng.ascend.com> - fixed typos in man page - use @CFLAGS@ in Makefile.in, allowing override on command line Andrew Tridgell 1997-12-15 17:57:28 +00:00
  • aa7ed20141 setup line buffering for debug messages Andrew Tridgell 1997-12-15 17:46:58 +00:00
  • f9c5162020 be a bit more friendly on systems that behave badly (consume lots of ram) when you realloc() up by a small amount at a time Andrew Tridgell 1997-12-15 17:29:51 +00:00
  • fdd71e177d include sys/socket.h if possible (this should make rsync compile cleanly on SCO) Andrew Tridgell 1997-12-15 16:27:04 +00:00
  • 6574b4f7d9 added a --relative (== -R) option. This is what Anthony Thyssen suggested on the list recently. See the man page entry for details but basically it changes the behaviour so that paths are not stripped, thus allowing you to specify a single rsync command to sync lots of directories/files while preserving the full path name of each file. also fixed a bug in the handling of umasks when both the source and destination machines are local. We need to reset the umask before the exec to ensure that the child gets a correct umask. Andrew Tridgell 1997-12-15 14:43:27 +00:00
  • 0cfcfa29e2 added some more debug info to the "EOF in map_ptr" error message to try to make it easier to track down what is going wrong. Jarom, can you let me know what output this gives? PS: the cvs commit messages for rsync are now sent to the rsync mailing list. This will allow everyone to see what changes are being made. Andrew Tridgell 1997-12-15 13:38:06 +00:00
  • 0aeee8c1c8 damn, I had implicitly assumed signed characters when writing the rolling checksum code. The result is that rsync worked much more slowly when going between two machines where one of the machines uses signed and the other unsigned chars. The rolling checksum rarely matched so effectively a copy was done in many cases. The data always came through correctly so no file corruption occurred but it's pretty pointless using rsync if it doesn't speed things up! I've now made the sign of the chars explicit Andrew Tridgell 1997-12-15 12:37:40 +00:00
  • 05c629f778 I think I've (finally) fixed the problem with rsync periodically freezing when used with ssh. The problem is really the ssh use of blocking calls. rsync has had a fix for this for a while which relies on using non-blocking calls itself and then reading any data from the incoming fd when trying to write, thus ensuring that the incoming fd doesn't get full. The problem was the the incoming fd wasn't added to the select statement, which meant that new data arriving on the fd only got read when the select timed out, which happens every 10 seconds. Thus things could slow to a crawl! The incoming fd is now in the select call, and this seems to fix the problem. Andrew Tridgell 1997-12-15 12:33:15 +00:00
  • e950ec72c4 don't use WRAP as that maybe be defined in standard includes Andrew Tridgell 1997-10-30 08:13:32 +00:00
  • 5b62eeed08 fix version number Andrew Tridgell 1997-10-30 08:07:38 +00:00
  • e9d4e304ea send "." filenames so the other end knows that a directory was sent Andrew Tridgell 1997-10-30 08:07:28 +00:00
  • 10ce5fbf35 fix spelling error Andrew Tridgell 1997-10-30 08:06:46 +00:00
  • 773f2bd47f minor updates Andrew Tridgell 1997-07-10 01:12:36 +00:00
  • 774ef68f00 minor bugfixes Paul Mackerras 1997-04-11 06:18:02 +00:00
  • b8d4524b4f Fixed bug in receiving 32kB compressible files Paul Mackerras 1996-11-06 04:49:53 +00:00
  • ff49baad6f *** empty log message *** Andrew Tridgell 1996-10-02 06:33:58 +00:00
  • 1482e93af0 added info on european mirror of rsync Andrew Tridgell 1996-10-02 06:33:49 +00:00
  • f80621049e Fix compression bug where incompressible files weren't transmitted correctly. Paul Mackerras 1996-10-02 04:20:22 +00:00
  • 24d95c034f move check for remsh after config.h Andrew Tridgell 1996-10-01 12:04:47 +00:00
  • a3418f2e97 change BAD to ZBAD to avoid conflict with some systems Andrew Tridgell 1996-10-01 06:44:00 +00:00
  • 8bf737494f - check for sys/select.h Andrew Tridgell 1996-10-01 06:40:36 +00:00
  • 432b0fbdc9 - added info on the mailing list Andrew Tridgell 1996-10-01 04:31:34 +00:00
  • d8ba14b176 update to version 1.6 Andrew Tridgell 1996-10-01 04:13:03 +00:00