Wayne Davison
c64ca7ef58
Eliminated one variable from hash_search().
2006-02-28 00:31:51 +00:00
Wayne Davison
900cfcb584
- 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.
2006-02-28 00:09:19 +00:00
Wayne Davison
beab3078d6
Added --no-H and --no-hard-links.
2006-02-27 23:35:18 +00:00
Wayne Davison
530a2199da
Mention the hash table change.
2006-02-27 21:29:44 +00:00
Wayne Davison
d9bca0c32f
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.
2006-02-27 21:16:04 +00:00
Wayne Davison
d733de97f5
Added a "chain" item to the struct sum_buf.
2006-02-27 21:11:56 +00:00
Wayne Davison
f06c11ed40
Tweaked a sentence.
2006-02-27 20:53:35 +00:00
Wayne Davison
c638caa63e
In read_sum_head(): if we read a negative checksum count, die
...
with an error.
2006-02-27 03:12:26 +00:00
Wayne Davison
d775372a34
Tweaked a sentence.
2006-02-24 19:50:22 +00:00
Wayne Davison
07affc3d93
Document the latest changes.
2006-02-24 17:58:24 +00:00
Wayne Davison
f2ebbebead
- 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.
2006-02-24 17:54:47 +00:00
Wayne Davison
a695b379b5
Make sure the receiver resets copy_dirlinks (so that it can't
...
affect the delete scan).
2006-02-24 17:54:41 +00:00
Wayne Davison
88c2190a7c
- 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.
2006-02-24 17:54:35 +00:00
Wayne Davison
2dbf36ef55
Added the new --copy-dirlinks (-k) option.
2006-02-24 17:54:30 +00:00
Wayne Davison
cca9208697
Got rid of unused externs.
2006-02-24 16:43:44 +00:00
Wayne Davison
aa37022ef7
A recently added stat() call needed to be do_stat().
2006-02-24 09:35:47 +00:00
Wayne Davison
85c417579f
Made create_directory_path() return -1 if it couldn't create some
...
portion of the filename's path.
2006-02-24 09:34:44 +00:00
Wayne Davison
baed67efc4
Need to define an orig_umask value now that utils.c uses it.
2006-02-24 01:56:29 +00:00
Wayne Davison
c5b7aa1532
The orig_umask value is now a mode_t.
2006-02-24 01:56:26 +00:00
Wayne Davison
904e5af128
The create_directory_path() function no longer takes a base_umask
...
arg.
2006-02-24 01:56:21 +00:00
Wayne Davison
a41d110647
- The orig_umask value is now a mode_t.
...
- Use CHMOD_BITS instead of 07777.
2006-02-24 01:56:18 +00:00
Wayne Davison
a92d6ff13c
Moved the orig_umask variable's definition into main.c since it
...
has nothing to do with option settings.
2006-02-24 01:56:14 +00:00
Wayne Davison
05278935a3
- Call mkdir_defmode() instead of do_mkdir().
...
- Define orig_umask in this file, not options.c.
- Made orig_umask a mode_t, not an int.
2006-02-24 01:56:10 +00:00
Wayne Davison
a56cdef9b1
Call mkdir_defmode() instead of do_mkdir().
2006-02-24 01:56:07 +00:00
Wayne Davison
e9357a2deb
+ Added mkdir_defmode().
...
+ Changed create_directory_path() to drop the (now) unneeded
base_umask arg and to call mkdir_defmode().
2006-02-24 01:56:01 +00:00
Wayne Davison
8d94d27af0
Moved an extern into its proper place.
2006-02-24 01:39:10 +00:00
Wayne Davison
6f2a222c59
One more fuzzy tweak.
2006-02-23 20:29:55 +00:00
Wayne Davison
8470a515ef
Some improved fuzzy-parent-dir logic.
2006-02-23 20:27:17 +00:00
Wayne Davison
06982ac43b
Mention latest fixes.
2006-02-23 20:17:09 +00:00
Wayne Davison
865c3b5f92
The new fuzzy-dir logic once again avoids calling get_dirlist()
...
until a regular file is found in the current parent directory.
2006-02-23 20:00:48 +00:00
Wayne Davison
8c9e06d7b9
Fixed the creation of symlinks and devices when both --relative
...
and --no-implied-dirs are specified and the destination dir does
not yet exist.
2006-02-23 19:43:54 +00:00
Wayne Davison
a9cc128308
Renamed fuzzy_dirname -> parent_dirname.
2006-02-23 19:07:33 +00:00
Wayne Davison
ccb16b467b
Make sure that the --fuzzy option's dir-scan doesn't generate an
...
I/O error when --no-relative is used and the destination dir does
not exist yet.
2006-02-23 18:58:30 +00:00
Wayne Davison
1e44aeb92a
Mention the --list-arg change.
2006-02-23 00:43:17 +00:00
Wayne Davison
c897f7119a
Document the revised --list-only behavior and the ability to use
...
rsync with one local source arg (i.e. no destination).
2006-02-23 00:40:58 +00:00
Wayne Davison
ee8e2b1547
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.
2006-02-23 00:38:34 +00:00
Wayne Davison
5fa38cd679
- Improved the way we generate the tar file.
...
- The second run of verify-patches is in a better spot now.
- Made various improvements to the output.
2006-02-22 19:09:51 +00:00
Wayne Davison
65535b5482
Mentioned that the daemon now logs connections.
2006-02-21 17:19:49 +00:00
Wayne Davison
439a198d02
Log every connect to the daemon.
2006-02-21 17:09:23 +00:00
Wayne Davison
f041b02557
Added a comment.
2006-02-21 00:29:55 +00:00
Wayne Davison
4d8639eb2d
A few more tweaks and fixes.
2006-02-20 19:58:06 +00:00
Wayne Davison
519c8de16f
- 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.
2006-02-20 19:36:56 +00:00
Wayne Davison
7f20af4674
Made the new warning more visible.
2006-02-20 18:35:41 +00:00
Wayne Davison
55d24e5fed
Mention if any of the CVS files we're putting in the tar file
...
aren't up-to-date.
2006-02-20 18:34:27 +00:00
Wayne Davison
81f654e396
Mention a couple more bug fixes.
2006-02-20 18:03:55 +00:00
Wayne Davison
8f1dc165e2
A brief msleep() in option_error() may be helpful to ensure that
...
an option error always arrives intact from the remote rsync.
2006-02-20 17:58:13 +00:00
Wayne Davison
9a0cfff57f
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.
2006-02-20 17:50:36 +00:00
Wayne Davison
d749eb6896
When starting up a transfer, substitute the remember_children()
...
SIGCHLD handler in place of the minimal one that socket.c enabled.
2006-02-20 17:17:51 +00:00
Wayne Davison
6d59ac192b
Made the formerly static sigchld_handler() available as a
...
public function named remember_children().
2006-02-20 17:16:21 +00:00
Wayne Davison
94d3725cf2
In dest_mode(), we now apply any "incoming chmod" changes from
...
the daemon.
2006-02-20 00:01:27 +00:00