Wayne Davison
89b47d43de
- Made the itemize test check for CAN_HARDLINK_SYMLINK define instead
...
of running its own test using ln.
- Made the merge test call checkit with absolute paths so that some
folk's cd command won't foul things up with extra output.
2008-03-04 21:46:27 -08:00
Wayne Davison
d1c06c2180
Fixing a problem with a NULL config_file pointer when accessing
...
a single-use daemon without no --config option specified. Added
a test to ensure that this doesn't break in the future.
2008-03-03 18:33:11 -08:00
Wayne Davison
800a4485f3
Improved the error-checking when tweaking the files for a new release.
2008-03-03 12:33:15 -08:00
Wayne Davison
fede378577
Updated copyright year in --version output and improved the release
...
script to look for year changes in options.c and to get the version
defaults totally right in the prompts.
2008-03-03 11:19:48 -08:00
Wayne Davison
3bc207b9dd
Fixed a thinko and a typo in the --append option.
2008-03-03 07:16:38 -08:00
Wayne Davison
ebac031925
Show the last compile error if we failed to create rounding.h.
2008-03-01 21:00:41 -08:00
Wayne Davison
3cbe640d3c
Tweak the files to start work on the next release.
...
The work-in-progress version is 3.0.1dev.
2008-03-01 20:35:18 -08:00
Wayne Davison
4cb6197b21
Preparing for release of 3.0.0
v3.0.0
2008-03-01 12:12:04 -08:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
62ca38262f
Fixed the lastversion default when changing from a pre-release
...
to a final release. Ensure that newly-created "extra files"
get included in the diff.
2008-03-01 12:00:13 -08:00
Wayne Davison
d62fb8894f
Mention a couple more items of note.
2008-03-01 09:48:55 -08:00
Wayne Davison
fc29efc38d
Use variables to hold the constant itemized strings so
...
that future changes are easier to make.
2008-02-27 17:57:29 -08:00
Wayne Davison
c4c9bb944b
Temporarily set uid_ndx in the delete code if the transfer is not
...
preserving ownership, but we want to know what the UIDs are on the
files we're deleting. Changed the DEL_OWNED_BY_US flag to be
DEL_NO_UID_WRITE, which is only set when a file is owned by us and
we can't write to it. Fixed a glitch in the error handling of the
--delete-delay code where it might try to enable delete-after in
incremental-transfer mode. Made a simple (well tested) optimization
in the --delete-delay code and a few other readability changes.
2008-02-27 16:25:29 -08:00
Wayne Davison
236adddc18
Use preserve_[ug]id values for send/recv checking, which will
...
allow the delete code to temporarily set [ug]id_ndx during
delete processing, as needed. Got rid of a couple duplicate
tests.
2008-02-27 16:15:14 -08:00
Wayne Davison
5b3aa8028b
Added missing init_iconv() call when initiating a daemon transfer.
2008-02-27 07:19:13 -08:00
Wayne Davison
16e24c2043
Don't force the user to start from the master branch when any
...
clean starting branch will do. Return to the starting branch.
2008-02-24 13:19:51 -08:00
Wayne Davison
7869953bbf
Fixed the description of the 'x' in the itemized output.
2008-02-23 20:55:39 -08:00
Wayne Davison
d07edfc895
Added a default to the new switch in str_acl_type().
2008-02-23 08:14:56 -08:00
Wayne Davison
85b057cccf
Check the return code from mbr_uid_to_uuid()/mbr_gid_to_uuid() so
...
that the user sees the right error if they failed.
2008-02-23 07:44:55 -08:00
Wayne Davison
a2c473bb59
Tweaked the ACL type-names returned by str_acl_type()
...
so that error messages are a little clearer.
2008-02-23 07:33:32 -08:00
Wayne Davison
f587061a5b
Cast ai->ai_addrlen to int for an rprintf() call using %d.
2008-02-22 15:15:32 -08:00
Wayne Davison
d9e92804a5
The code expects id_t and mode_t to be unsigned, so the code now defines
...
each one to be unsigned int (instead of int) when the type is missing.
2008-02-21 20:51:54 -08:00
Wayne Davison
46e858a631
Improved several things in the NEWS files, including some typos
...
that Matt fixed.
2008-02-20 10:32:35 -08:00
Wayne Davison
e0fe5231c2
Output info on what's being signed to make it clearer
...
what is happening. Improved the final admonition.
2008-02-19 19:18:20 -08:00
Wayne Davison
698bc16e87
Preparing for release of 3.0.0pre10
v3.0.0pre10
2008-02-19 18:28:00 -08:00
Wayne Davison
7b4f48650c
Make a few more char pointers const.
2008-02-19 16:35:22 -08:00
Wayne Davison
a43ff267e9
Tweaked a comparison that "checker" was complaining about.
2008-02-19 11:52:00 -08:00
Wayne Davison
717d04669a
Fixed the hard-link check again, adding a comment as to
...
why it is coded the way it is.
2008-02-18 17:16:08 -08:00
Wayne Davison
15dbffc215
Fixed a compilation problem when iconv support is disabled.
2008-02-18 16:48:20 -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
28fb6365d0
Added --no-one-file-system and --no-x options.
2008-02-18 12:42:04 -08:00
Wayne Davison
8365126b8d
Some permssion fixes:
...
- Changed itemized output to only report 'p' with -p or -E.
- Fixed a duplicate output of a link-dest file with -vv but no -i.
- Improved unchanged_attrs() to handle -E.
2008-02-18 10:20:50 -08:00
Wayne Davison
d770837ec0
Fixed a typo reported in a Debian bug report.
2008-02-18 09:59:44 -08:00
Wayne Davison
59658acfec
Mention the leading '*'-char rule for itemized output.
2008-02-18 08:25:15 -08:00
Wayne Davison
46f800e8c7
Decided to pad the "*deleting" message to make the names line up.
2008-02-17 23:46:26 -08:00
Wayne Davison
1c65a93d03
The daemon no longer logs a recv entry for a file that is not
...
actually being updated due to the --only-write-batch option.
2008-02-17 23:44:52 -08:00
Wayne Davison
cae7885e2f
Don't output a duplicate warning when the daemon-config excludes a
...
directory or when a directory is ignored via --ignore-non-existing.
Use a new var, is_dir, to simplify the dir code in recv_generator().
2008-02-17 22:34:08 -08:00
Wayne Davison
eaa28e654f
Use the name "ChangeLog" for the ftp copy of the repository history.
2008-02-16 14:45:22 -08:00
Wayne Davison
beef86d0dd
A few minor changes, including better push_dir()/pop_dir() verbosity.
2008-02-15 22:19:43 -08:00
Wayne Davison
2fe1feea75
Added a way to specify where the chroot should occur in the module's
...
path, which allows a daemon admin to have chroot protection and still
have files that are outside the transfer area (such as libraries).
2008-02-15 19:01:35 -08:00
Wayne Davison
0b52f94da7
Some daemon security improvements, including the new parameters
...
"charset" and "numeric ids".
2008-02-15 17:39:21 -08:00
Wayne Davison
f96bac8468
(Matt) Dropped a superfluous word from a sentence.
2008-02-12 17:30:02 -08:00
Wayne Davison
8444a7c00d
(Matt) Needed to remove a few more files for distclean target.
2008-02-12 17:29:09 -08:00
Wayne Davison
c9d3bc3fca
A few more NEWS tweaks.
2008-02-10 21:21:24 -08:00
Wayne Davison
8340aa9670
Mention a couple more items.
2008-02-10 21:02:05 -08:00
Wayne Davison
3e2c0024d5
Made reconfigure target check if configure.sh was up-to-date.
2008-02-10 20:39:31 -08:00
Wayne Davison
205393a2b5
Preparing for release of 3.0.0pre9
v3.0.0pre9
2008-02-10 20:16:25 -08:00
Wayne Davison
5f0f2e0894
Some improvements for --hard-links and --filter options.
2008-02-10 20:10:13 -08:00
Wayne Davison
a5bb0902b4
One more fix in set_modtime() when we get ENOSYS on a symlink.
2008-02-10 15:39:21 -08:00