Commit Graph

  • 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
  • 7b8356d0bc - detect presence of remsh and use it instead of rsh Andrew Tridgell 1996-10-01 04:12:30 +00:00
  • 280cbb8537 This should fix the bug where file transfer with compression failed with the message 'inflate returned 0 (0 bytes)'. Paul Mackerras 1996-07-15 05:38:20 +00:00
  • 52296954fe add warning if corruption detected Andrew Tridgell 1996-07-12 14:37:25 +00:00
  • fe4d86e446 fix serious corruption bug Andrew Tridgell 1996-07-12 14:36:03 +00:00
  • a06d19e3fc *** empty log message *** Andrew Tridgell 1996-07-05 04:49:32 +00:00
  • 94a3ac55f6 *** empty log message *** Andrew Tridgell 1996-07-04 13:56:53 +00:00
  • 1b01b295c9 added CHAR_OFFSET Andrew Tridgell 1996-07-04 13:08:07 +00:00
  • ebb0a6f618 *** empty log message *** Andrew Tridgell 1996-07-04 10:16:56 +00:00
  • f94e821c78 *** empty log message *** Andrew Tridgell 1996-07-03 08:18:11 +00:00
  • 038406fdfe *** empty log message *** Andrew Tridgell 1996-07-03 08:12:32 +00:00
  • d89322c446 - fixed file time bug - doc updates Andrew Tridgell 1996-07-03 06:24:34 +00:00
  • 5be59dc5b2 fix buglet in handling multiple files Paul Mackerras 1996-07-03 05:28:55 +00:00
  • ef21f8dbff *** empty log message *** Andrew Tridgell 1996-07-03 05:22:09 +00:00
  • 861c20b43d Added in-stream deflate compression for file reconstruction instructions. Paul Mackerras 1996-07-03 04:05:46 +00:00
  • 1cdc8b50a2 check for null unmap Andrew Tridgell 1996-07-03 02:21:47 +00:00
  • b98c7b81d2 save some more bytes by making the checksum smaller Andrew Tridgell 1996-07-02 06:02:36 +00:00
  • 73545f2ccb added seed to file sum Andrew Tridgell 1996-07-02 03:22:08 +00:00
  • 9e31c4824c added resend logic added checksum on all files Andrew Tridgell 1996-07-02 03:19:58 +00:00
  • c6e7fcb42b *** empty log message *** Andrew Tridgell 1996-07-01 23:27:19 +00:00
  • 70d794dce9 added hooks for compression in token.c Andrew Tridgell 1996-07-01 05:55:05 +00:00
  • 57e877a16d get byte order of checksum seed right Andrew Tridgell 1996-06-30 05:02:45 +00:00
  • d7b305fd91 new header tests for sunos Andrew Tridgell 1996-06-30 04:42:04 +00:00
  • 384ab60a95 *** empty log message *** Andrew Tridgell 1996-06-30 04:30:43 +00:00
  • aae43eb38f added checksum seed Andrew Tridgell 1996-06-30 04:29:46 +00:00
  • dc5ddbccac - hard links - better sparse handling - FERROR and FINFO Andrew Tridgell 1996-06-30 03:57:22 +00:00
  • d5ee1f8e7a *** empty log message *** Andrew Tridgell 1996-06-28 15:24:39 +00:00
  • 41ba6938a4 *** empty log message *** Andrew Tridgell 1996-06-28 14:43:49 +00:00
  • 013cae266a *** empty log message *** Andrew Tridgell 1996-06-28 14:27:04 +00:00
  • 6b83141d1e fixed sighup handling Andrew Tridgell 1996-06-28 14:26:15 +00:00
  • 34ccb63e71 new exit/cleanup code Andrew Tridgell 1996-06-28 13:55:41 +00:00
  • 7bec6a5cd6 - handle no mmap for munmap - handle sparse files - add MAX_PROTOCOL_VERSION Andrew Tridgell 1996-06-28 08:01:55 +00:00
  • 7f28dbee65 standard input on server may be nonblocking Paul Mackerras 1996-06-28 07:06:34 +00:00
  • 43a481dc55 added csum-length option Andrew Tridgell 1996-06-27 05:16:15 +00:00
  • 4fe159a81d - improved filename packing - fixed sunos EAGAIN bug Andrew Tridgell 1996-06-27 04:22:19 +00:00
  • e260d7fb48 Fix echo commands for Solaris systems. Paul Mackerras 1996-06-27 01:46:13 +00:00
  • 79fbb6f59b Fix bug where the --delete option was deleting files locally which should have been ignored when the -C option was used. Paul Mackerras 1996-06-27 01:45:24 +00:00