Wayne Davison
c499002e51
Fix a random flist data bug w/delete, inc-recurse, and no -o.
...
Fixes bug 7936.
2011-01-29 19:25:53 -08:00
Wayne Davison
d94b958400
Improve --timeout method to take into account all socket I/O that is
...
going on. The receiving side also switches timeout handling from the
receiver to the generator. Given this setup, all keep-alive messages
are now sent as empty MSG_DATA messages, with MSG_NOOP messages only
being understood and (when necessary) acted upon to forward a keep-alive
event to an older receiver. This is both safer and more compatible with
older versions.
2009-12-19 13:39:49 -08:00
Wayne Davison
79731940bb
Added an am_receiver variable.
2009-12-19 12:04:25 -08:00
Wayne Davison
445640e803
Update the copyright year.
2009-01-17 13:41:35 -08:00
Wayne Davison
cf1b292201
Fixed send_protected_args() to send "." in place of an empty arg.
2008-10-11 10:16:47 -07:00
Wayne Davison
deea1f70bd
Got rid of the check_for_io_err code, as it could cause a hang.
...
The io_error issue will be fixed in a better way in 3.1.0.
2008-08-31 09:51:29 -07:00
Wayne Davison
9bed85542c
Changed flist_for_ndx() to optionally die with an error
...
if the index isn't found.
2008-08-14 07:32:18 -07:00
Wayne Davison
7790ee3684
Added logic to the receiving side to ensure that the --delete-during
...
code will not delete in a directory prior to receiving an I/O error
for that directory (or not receiving it, as the case may be).
2008-08-02 09:03:49 -07:00
Wayne Davison
4337eeb754
A cuple more fixes for --xattrs combined with --backup, this time to
...
handle when --link-dest is also used.
2008-05-22 07:32:11 -07:00
Wayne Davison
e9489cd6cb
Fixed several issues with preserving xattrs when using --backup.
2008-05-17 09:35:46 -07:00
Wayne Davison
7abcfd85b7
Moved declaration of "int i" outside the ifdef in send_protected_args().
2008-03-16 20:39:16 -07:00
Wayne Davison
53936ef935
Fixed the use of --protect-args (-s) with a daemon.
2008-03-15 11:56:18 -07:00
Wayne Davison
ee39281d14
Fixed the 'T' itemized output for a symlink the right way this time.
2008-03-11 17:35:49 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
0099e42332
Only set FLAG_TIME_FAILED if receiver_symlink_times is set.
2008-02-18 16:48:04 -08:00
Wayne Davison
1ed56a05c2
Extended the protocol-30 info-passing code at startup, and use it to
...
tell the client if the server can set the times on a symlink (both
the server->client byte and the client->server use of -e). Make use
of this info to allow the proper output of the 't' flag when rsync
can set the time on a symlink (and we're talking protocol >= 30).
Added output of "[no] symtimes" info in the --version message.
Fixed the itemize.test so that it works when rsync believes that it
can set the time of a symlink, but it can't really do it.
2008-02-18 15:57:59 -08:00
Wayne Davison
87629cf2f6
Re-indent some code in set_file_attrs() to make the flow clearer.
2008-02-07 07:24:58 -08:00
Wayne Davison
83235dbc54
Fixed a case where the receiver indicates a successful update when the
...
transfer succeeded, but the final rename failed.
2007-12-31 10:31:43 -08:00
Wayne Davison
65b4e4b2a9
Updated indexing for accurate progress and improved raw ndx values.
...
The sending side now has a sorted file-list in iconv mode so that it
can output progress in sorted order. Simplified the over-the-wire
index values to ensure both sides will always agree on the values.
Optimized the allocation of the dir_flist->sorted array on the
receiving side with --iconv and incremental recursion.
2007-12-08 11:39:47 -08:00
Wayne Davison
4d7c8e6b76
We now call set_stat_xattr() before set_xattr().
2007-11-25 13:49:41 -08:00
Wayne Davison
e107b6b122
Fixed a problem with --fake-super not getting the fully tweaked new_mode
...
value. Also fixed the removal of rsync-internal xattr values on the
destination files when we aren't copying rsync-internal xattr values.
2007-11-24 10:50:45 -08:00
Wayne Davison
3f0211b63a
New logging categories added to allow differentiation between
...
transfer errors, normal errors, and warnings. New messages are
translated into old FERROR/FINFO categories for older protocols.
2007-11-22 10:05:36 -08:00
Wayne Davison
b7386d23d4
Avoid verbose output during the forwarding of flist data (for now,
...
at least).
2007-11-03 07:20:09 +00:00
Wayne Davison
b1eca24226
Avoid a crash if we read an index value without a valid first_flist.
2007-10-31 04:43:19 +00:00
Wayne Davison
4efa11680a
We need to provide iconvbufs() anytime ICONV_CONST is defined.
2007-10-25 01:40:17 +00:00
Wayne Davison
2e52ba36cb
Added braces to an empty "if" (to avoid any complaints from a compiler
...
that likes to point out an "if (...)" with a semicolon after it).
2007-10-15 00:16:12 +00:00
Wayne Davison
13710874ce
Changed "statx" to "stat_x" to try to work around a build problem on AIX.
2007-09-23 22:19:55 +00:00
Wayne Davison
6191429b50
Added a missing "void" to the arg-spec of setup_iconv().
2007-09-23 01:18:03 +00:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
2ac9793064
- Added new iconvbufs() conversion function that is now used for
...
our --iconv support.
- Moved the setup of the ic_ndx value to compat.c.
2007-09-18 01:11:57 +00:00
Wayne Davison
2dc7b91dd2
Handle inheritance of SGID bit on dirs marked with FLAG_DIR_CREATED.
2007-09-15 19:58:15 +00:00
Wayne Davison
f9998046a3
Made omit_dir_times a static variable in options.c by encoding
...
all the time-preserving semantics into preserve_times.
2007-09-01 16:57:01 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
6755a7d742
If we get an ndx that is 1 entry prior to an incremental flist's
...
start, it refers to the file list's parent dir.
2007-07-08 06:25:47 +00:00
Wayne Davison
9decb4d2ef
Changed "count" to "used" in struct file_list since there can
...
be empty items that make the count inaccurate (and the name
somewhat deceiving).
2007-07-07 20:22:05 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
9b25ef35bd
Switch the checking of preserve_[ug]id var to checking [ug]id_ndx var
...
when the code is about to use the [ug]id_ndx value as an index (since
this saves a memory reference).
2007-07-02 22:11:23 +00:00
Wayne Davison
1faa1a6da9
Output a -vvv(erbose) message when receiving an incremental file list.
2007-05-23 00:42:32 +00:00
Wayne Davison
59fd2a5e7d
Improved the error message when a dir-number is out of bounds.
2007-05-22 05:50:41 +00:00
Wayne Davison
858d45f160
Cast some F_OWNER()/F_GROUP() values to make sure that we don't get
...
a signed/unsigned compiler warning on some systems.
2007-05-21 02:17:48 +00:00
Wayne Davison
4ade505c7e
- Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().
...
- Use the new FLAG_SKIP_GROUP define.
2007-05-20 07:10:41 +00:00
Wayne Davison
8f3335a18c
The server now needs the F_NDX() data for --iconv with incremental
...
recursion.
2007-04-26 23:15:39 +00:00
Wayne Davison
332cf6df7c
The --iconv option has now made it to the trunk.
2007-04-26 05:53:13 +00:00
Wayne Davison
9439c0cb5a
Adding the --fake-super option.
2007-04-24 07:32:44 +00:00
Wayne Davison
19d4cac996
We now allow verbose messages to be sent when forwarding incremental-recursion
...
file-list data from the receiver to the generator.
2007-04-20 22:40:01 +00:00
Wayne Davison
16edf86595
The improved --xattrs option is landing on the trunk.
2007-04-07 17:22:25 +00:00
Wayne Davison
1c3344a105
The ACL support has arrived! This version has a brand new protocol
...
that makes it incompatible with all prior versions. A patch will be
provided to allow talking with older (patched) rsync versions.
2007-03-11 00:13:34 +00:00
Wayne Davison
3831f06319
- Moved the second send_extr_file_list() call to a better spot.
...
- Moved the FILECNT_LOOKAHEAD define into rsync.h.
2007-02-16 02:47:12 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
100018b7cd
Mention the year 2007 in the copyright declarations.
2007-01-31 21:46:49 +00:00