Wayne Davison
0c25dedf31
Simplified the function-finding regex, and made it more versatile
...
(so we don't need to keep adding variable-type strings).
2006-10-13 06:50:56 +00:00
Wayne Davison
6105464b79
Indented the function comments with "* ".
2006-10-13 06:49:44 +00:00
Wayne Davison
4d51f0db79
Don't use a bool directly in an int comparison.
2006-10-13 06:27:59 +00:00
Wayne Davison
ff530f04a0
Function fcntl() only takes 2 args when using F_GETFL.
2006-10-13 06:26:02 +00:00
Wayne Davison
e8b21fe406
Cast pat_len to an int when using it as a field width.
2006-10-13 06:24:24 +00:00
Wayne Davison
71cb9df386
Some OSes can't chmod -t for a file, so I changed the logic of our
...
to to substitute a chmod that will work everywhere.
2006-10-13 04:59:53 +00:00
Wayne Davison
f97c2d4a9b
- Clarified the "dont compress" option.
...
- Cleaned up some trailing whitespace.
2006-10-13 01:37:44 +00:00
Wayne Davison
b8a6dae038
Updated the man pages to work with version 2.x of yodl.
2006-10-13 01:24:57 +00:00
Wayne Davison
969f7ed5b7
Fixed an infinite loop in parse_rule() when a filter rule is too
...
longer for MAXPATHLEN. Also fixed a couple spots nearby that were
erroneously treating pointer "cp" as a '\0'-terminated string.
2006-10-13 01:22:48 +00:00
Wayne Davison
e825409a84
Preparing for release of 2.6.9pre1
v2.6.9pre1
2006-10-12 03:45:53 +00:00
Wayne Davison
b8d29fd8e6
Added a line for 2.6.9.
2006-10-12 03:44:44 +00:00
Wayne Davison
200f2d98db
Make sure we tweak the right RSYNC_VERSION line in configure.
2006-10-12 03:32:18 +00:00
Wayne Davison
1a7f3d99c5
Removed the changes in symlink handling in non-chroot daemon mode as
...
they were not yet safe (I'll consider similar changes for the next
release).
2006-10-12 03:01:18 +00:00
Wayne Davison
e80876700c
Got rid of changes that aren't going to make it into 2.6.9.
2006-10-12 03:01:12 +00:00
Wayne Davison
ec55b4f2fb
Changed the indent for one else ... if section.
2006-10-12 03:01:01 +00:00
Wayne Davison
798cde474f
Some minor improvements to parse_merge_name().
2006-10-12 02:14:47 +00:00
Wayne Davison
558d482c47
Renumbered tests after adding one in the middle.
2006-10-11 00:51:50 +00:00
Wayne Davison
418b6a2703
Handle the itemizing of of the "." dir when it is newly created.
2006-10-11 00:04:48 +00:00
Wayne Davison
1ef5bf3cfd
If new_root_dir is set, itemize the output of the "." dir as a
...
directory-creation event.
2006-10-11 00:04:44 +00:00
Wayne Davison
2a94207ad6
Added a new variable, new_root_dir, that is set if we created the
...
destination directory.
2006-10-11 00:04:41 +00:00
Wayne Davison
ddcba3f075
Changed the fix_basis_dirs() function to only remove a single ../
...
prefix from each --*-dest option's path.
2006-10-10 23:44:59 +00:00
Wayne Davison
db3ae95cac
Made some of the --link-dest tests use a relative destination
...
directory, and made one of those do a --dry-run test before
the regular test.
2006-10-09 03:06:50 +00:00
Wayne Davison
1a05de2bff
- If a finished link came from a link-dest dir and --dry-run is in
...
effect, we now stat the link-dest file instead of the non-existent
destination file.
- Use int32 for the index variables.
2006-10-09 03:05:19 +00:00
Wayne Davison
d9163a4cf5
If the combination of --dry-run, --link-dest, and -H finds a matching
...
file in on of the extra basis dirs, make a note of which basis dir
we would have used in the hard-link with the destination file.
2006-10-09 02:59:23 +00:00
Wayne Davison
44885a398f
Added link_dest_used unsigned short to struct hlink and made the
...
other values explicitly 32-bit so that the total size can't be
larger than the other struct we're in a union with.
2006-10-09 02:57:04 +00:00
Wayne Davison
dfe1ed5e97
Another tweak to the --chmod summary.
2006-10-09 00:55:04 +00:00
Wayne Davison
242f6052c2
Mention the latest bug fix.
2006-10-08 22:17:39 +00:00
Wayne Davison
519d55a950
Make the daemon's "incoming chmod" tweaks happen last, as documented.
2006-10-08 22:02:13 +00:00
Wayne Davison
b6008dc645
Clarify the short description of --chmod.
2006-10-08 22:00:31 +00:00
Wayne Davison
6f3684ffb5
Call push_dir() with its new boolean arg.
2006-10-08 20:57:01 +00:00
Wayne Davison
615a5415c9
- Call push_dir() with its new boolean arg, including the spot in
...
get_local_name() where we need push_dir() to skip the chdir() because
the destination dir does no yet exist and --dry-run was specified.
- Added fix_basis_dirs(), which will combine the dest-dir with each non-
absolute basis_dir arg to make sure that they end up being relative to
the right dir when --dry-run was specified and the dest dir does not
yet exist.
2006-10-08 20:56:56 +00:00
Wayne Davison
ba081be327
Made the push_dir() function take an option to skip the actual chdir()
...
call. Used when the dest-dir doesn't exist and --dry-run was specified.
2006-10-08 20:56:52 +00:00
Wayne Davison
3e88414e4e
Moved some of the variable setup from "make check" into the
...
runtest.sh script.
2006-10-07 14:54:56 +00:00
Wayne Davison
0888952768
Moved some variable setup here from the Makefile and made it
...
possible to specify extra rsync options for the test.
2006-10-07 14:54:14 +00:00
Wayne Davison
5dcd9a2b70
Changed the -o to -a in the "if".
2006-10-07 14:39:01 +00:00
Wayne Davison
6ce9432d75
A bug-fix for die_on_unsafe_path() when the path doesn't exist.
2006-10-07 14:19:00 +00:00
Wayne Davison
6c8507724b
Added exception-checking to a couple select() calls, as suggested
...
by Hugh Daschbach.
2006-09-30 22:11:20 +00:00
Wayne Davison
d04e95e968
Document that --ignore-times thwarts all --link-dest linking.
2006-09-30 15:21:25 +00:00
Wayne Davison
b06050f9ad
I decided that combining --link-dest with -I doesn't make much sense
...
(without some kind of a post-transfer identicality check, at least)
so I'm removing the code that tried to make the two play nice.
2006-09-30 15:20:17 +00:00
Wayne Davison
ad75d18d2e
Mention that the --backup-dir option is a receiver-side path.
2006-09-26 16:44:27 +00:00
Wayne Davison
ed4b8da048
Mention the latest bugfix.
2006-09-24 03:36:04 +00:00
Wayne Davison
2cd421d809
Output the who_am_i() info in out-of-memory() and overflow_exit().
2006-09-24 03:12:24 +00:00
Wayne Davison
ea0ea357f4
Provide the who_am_i() function.
2006-09-24 03:11:41 +00:00
Wayne Davison
0480a946f5
Some more testing based on Matt's recent patch.
2006-09-23 23:49:20 +00:00
Wayne Davison
67f8a41be5
Matt tracked down a bug in the daemon option "incoming chmod" where
...
a newly created directory would get the chmod permissions that were
specified for a file (via the F previx).
2006-09-23 23:15:11 +00:00
Wayne Davison
5e1f082d0c
Improvments by Matt for the --progress option, including updating
...
the examples to look like the actual output in a modern rsync.
(I did a little rewording too...)
2006-09-23 00:07:28 +00:00
Wayne Davison
a633351962
Mention the current limitation of the RSYNC_EXIT_STATUS value.
2006-09-20 14:04:19 +00:00
Wayne Davison
2edfe52230
Mention the new --remove-s*-files error.
2006-09-20 01:54:40 +00:00
Wayne Davison
acee1ad853
Complain if a --remove-s*-files option is set and we can't remove
...
the source file.
2006-09-20 01:53:32 +00:00
Wayne Davison
8f4ae68ca7
The [ & ] are now removed from a literal IPv6 hostname passed to the
...
remote shell.
2006-09-18 17:39:13 +00:00