Wayne Davison
9556f156a9
Make it clearer which configure files changed.
2008-11-15 15:31:38 -08:00
Wayne Davison
aade88bfc2
An ftruncate() failure should result in FERROR_XFER.
2008-11-15 14:50:40 -08:00
Wayne Davison
3795dafd97
Change clean_fname() to keep "//" at the start for cygwin.
2008-11-15 14:18:36 -08:00
Wayne Davison
e4ed195bb7
Change some size_t vars to ints.
2008-11-11 18:06:11 -08:00
Wayne Davison
faf980ffb5
Make sparse_seek an OFF_T (pointed out by Pedro Valasco).
2008-11-11 18:05:27 -08:00
Wayne Davison
b3ad9649bc
A "make reconfigure" doesn't stop if configure changes.
2008-11-11 15:55:14 -08:00
Matt McCutchen
d4d56eed8a
Add flist_find_ignore_dirness() and change delete_in_dir() to use it.
...
This fixes an issue with -K noticed by eric casteleijn, avoids some
inconsistent itemizing when a file/dir is replaced by a dir/file,
and removes a now-obsolete chunk of code from make_file().
2008-11-10 07:05:21 -08:00
Wayne Davison
3ce3cabe34
Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file.
2008-11-09 21:37:04 -08:00
Wayne Davison
9411292489
Fixed a bunch of "warn_unused_result" compiler warnings.
2008-11-09 18:56:21 -08:00
Wayne Davison
b4de848d75
Avoid a potential hang when --remove-*-files is active.
2008-11-09 17:59:11 -08:00
Matt McCutchen
89cb47212e
The protect filter automatically added with --backup is not perishable
...
(see f41152d393 ), so remove the inaccurate
"p" from the man page. Noticed by Jacob Balazer:
http://lists.samba.org/archive/rsync/2008-November/022022.html
2008-11-02 20:52:27 -08:00
Wayne Davison
1049378d9c
Mention rsync's definition of client and server.
2008-10-25 09:43:50 -07:00
Wayne Davison
9ddc2b64da
Fixed our supplied getnameinfo()'s ability to do a reverse lookup,
...
as reported in bug 5851.
2008-10-25 09:21:13 -07:00
Wayne Davison
b3347e2a03
Adding hashtable debugging output (--debug=hash).
2008-10-15 07:51:45 -07:00
Wayne Davison
d8e8ef323a
Fixed a glitch when using -s with a remote-shell daemon.
2008-10-11 11:11:10 -07:00
Wayne Davison
ea0f037930
Don't lookup address "0.0.0.0" when we're a remote-shell daemon.
...
Gets rid of a DNS delay waiting for a lookup failure.
2008-10-11 11:00:51 -07:00
Wayne Davison
08b7c3ed83
Fixed send_protected_args() to send "." in place of an empty arg.
2008-10-11 10:27:16 -07:00
Wayne Davison
76181461f5
Added a fully atomic update if the user has setup a symlink
...
to a *-1 or *-2 directory. A few other minor improvements.
2008-10-11 09:30:26 -07:00
Wayne Davison
2c11e80e2e
Fix the error message on one of the rename operations.
2008-09-29 21:54:49 -07:00
Wayne Davison
e366e5303f
Enhanced the --stats output:
...
- Mention how many files were created (protocol >= 29).
- Mention how many files were deleted (new in protocol 31).
- Follow the file-count, created-count, and deleted-count
with a break-out list of each count by type.
2008-09-26 22:14:01 -07:00
Wayne Davison
0a23e33630
Properly ignore source args on a --read-batch command.
2008-09-26 20:45:49 -07:00
Wayne Davison
8ab02ccd52
More batch-mode fixes to handle redos properly (and without hanging).
2008-09-26 20:32:04 -07:00
Wayne Davison
e0c572c5c6
Moved the flist_ndx_{push,pop}() routines from io.c into util.c.
2008-09-26 19:45:08 -07:00
Wayne Davison
315c2152d0
Initialize xattr data in a couple spots in the hlink code, which avoids
...
a crash when the xattr pointer's memory happens to start out non-zero.
Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.
2008-09-24 08:00:50 -07:00
Wayne Davison
6d301fa3de
Don't send a bogus "-" option to an older server if there were
...
no short options specified.
2008-09-23 19:35:36 -07:00
Wayne Davison
af2dea6033
Fixed skipping of unneeded updates in a batch file when
...
incremental recursion is active. Added test.
2008-09-23 19:31:14 -07:00
Wayne Davison
7fdb3bdab9
Remove bogus "non-empty" qualifier in '*' discussion.
2008-09-14 19:58:15 -07:00
Wayne Davison
794d033981
A couple instant-rsyncd improvements:
...
- Prompt the user for the parameters when missing.
- Allow the creation of a module without a user+password.
2008-09-11 08:50:14 -07:00
Matt McCutchen
45574a73c1
Add instant-rsyncd to support/ .
2008-09-11 08:05:06 -07:00
Wayne Davison
26e21efc5a
Convey the cleaned-up module-path to the user in all cases.
...
Fixed a just-introduced problem with a relative module-path.
2008-09-11 07:35:40 -07:00
Wayne Davison
433c6753a8
Fix the %P logfile escape inside a chroot.
2008-09-10 16:45:06 -07:00
Wayne Davison
46b1361b41
Adding 3.0.4 release line to OLDNEWS.
2008-09-06 09:50:49 -07:00
Wayne Davison
9e7acc86c3
Adding human_readable var.
2008-09-03 16:10:45 -07:00
Wayne Davison
56c7ed9983
Changed some "rsync" commands into proper "$RSYNC" commands.
2008-09-03 12:15:36 -07:00
Wayne Davison
5dd14f0c33
Split up the ifuncs.h file into 3 .h files.
2008-09-01 19:11:36 -07:00
Wayne Davison
2a147e9fcb
Don't define an array with no size.
2008-09-01 19:01:48 -07:00
Wayne Davison
7634fc8eb6
A little tidying up to follow my preferred style.
2008-09-01 17:08:26 -07:00
Matt McCutchen
daa8d92094
Several fixes for merge file handling:
...
- Free a mergelist's parent_dirscanned filters the last time it is
popped or as soon as the filters are discarded due to the "n"
modifier. Aside from not leaking memory, this is needed to clean up
any mergelists defined during the parent_dirscan to avoid crashing by
trying to restore nonexistent state for them in pop_local_filters.
- Make push_local_filters save the current mergelist_cnt, and make
pop_local_filters assert that it has the correct number of mergelists
before restoring their state.
- Assert that mergelists get deactivated in strict LIFO order to catch
any glitches as soon as they happen. Free linked lists of filters in
reverse order to make that the case.
- Add a bunch of mergelist-related debug output (--debug=filter2).
2008-09-01 17:01:19 -07:00
Wayne Davison
adc2476fa2
Output numbers in 3-digit groups by default (e.g. 1,234,567).
...
Also improved the human-readable output functions, including
adding the ability to output negative numbers.
2008-09-01 13:27:11 -07:00
Wayne Davison
34c3ca8f35
Verify that SUBPROTOCOL_VERSION is set correctly when making a
...
nightly tar file release. Fixed the opening comments.
2008-08-31 11:55:09 -07:00
Wayne Davison
4f282b0b92
Added extra file-changing logic to ensure that the various files that
...
mention the protocol number have the right value, that the check-in date
for a protocol-change release is specified, and that a pre-release with
a protocol change doesn't have SUBPROTOCOL_VERSION set to 0. Prompt for
releasing a branch if -b option was not used and we're on a branch.
2008-08-31 10:13:38 -07:00
Wayne Davison
8b3e60523a
Improved the fix that ensures that the generator gets notified about an
...
I/O error for the incremental directory that generated the error. The
PROTOCOL_VERSION was bumped to 31 to implement this.
2008-08-31 09:43:39 -07:00
Wayne Davison
1d891835e7
Improved rwrite() to handle a stderr exception without playing games
...
with the msgs2stderr value.
2008-08-24 14:07:10 -07:00
Wayne Davison
0b78944600
Some minor improvements to the flushing code to try to make it
...
even more solid.
2008-08-24 13:40:36 -07:00
Wayne Davison
79daa59618
Make the !flist_eof assumption explicit before the check_for_io_err
...
code calls wait_for_receiver().
2008-08-24 12:54:49 -07:00
Wayne Davison
72de4140d5
Added /support/savetransfer to .gitignore.
2008-08-17 09:28:50 -07:00
Wayne Davison
94a4a125bc
An improved RERR_PARTIAL message.
2008-08-17 09:23:28 -07:00
Wayne Davison
e982d59146
Changed flist_for_ndx() to optionally die with an error
...
if the index isn't found.
2008-08-14 07:40:56 -07:00
Wayne Davison
c78e4ea905
Made an error of readlink_stat() use the right function name.
2008-08-10 07:32:54 -07:00
Wayne Davison
0b7bce2c7b
Make sure that the hlink node->data allocation doesn't fail.
2008-08-08 07:48:41 -07:00