Wayne Davison
cf9b4794fd
Tweaked parse_chmod() so that it takes a pointer to an existing list
...
of chmod items (or NULL) and appends the new items onto the end.
2006-01-21 09:14:39 +00:00
Wayne Davison
6d8c6bdbe5
Document the new --one-file-system behavior, with improvements to
...
the option's text taken from Matt's patch in bugzilla.
2006-01-21 08:10:45 +00:00
Wayne Davison
8bbe41b53b
Handle the --chmod option as either the sender or the receiver so
...
that only the client needs to know about --chmod (but if an older
version sends the option to the server, we'll still handle it).
2006-01-21 08:03:18 +00:00
Wayne Davison
ba30fb5c3c
For a local rsync, turn off the --chmod option on the receiving
...
side so that only the sending side does the work.
2006-01-21 07:58:35 +00:00
Wayne Davison
0938e8eee5
We don't ever need to send the --chmod option to the remote rsync.
2006-01-21 07:53:40 +00:00
Wayne Davison
3b17384631
Implemented the -xx behavior that skips mount-point dirs.
2006-01-21 01:20:03 +00:00
Wayne Davison
243c995f5f
Allow the -x option to be repeated.
2006-01-21 00:36:15 +00:00
Wayne Davison
96b87581ff
- Changed send_file_entry() into a static function again.
...
- Made send_file_entry() derive the base_flag value from *file.
- Added a flags arg to make_file().
- The flag we send to send_file_name() is a FLAG_* value, not an
XMIT_* value.
2006-01-20 21:21:43 +00:00
Wayne Davison
3de73827d7
Call make_file() with one more arg (the base flags).
2006-01-20 21:21:36 +00:00
Wayne Davison
458aeea4a6
Mentioned the addition of -ii.
2006-01-20 19:33:24 +00:00
Wayne Davison
14cbb64539
Document the behavior of -ii.
2006-01-20 18:52:52 +00:00
Wayne Davison
a9e4762634
Handle the extra output needed when log_format_has_i > 1.
2006-01-20 18:49:38 +00:00
Wayne Davison
487094a0d7
Allow the --itemize-changes (-i) option to be repeated to indicate
...
that unchanged files should also be itemized.
2006-01-20 18:49:07 +00:00
Wayne Davison
f608ebb106
Got rid of unused function u_strcmp().
2006-01-20 00:14:04 +00:00
Wayne Davison
87001ac6c2
Improved a sentence.
2006-01-19 21:21:28 +00:00
Wayne Davison
ede1f0ebc9
The code in send_file_list() needed a little more improvement to
...
handle --relative really well:
- We must set "is_dot_dir" when we strip off a trailing "/" or "/.".
- If a trailing "/" or "/." caused us to treat a symlink as a dir,
we now pass our stat() info down to make_file() so that it will
always treat the cleaned-up name as a dir too.
- We must not strip a leading "/".
- Improved the check for ".." elements in the implied dirs.
2006-01-19 21:16:44 +00:00
Wayne Davison
b435d7174c
Added a new arg to the make_file() call.
2006-01-19 21:16:40 +00:00
Wayne Davison
2a59d2cc31
Another bugfix.
2006-01-19 19:05:49 +00:00
Wayne Davison
b8595e609a
In delete_in_dir(), skip a directory that isn't really a directory on
...
the local disk (can easily happen if --dry-run was specified).
2006-01-19 18:53:48 +00:00
Wayne Davison
d37bc73a48
Mention the changes made in recent checkins.
2006-01-19 07:34:41 +00:00
Wayne Davison
1902a7652f
When --relative is active, simply trim off trailing slashes and
...
dot dirs. Also, reject a ".." dir if it would be sent as part
of the relative path.
2006-01-19 01:43:10 +00:00
Wayne Davison
6ab423a5b6
- Fixed the --help and --version output to avoid using embedded
...
newlines (which are no longer allowed in rprint()).
- Updated the Copyright info for 2006.
2006-01-17 04:26:12 +00:00
Wayne Davison
c2be690cc6
Got rid of a few empty lines.
2006-01-17 02:16:57 +00:00
Wayne Davison
f5a49d0e44
Got rid of a now-unused static variable.
2006-01-17 01:26:35 +00:00
Wayne Davison
03e23e0730
A few more items to check for, including libcharset.h, langinfo.h,
...
locale_charset(), and nl_langinfo().
2006-01-15 14:52:12 +00:00
Wayne Davison
eb598fac4f
- Improved get_local_name() using ideas from Matt McCutchen's
...
version: lots more comments, and a "local name" copy now
does a chdir to the parent dir of the destination file.
- Moved the setlocale() call prior to the parse_arguments() call.
2006-01-15 07:11:23 +00:00
Wayne Davison
be0602ec3c
- We now filter all rwrite() output when it goes out to the terminal
...
to make sure that it contains readable characters.
- Got rid of the buf[len] = '\0' in rwrite().
- Call f_name() with revised args (which also replaces f_name_to()).
2006-01-14 20:26:28 +00:00
Wayne Davison
6cbde57d88
Call f_name() with revised args (which also replaces f_name_to()).
2006-01-14 20:26:23 +00:00
Wayne Davison
5e4ff5f9c5
Merged f_name() with f_name_to().
2006-01-14 20:26:20 +00:00
Wayne Davison
18e1289f27
Defined new FNAME logcode enum (only used on the client side when
...
logging a filename).
2006-01-14 20:26:17 +00:00
Wayne Davison
99aaa6ca25
Fixed a couple out-of-memory function-name strings in make_file().
2006-01-14 17:19:12 +00:00
Wayne Davison
24172e4b2f
If the --human-readable option is in effect, output the size of
...
each file in human-readable units instead of a raw byte count.
2006-01-14 17:10:52 +00:00
Wayne Davison
beaf495400
Added a "continue" missing from a recent change.
2006-01-14 00:29:50 +00:00
Wayne Davison
79f48760f3
Added --enable-iconv and cleaned up the other enable/disable options.
2006-01-13 23:05:16 +00:00
Wayne Davison
785abd4802
Got rid of the safe_fname() function and the calls to it.
2006-01-13 22:06:34 +00:00
Wayne Davison
0ee6ca9800
Got rid of calls to the (soon to vanish) safe_fname() function.
2006-01-13 22:06:31 +00:00
Wayne Davison
7543020807
Fixed a bug in the explode_mode code that was causing a crash
...
on BSD systems.
2006-01-13 21:40:26 +00:00
Wayne Davison
47b50b9bd0
We now use lib/compat.o when building wildtest.
2006-01-13 21:38:43 +00:00
Wayne Davison
45c49b52a4
Got rid of calls to (the soon to vanish) safe_fname() function.
2006-01-13 21:17:09 +00:00
Wayne Davison
0ee32c62d3
Improved a couple sentences.
2006-01-13 21:10:11 +00:00
Wayne Davison
70e98a4348
Changed RSYNC_ARGn to RSYNC_ARG#.
2006-01-12 19:35:54 +00:00
Wayne Davison
fddf529df9
Mention the new RSYNC_ARGn environment variables for pre-xfer exec.
2006-01-12 19:24:25 +00:00
Wayne Davison
141c62659e
We now send all the option args to the pre-exec command.
2006-01-12 19:15:31 +00:00
Wayne Davison
61e16468f0
We need to call clearerr() when getc() returns EOF with errno == EINTR.
2006-01-06 22:20:07 +00:00
Wayne Davison
b74b3d538e
+ Changed two buffers to use BIGPATHBUFLEN instead of MAXPATHLEN+512.
...
+ Changed a strncpy() call into a (more appropriate) memcpy() call.
+ Made the ellipsis[] string static because some older compilers may
not like the dynamic initialization of a character string.
+ Expanded some 1-line "case ... break;" statements onto separate
lines.
2006-01-05 02:29:16 +00:00
Wayne Davison
d3db3eef1b
Document the new "dir/***" feature.
2006-01-02 17:46:32 +00:00
Wayne Davison
90d5b12e72
Added a test for the new "dir/***" feature.
2006-01-02 17:46:27 +00:00
Wayne Davison
955a3a3ded
We now test all the patterns using both a normal wildtest run and
...
a wildtest run with various -x and -e options.
2006-01-02 17:46:24 +00:00
Wayne Davison
aec75b037b
Added -x and -e options, which are used to exercise wildmatch_array().
2006-01-02 17:46:21 +00:00
Wayne Davison
e5daa2731a
We use the new wildmatch_array() and litmatch_array() functions to
...
make our include/exclude code easier to read and maintain, and to
eliminate a buffer copy when handling an absolute-path pattern
(which eliminated the full_name[] buffer). Also added handling
for the new MATCHFLG_WILD3_SUFFIX define that allows a string that
ends with "dir/***" to match the "dir" as well as its contents.
2006-01-02 17:46:18 +00:00