Wayne Davison [Tue, 21 Mar 2006 18:06:26 +0000 (18:06 +0000)]
A nice file-attribute maintenance script that lets you restore
permissions, ownership, and group-info on files that may be
different than the originals.
Wayne Davison [Thu, 16 Mar 2006 20:02:36 +0000 (20:02 +0000)]
Make sure that the --relative test creates the implied directories
with user-write permission, and turns any symlinks in the implied
dirs into real dirs.
Wayne Davison [Thu, 16 Mar 2006 00:57:54 +0000 (00:57 +0000)]
- Optimized the msg_list_item structure to make the buffer an
integral part of the structure instead of pointer to a
separately allocated buffer.
- Improved the code that was ensuring that no messages from the
receiver could be merged into the middle of a partially written
buffer from the generator. The new code ensures that we never
avoid reading the messages from the receiver (like we used to).
This ensures that the generator will not hang when the receiver
got a read error on the socket, sent us a message about it, but
the socket in the generator never becomes writable for it to get
a similar error (now we are assured of getting the receiver's
note about their read error, and we know to shut things down).
Wayne Davison [Mon, 13 Mar 2006 16:42:08 +0000 (16:42 +0000)]
Fixed a bug where the NEWS file got an extra newline inserted when
the release date was added. Changed "ln -f" to "cp -p" because
samba.org doesn't allow ln to be used at the moment.
Wayne Davison [Tue, 28 Feb 2006 21:20:08 +0000 (21:20 +0000)]
Decided to drop the dynamically sized hash table for now. This was
due to timing tests showing that the per-byte modulus calculation
slowed down regular sized files. Kept the other improvements
because they lessened our memory use and actually sped up the code.
Wayne Davison [Tue, 28 Feb 2006 00:09:19 +0000 (00:09 +0000)]
- Fixed a problem with the new gettag2() macro by getting rid of the
need for it.
- Fixed a really old bug in the verbose output where it would output
the wrong sum value (off by one).
- Renamed the tag_hit variables & debug output to hash_hit.
Wayne Davison [Mon, 27 Feb 2006 21:16:04 +0000 (21:16 +0000)]
This is Shachar Shemesh's patch for making the hash-table code
work better with large files. I further modified it to eliminate
the extra level of indirectness (and the qsort()), which saves
memory.
Wayne Davison [Fri, 24 Feb 2006 17:54:47 +0000 (17:54 +0000)]
- Document the new --copy-dirlinks option.
- Improved the docs for --no-implied-dirs and --keep-dirlinks
(based on a patch from Matt).
- Improved a few other misc. sentences.
- Shuffled the order of a couple options.
Wayne Davison [Fri, 24 Feb 2006 17:54:35 +0000 (17:54 +0000)]
- Got rid of unused externs.
- Added support for copy_dirlinks.
- Fixed a bug where --copy-links would not affect implied dirs
unless --copy-unsafe-links was also specified.
Wayne Davison [Thu, 23 Feb 2006 00:38:34 +0000 (00:38 +0000)]
Rsync no longer returns a usage error when used with one local
source arg and no destination: this now implies the --list-only
option, just like one remote source arg has always done.
Wayne Davison [Mon, 20 Feb 2006 19:36:56 +0000 (19:36 +0000)]
- Moved the checkout of the cvs source above the version prompting so
that we can use the version from the configure.in file to provide
good default values for the user.
- When moving old tar/diff files into the old-* dirs, first hard-link
them into place, then (if "live"), use rsync to update these new
files on the server (which saves us later re-sending), and _then_
delete the old names.
Wayne Davison [Mon, 20 Feb 2006 17:50:36 +0000 (17:50 +0000)]
Don't try to obey bwlimit restriction until bwlimit_writemax is set.
This fixes a bug with option errors not getting reported because the
write code gets called with bwlimit != 0 and bwlimit_writemax == 0.