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
Wayne Davison
87a34ce56a
The code can now set cur_flist to NULL sooner than it used to, so the
...
flist_for_ndx() routine needs to work when cur_flist is NULL.
2007-01-30 03:57:55 +00:00
Wayne Davison
3ea6e0e7a1
Changed the variable "incremental" to "inc_recurse".
2007-01-27 14:56:09 +00:00
Wayne Davison
8c18ebe81d
Got rid of unused externs.
2007-01-27 14:26:19 +00:00
Wayne Davison
9ae7a2cddb
Use write_ndx() and read_ndx().
2006-12-28 18:49:13 +00:00
Wayne Davison
f3d6d4800b
Handle the new incremental-recursion mode.
2006-12-28 07:54:31 +00:00
Wayne Davison
225aeca346
Use new BITS_EQUAL() define.
2006-12-12 20:17:05 +00:00
Wayne Davison
82ad07c418
- Typical tranfers now save 12-20 bytes per file because several vars
...
were moved out of file_struct into an optional member-var setup.
- Renamed and reorganized the FLAG_* defines.
- Use NDX_DONE instead of a literal -1 when sending/checking the
end-of-phase index value.
2006-12-03 06:44:16 +00:00
Wayne Davison
d2aee174e6
Moved write_ndx_and_attrs() to sender.c and made it public.
2006-12-02 16:16:54 +00:00
Wayne Davison
20f0d0f9b9
Moved write_ndx_and_attrs() too.
2006-12-02 16:13:02 +00:00
Wayne Davison
b675ba6f79
Added a couple externs.
2006-12-02 16:11:33 +00:00
Wayne Davison
d1c178dd53
Moved read_item_attrs() from sender.c to rsync.c since the function
...
is used by both the sender and the receiver.
2006-12-02 16:08:59 +00:00
Wayne Davison
519d55a950
Make the daemon's "incoming chmod" tweaks happen last, as documented.
2006-10-08 22:02:13 +00:00