Wayne Davison
b223d96bf0
Add some temp-name dot heuristics for OS X's sake.
...
- Drop one leading '.' from the filename (before adding our own).
- Drop one trailing '.' from a (possibly truncated) name prior to
the .XXXXXX suffix being added.
- Allow the temp-name to collapse to just the .XXXXXX suffix
if the path is long enough to require that.
Note that we don't try to remove multiple dots from a filename
that actually has multiple consecutive dots, since we might as
well learn early if the final name is going to fail or not.
2011-04-05 13:35:13 -07:00
Wayne Davison
28b519c93b
Applying the preallocate patch.
2011-04-04 21:57:57 -07:00
Wayne Davison
8686d3abba
Move var declaration for older C compilers.
2011-04-03 18:02:45 -07:00
Wayne Davison
73b9b90a0b
Adding release info for 3.0.8 to the trunk.
2011-03-26 14:50:52 -07:00
Wayne Davison
98ec67d786
Verify the module list output of the daemon-via-ssh check.
2011-03-26 11:07:27 -07:00
Wayne Davison
0de5157564
Tweak dir xattrs after the writability fudging.
2011-03-26 10:19:04 -07:00
Wayne Davison
78286a03d1
Avoid re-setting (and sending) xattrs on a hard-linked file w/the same xattrs.
...
Improved the xattrs testing to include hard-linking.
2011-03-26 10:09:20 -07:00
Wayne Davison
d699d815d6
Enhance the -liconv check for OS X. Fixes bug 8018.
2011-03-20 19:33:28 -07:00
Wayne Davison
e5e6d3c410
Get the branch set right before listing names and handling --delete.
2011-03-19 16:34:37 -07:00
Wayne Davison
016ce71568
Make it possible to create a new patch file while on a patch branch.
2011-03-19 16:29:47 -07:00
Wayne Davison
2792a83d58
Don't send user/group names for ACLs with --numeric-ids.
...
Fixes bug 8020.
2011-03-18 14:59:03 -07:00
Wayne Davison
0b67d5e396
Fix xattrs test on OS X.
2011-03-13 20:48:18 -07:00
Wayne Davison
d52aeae4e9
Improve the &merge/&include example explanation.
2011-03-11 17:39:33 -08:00
Wayne Davison
f7c3a25052
Change rsyncd.conf &merge directive to match *.inc.
...
This allows the same rsyncd.d directory to be used for a set
of merge files (*.inc) and a set of include files (*.conf).
2011-03-11 16:13:33 -08:00
Wayne Davison
6da6b02bb7
Suggest a better solution for a make without wildcard support.
2011-02-26 08:12:28 -08:00
Wayne Davison
da9b72b36c
Clarify what extraneous hard link are.
2011-02-23 07:19:52 -08:00
Wayne Davison
75a1a04847
Get rid of obsolete tempfs warning.
2011-02-22 15:37:26 -08:00
Wayne Davison
eee2c77a93
Some uid/gid fixes for (id_t)-1 and other large ID values.
...
The code now avoids any special internal meaning for uid/gid -1, which
allows it to be mapped to a better value (use 4294967295 instead of -1
as the ID to map). Replaced atol() with something than can return a
value > 0x7FFFFFFF and that will error-out if the value overflows. If
chown() is called with a uid or gid of -1, complain that the ID is not
settable and signal a transfer error. Fixes bug 6936.
2011-02-22 10:27:35 -08:00
Wayne Davison
7766e67321
Allow a failure of EINVAL to mean no ACLs are available.
...
(If our POSIX types aren't valid, we can't handle the ACLs.)
2011-02-22 08:52:48 -08:00
Wayne Davison
4403b1332f
Fix --force with --one-file-system w/o --delete.
2011-02-22 08:26:13 -08:00
Wayne Davison
c82711b34e
Fix issue with devices-fake test.
2011-02-22 08:25:11 -08:00
Wayne Davison
b2e446d0cb
Fix devices test on OS w/o hard-linked devices.
2011-02-22 07:39:10 -08:00
Wayne Davison
3bd9f51917
Improve some hard-link caveats in the manpage.
2011-02-20 23:30:53 -08:00
Wayne Davison
86e90c58f4
Add .hg dir exclude to default_cvsignore list.
...
Fixes bug 7957.
2011-02-17 22:09:08 -08:00
Wayne Davison
e1fe1d55c4
Updated a comment to match a 3.0.x change.
2011-01-29 22:24:49 -08:00
Matt McCutchen
57edc4808f
Avoid changing file_extra_cnt during deletion.
...
The I/O code can receive incremental file-list chunks during deletion,
and their OPT_EXTRA fields would get corrupted when file_extra_cnt is
incremented.
Instead of temporarily enabling uid_ndx to find out whether the user
owns a file, have make_file() set a flag for that purpose.
Applied with a few minor tweaks by Wayne. Fixes bug 7936.
2011-01-29 22:05:16 -08:00
Wayne Davison
69be312b5e
Some minor variable and flag cleanup.
2011-01-29 22:01:37 -08:00
Wayne Davison
4b4bcbe674
Optimize finding the sum that matches our --inplace position.
2011-01-16 17:35:50 -08:00
Wayne Davison
3f26945cb1
Include backup in map_ptr() to avoid backing up when reading.
2011-01-15 11:16:49 -08:00
Wayne Davison
580cffdec9
Sender realigns chunks with generator during an --inplace copy
...
when sending a sequence of zeros.
2011-01-14 21:32:15 -08:00
Wayne Davison
58a1c1a218
Make sure an alternate --inplace sum has the right length
...
and add missing break in --inplace same-offset loop.
2011-01-14 15:37:48 -08:00
Wayne Davison
53e6507e14
Fix a bug in the trailing-slash handling.
2011-01-13 23:00:30 -08:00
Wayne Davison
3feece5938
Improve the discussion of the absolute-filter alternative.
2011-01-13 17:16:32 -08:00
Wayne Davison
4ab6125214
Have build farm always use included popt.
2011-01-04 08:00:31 -08:00
Wayne Davison
49eb0c4a35
Mention that sorting the --files-from input is helpful.
2011-01-03 19:49:05 -08:00
Wayne Davison
050e5334d8
Added "listen backlog" daemon config paramater.
2011-01-03 19:42:27 -08:00
Wayne Davison
bf4170ade8
Daemon supports forward-DNS lookups for simple hostnames
...
in hosts deny/allow config settings.
2011-01-03 19:04:06 -08:00
Wayne Davison
6500e0769a
Avoid reading ACL/xattr info on filetypes not being copied.
...
Make OS X avoid xattr access on device/special files.
Fixes bug 5458.
2011-01-03 11:20:04 -08:00
Wayne Davison
aa3faf5f8c
Separate the dirs from the files in xattrs.text.
2011-01-01 21:23:19 -08:00
Wayne Davison
8030518dd0
Clarify incremental recursion's effect on --hard-link.
2011-01-01 18:21:40 -08:00
Wayne Davison
e630fd1186
Some --inplace manpage enhancements.
2011-01-01 18:16:49 -08:00
Wayne Davison
d3f5c628d7
Avoid directory permission issues with --fake-super.
...
Fixes bug 7070.
2011-01-01 18:09:57 -08:00
Wayne Davison
8b6ebde1f3
Be clear on which part(s) of testsuite's checkit() failed.
2011-01-01 18:09:16 -08:00
Wayne Davison
1c99b1d956
Report all socket connection errors if we fail.
...
Fixes bug 6588.
2011-01-01 14:00:40 -08:00
Wayne Davison
575933e9d0
Itemize xattrs of a missing dir from an alt-dest dir.
...
Fixes bug 6576.
2011-01-01 13:10:28 -08:00
Wayne Davison
14013906ca
Use full_fname() for system error messages.
2011-01-01 13:09:58 -08:00
Wayne Davison
d1b3118c16
Tweak the year.
2011-01-01 11:52:03 -08:00
Wayne Davison
8f30d21584
Protect a remote filename that starts with a dash.
2010-12-23 22:09:45 -08:00
Wayne Davison
3f770ab0a5
Set NO_SYMLINK_XATTRS on linux the easy way.
...
Fixes bug 7109.
2010-12-19 08:54:11 -08:00
Wayne Davison
743348e848
Fix issues with unchanged_attrs() for symlinks.
2010-12-18 08:48:07 -08:00