Wayne Davison [Sun, 17 Aug 2008 16:28:50 +0000 (09:28 -0700)]
Added /support/savetransfer to .gitignore.
Wayne Davison [Sun, 17 Aug 2008 16:23:28 +0000 (09:23 -0700)]
An improved RERR_PARTIAL message.
Wayne Davison [Thu, 14 Aug 2008 14:40:56 +0000 (07:40 -0700)]
Changed flist_for_ndx() to optionally die with an error
if the index isn't found.
Wayne Davison [Sun, 10 Aug 2008 14:32:54 +0000 (07:32 -0700)]
Made an error of readlink_stat() use the right function name.
Wayne Davison [Fri, 8 Aug 2008 14:48:41 +0000 (07:48 -0700)]
Make sure that the hlink node->data allocation doesn't fail.
Wayne Davison [Sat, 2 Aug 2008 20:45:50 +0000 (13:45 -0700)]
Tweaked the symlink iconv buffer size and fixed a comment.
Wayne Davison [Sat, 2 Aug 2008 17:26:17 +0000 (10:26 -0700)]
When using --iconv, if a server-side receiver can't convert a filename,
it now outputs the name back to the client without mangling the charset.
Wayne Davison [Sat, 2 Aug 2008 17:20:51 +0000 (10:20 -0700)]
Refer to the symlink's contents as "symlink data", not "symlink name".
Wayne Davison [Sat, 2 Aug 2008 16:14:36 +0000 (09:14 -0700)]
Added logic to the receiving side to ensure that the --delete-during
code will not delete in a directory prior to receiving an I/O error
for that directory (or not receiving it, as the case may be).
Wayne Davison [Sat, 2 Aug 2008 14:06:15 +0000 (07:06 -0700)]
Skip new symlink conversion step if the remote rsync is not
new enough to do symlink content conversions.
Wayne Davison [Sat, 2 Aug 2008 02:15:17 +0000 (19:15 -0700)]
The --iconv option now converts the content of a symlink too.
Wayne Davison [Sat, 2 Aug 2008 02:03:59 +0000 (19:03 -0700)]
Fixed a problem with checking for the '.' dir in the first file
list that is transferred. This fixes a glitch where a failed
--iconv conversion on the receiving side could prevent deletions
from happening in the root-dir of the transfer.
Wayne Davison [Sat, 2 Aug 2008 01:15:28 +0000 (18:15 -0700)]
Changed the iconv-related message that was being output as the
lone --info=misc2 message into a --debug=iconv message so that
all iconv info will be output when requesting iconv debugging.
Wayne Davison [Sat, 2 Aug 2008 01:04:24 +0000 (18:04 -0700)]
Fixed a couple minor problems in util.c:
- Make sure that handle_partial_dir() never returns a truncated fname.
- Make robust_rename() return that it failed to do a cross-device
copy if the partial-dir could not be created.
Wayne Davison [Sat, 2 Aug 2008 01:03:57 +0000 (18:03 -0700)]
Properly handle a failure to create a partial directory, which is
especially important for --delay-updates, particularly when
--remove-source-files was also specified.
Wayne Davison [Thu, 31 Jul 2008 14:59:45 +0000 (07:59 -0700)]
Output an FERROR* for a general io_error, and an FWARNING for other
io_error flags.
Wayne Davison [Wed, 30 Jul 2008 15:33:05 +0000 (08:33 -0700)]
Mention a missing sender-side hash improvment that went out in 3.0.0.
Wayne Davison [Wed, 30 Jul 2008 01:06:26 +0000 (18:06 -0700)]
Make hard-linking work when a device has an st_dev of 0.
Wayne Davison [Tue, 29 Jul 2008 01:25:18 +0000 (18:25 -0700)]
Mention some mount options that can interfere with --link-dest.
Wayne Davison [Mon, 28 Jul 2008 23:35:03 +0000 (16:35 -0700)]
Added a client --munge-links option that works like the daemon
"munge symlinks" parameter.
Wayne Davison [Sun, 27 Jul 2008 23:05:18 +0000 (16:05 -0700)]
- Don't require a daemon config &directive to use an equal sign.
- Improved some daemon-config error messages.
Wayne Davison [Sun, 27 Jul 2008 22:05:53 +0000 (15:05 -0700)]
Made include_config() more efficient, and fixed a memory leak.
Wayne Davison [Sun, 27 Jul 2008 19:13:35 +0000 (12:13 -0700)]
Added a command-line override for daemon config parameters:
--dparam=PARAMETER=VALUE (-M PARAMETER=VALUE).
Wayne Davison [Sun, 27 Jul 2008 19:06:26 +0000 (12:06 -0700)]
- Got rid of unused pstring/P_GSTRING/P_SEP/P_SEPARATOR code.
- Made pointer-adding code a little better.
Wayne Davison [Sun, 27 Jul 2008 03:03:45 +0000 (20:03 -0700)]
Added &include and &merge config-file directives that allow the
daemon's config file incorporate the contents of other files.
Wayne Davison [Sun, 27 Jul 2008 02:57:02 +0000 (19:57 -0700)]
Changed the module array to use an item_list structure.
Wayne Davison [Sun, 27 Jul 2008 02:11:32 +0000 (19:11 -0700)]
Change the references to "service" to be either "section" or "module".
Wayne Davison [Sun, 27 Jul 2008 00:47:02 +0000 (17:47 -0700)]
Reorder the static functions to avoid the need for forward declarations.
Wayne Davison [Sun, 27 Jul 2008 00:42:09 +0000 (17:42 -0700)]
Since the loadparm.c file is changing, I'm reformatting it to use the
rsync style.
Wayne Davison [Thu, 24 Jul 2008 06:21:42 +0000 (23:21 -0700)]
Enhanced the release scripts to be able to handle a branch release.
Wayne Davison [Tue, 22 Jul 2008 15:31:17 +0000 (08:31 -0700)]
Fixed a potential alignment issue in the IRIX ACL code when allocating
the initial struct acl object. Also, cast mallocs to avoid warnings.
Wayne Davison [Tue, 22 Jul 2008 06:21:09 +0000 (23:21 -0700)]
Explicitly cast a -1 that is being assigned to a size_t.
Wayne Davison [Tue, 22 Jul 2008 06:12:02 +0000 (23:12 -0700)]
Use PTR_ADD for the new instances of void-pointer arithmetic.
Wayne Davison [Tue, 22 Jul 2008 06:11:23 +0000 (23:11 -0700)]
Explicitly cast an int64 to an int32.
Wayne Davison [Tue, 22 Jul 2008 06:11:04 +0000 (23:11 -0700)]
Got rid of a variable that was set but not used.
Wayne Davison [Mon, 21 Jul 2008 07:10:22 +0000 (00:10 -0700)]
Improved var-checker and tweaked all the issues it found.
Wayne Davison [Mon, 21 Jul 2008 07:09:16 +0000 (00:09 -0700)]
Renamed extern-squish -> var-checker.
Wayne Davison [Mon, 21 Jul 2008 05:41:29 +0000 (22:41 -0700)]
Include the array-size in array externs so that IBM's code-checker
can do more checking for us.
Wayne Davison [Mon, 21 Jul 2008 05:27:40 +0000 (22:27 -0700)]
Turn off extra debugging now that the problem is fixed.
Wayne Davison [Mon, 21 Jul 2008 05:20:17 +0000 (22:20 -0700)]
Improved the handling of --msgs2stderr a little more.
Wayne Davison [Mon, 21 Jul 2008 03:34:06 +0000 (20:34 -0700)]
Fixed a bug in match_hard_links() where an empty directory would try
to allocate 0 bytes of memory (which can fail on some OSes).
Wayne Davison [Mon, 21 Jul 2008 03:08:08 +0000 (20:08 -0700)]
Added a debug-helping option, --msgs2stderr, than should help all
messages to be seen in a situation where rsync is dying (as long
as stderr is a viable output method for the remote rsync).
Wayne Davison [Mon, 21 Jul 2008 03:02:09 +0000 (20:02 -0700)]
Changed the chksum debug flag to deltasum.
Wayne Davison [Sun, 20 Jul 2008 20:54:53 +0000 (13:54 -0700)]
A few more HLINK debug messages.
Wayne Davison [Sun, 20 Jul 2008 20:06:54 +0000 (13:06 -0700)]
Output even more debug messages.
Wayne Davison [Sun, 20 Jul 2008 05:45:05 +0000 (22:45 -0700)]
Added a '%C' (MD5 checksum) flag for the output/logfile formatting.
Wayne Davison [Sat, 19 Jul 2008 15:49:53 +0000 (08:49 -0700)]
Changed the POOL_QALIGN flag to POOL_NO_QALIGN, reversing the setting
(making pools aligned by default). Added the missing code to make the
documented behavior of pool_free() with a NULL addr work. Updated the
pool_alloc.3 manpage.
Wayne Davison [Sat, 19 Jul 2008 03:57:52 +0000 (20:57 -0700)]
Improved the alignment code and changed POOL_APPEND to POOL_PREPEND.
Wayne Davison [Sat, 19 Jul 2008 03:46:58 +0000 (20:46 -0700)]
We now pass the POOL_QALIGN flag to pool_create(). Also optimized
the verbose-message check at the start of recv_file_list().
Wayne Davison [Sat, 19 Jul 2008 00:35:22 +0000 (17:35 -0700)]
Improved the hard-link logging.
Wayne Davison [Sat, 19 Jul 2008 00:34:59 +0000 (17:34 -0700)]
Turn on flist5 debugging.
Wayne Davison [Fri, 18 Jul 2008 15:17:05 +0000 (08:17 -0700)]
Some minor tweaking for the info+debug option parsing.
Wayne Davison [Fri, 18 Jul 2008 15:12:06 +0000 (08:12 -0700)]
Make the hands.test use a higher hlink debug level.
Wayne Davison [Fri, 18 Jul 2008 14:19:21 +0000 (07:19 -0700)]
Add --debug=hlink to hands.test.
Wayne Davison [Fri, 18 Jul 2008 02:48:53 +0000 (19:48 -0700)]
Don't interrupt the make for a generated file didn't really change.
Wayne Davison [Fri, 18 Jul 2008 00:01:10 +0000 (17:01 -0700)]
Use big_num() in a few more places.
Wayne Davison [Thu, 17 Jul 2008 23:59:59 +0000 (16:59 -0700)]
Moving big_num() into lib/compat.c so tls.c can use it.
Wayne Davison [Thu, 17 Jul 2008 14:43:11 +0000 (07:43 -0700)]
Added some HLINK debugging output and enabled it for hardlink tests.
Wayne Davison [Thu, 17 Jul 2008 14:37:31 +0000 (07:37 -0700)]
Changed human_num() to big_num() with an extra arg so that it can
be used in place of all %.0f output idioms.
Wayne Davison [Tue, 15 Jul 2008 06:48:33 +0000 (23:48 -0700)]
A couple xattr fixes for --fake-super.
Wayne Davison [Tue, 15 Jul 2008 06:34:41 +0000 (23:34 -0700)]
A few more minor improvements in the --info/--debug code.
Wayne Davison [Tue, 15 Jul 2008 05:47:03 +0000 (22:47 -0700)]
Added a "test_fail" function to 00-hello.test.
Wayne Davison [Mon, 14 Jul 2008 14:40:10 +0000 (07:40 -0700)]
Made the info_verbosity array 1 element larger.
Wayne Davison [Mon, 14 Jul 2008 03:51:08 +0000 (20:51 -0700)]
Added the --info=FLAGS an --debug=FLAGS options, which allows
fine-grained output control (in addition to the coarse -v).
Wayne Davison [Mon, 14 Jul 2008 00:29:47 +0000 (17:29 -0700)]
Fixed the timeout/flush loop-check logic to work properly with
incremental recursion.
Wayne Davison [Fri, 11 Jul 2008 16:34:28 +0000 (09:34 -0700)]
If the user specifies --protocol=29, rsync will avoid sending an -e
option to the server (which is only useful for protocols 30 and above
anyway). This gives the user an easy way to talk to a restricted
server that has overly restrictive option-checking.
Wayne Davison [Sat, 5 Jul 2008 15:30:16 +0000 (08:30 -0700)]
Added the --remote-option=OPT (-M OPT) option.
Wayne Davison [Sat, 5 Jul 2008 08:41:19 +0000 (01:41 -0700)]
Got rid of some trailing whitespace.
Wayne Davison [Sat, 5 Jul 2008 07:21:05 +0000 (00:21 -0700)]
The --progress output now leaves the cursor at the end of the line
(instead of the start) in order to be extra sure that an error won't
overwrite it. We also ensure that the progress option can't be enabled
on the server side.
Wayne Davison [Sat, 5 Jul 2008 06:45:57 +0000 (23:45 -0700)]
Prepare repository for more development.
Wayne Davison [Fri, 4 Jul 2008 20:14:16 +0000 (13:14 -0700)]
Improved the docs for various delete options.
Wayne Davison [Mon, 30 Jun 2008 03:15:37 +0000 (20:15 -0700)]
Preparing for release of 3.0.3
Wayne Davison [Sat, 28 Jun 2008 17:12:57 +0000 (10:12 -0700)]
Mention the addition of the deny-rsync script, and tweak some comments.
Wayne Davison [Thu, 26 Jun 2008 15:14:11 +0000 (08:14 -0700)]
Fixed a problem with a file descriptor being left open in the
generator when handling an empty file.
Wayne Davison [Tue, 24 Jun 2008 06:05:07 +0000 (23:05 -0700)]
Some deny-rsync fixes:
- Fixed messages longer than 63 chars.
- Don't require the presence of a "bc" program.
- Append a newline to the message to make the script easier to call.
- Make extra sure the message outputs without escape interpretation.
- Stick around long enough for a client to reliably get the message.
Matt McCutchen [Tue, 24 Jun 2008 05:56:13 +0000 (22:56 -0700)]
The deny-rsync script from bug 3945.
Wayne Davison [Mon, 23 Jun 2008 15:02:46 +0000 (08:02 -0700)]
Fixed the sending of large files with older rsync versions by
handling the old block-size limit for protocols < 29.
Wayne Davison [Mon, 23 Jun 2008 02:03:46 +0000 (19:03 -0700)]
Preparing for release of 3.0.3pre3
Matt McCutchen [Mon, 23 Jun 2008 02:00:51 +0000 (19:00 -0700)]
The sender now sets IOERR_GENERAL in more skipped-file instances.
Wayne Davison [Mon, 23 Jun 2008 01:45:07 +0000 (18:45 -0700)]
Mention more fixes in the NEWS.
Wayne Davison [Mon, 23 Jun 2008 01:26:15 +0000 (18:26 -0700)]
Improved the build rules for 1 and rsyncd.conf.5 when building
in a separate build directory from the source.
Wayne Davison [Tue, 17 Jun 2008 22:59:47 +0000 (15:59 -0700)]
Avoid problems with timestamp rounding that cp -p and touch -r may do.
Wayne Davison [Fri, 13 Jun 2008 06:08:43 +0000 (23:08 -0700)]
Fix the problem with setting xattrs on a directory that has an
identical match found in a --link-dest/--copy-dest hierarchy.
Wayne Davison [Thu, 12 Jun 2008 13:59:51 +0000 (06:59 -0700)]
Cast the datum_len value to a long for rprintf().
Wayne Davison [Mon, 9 Jun 2008 14:42:03 +0000 (07:42 -0700)]
Handle a solo_file of a directory for --delete-during.
Wayne Davison [Mon, 9 Jun 2008 04:07:30 +0000 (21:07 -0700)]
A couple more xattr improvements:
- Made the XSTATE_* defines avoid using 0.
- Call !XATTR_ABBREV() in recv_xattr_request().
- Improved the "internal abbrev" error message.
- Fixed the potential for a directory time glitch in xattrs.diff.
Wayne Davison [Mon, 9 Jun 2008 03:26:22 +0000 (20:26 -0700)]
Fixed an "Internal abbrev error" when dealing with an xattr value
that is unchanged on an early file, and changed on a later file.
Added 2 new test cases to ensure this stays fixed.
Wayne Davison [Wed, 4 Jun 2008 16:01:02 +0000 (09:01 -0700)]
Improved the progress_is_active code to not overwrite the progress
output in more circumstances.
Wayne Davison [Wed, 4 Jun 2008 15:15:51 +0000 (08:15 -0700)]
Improved handling of a system that doesn't have a 64-bit offset type.
Wayne Davison [Wed, 4 Jun 2008 14:13:22 +0000 (07:13 -0700)]
Improved the proto.h target so that a build in a different dir from the
srcdir will ensure that the builddir has a copy of the proto.h file when
the Makefile found it to be out of date. This prevents the repeated
building of all the targets when the srcdir's proto.h file is accurate,
but older than the newest .c file.
Wayne Davison [Sat, 31 May 2008 21:52:24 +0000 (14:52 -0700)]
Improved the daemon testing, including adding a test to ensure that
daemon excludes can't exclude a dot dir.
Wayne Davison [Sat, 31 May 2008 21:51:38 +0000 (14:51 -0700)]
Fixed the destination path check so that it cannot exclude a
dot dir.
Wayne Davison [Sat, 31 May 2008 21:41:20 +0000 (14:41 -0700)]
Have send_file_list() check is_excluded() (but only on non-dot-dirs)
and then call send_file_name() with NO_FILTERS. This gets rid of
the need for a FLAG_DOTDIR_NAME flag (used only by make_file()).
Wayne Davison [Sat, 31 May 2008 18:27:13 +0000 (11:27 -0700)]
If an arg is excluded, don't include its implied dirs.
Wayne Davison [Sat, 31 May 2008 16:08:13 +0000 (09:08 -0700)]
Make sure the generator doesn't try to send a negative checksum count to
the sender (which would cause it to die with a cryptic error). Instead,
warn the user when the file's size is too large for checksum processing.
Wayne Davison [Thu, 22 May 2008 23:44:01 +0000 (16:44 -0700)]
Fixed the backing up of a device or socket.
Wayne Davison [Thu, 22 May 2008 14:32:11 +0000 (07:32 -0700)]
A cuple more fixes for --xattrs combined with --backup, this time to
handle when --link-dest is also used.
Wayne Davison [Sun, 18 May 2008 14:00:48 +0000 (07:00 -0700)]
Fixed the "src" symlink in each testtmp subdir.
Wayne Davison [Sat, 17 May 2008 22:07:24 +0000 (15:07 -0700)]
Fix some path problems when the build dir is not the
source dir.
Wayne Davison [Sat, 17 May 2008 17:02:19 +0000 (10:02 -0700)]
Preparing for release of 3.0.3pre2