rsync.git
12 years agoGot rid of the check_for_io_err code, as it could cause a hang.
Wayne Davison [Sun, 31 Aug 2008 14:27:11 +0000 (07:27 -0700)]
Got rid of the check_for_io_err code, as it could cause a hang.
The io_error issue will be fixed in a better way in 3.1.0.

12 years agoSome minor improvements to the flushing code to try to make it
Wayne Davison [Sun, 24 Aug 2008 19:53:22 +0000 (12:53 -0700)]
Some minor improvements to the flushing code to try to make it
even more solid.

12 years agoMake the !flist_eof assumption explicit before the check_for_io_err
Wayne Davison [Sun, 24 Aug 2008 19:33:22 +0000 (12:33 -0700)]
Make the !flist_eof assumption explicit before the check_for_io_err
code calls wait_for_receiver().

12 years agoAdded /support/savetransfer to .gitignore.
Wayne Davison [Sun, 17 Aug 2008 16:28:06 +0000 (09:28 -0700)]
Added /support/savetransfer to .gitignore.

12 years agoAn improved RERR_PARTIAL message.
Wayne Davison [Sun, 17 Aug 2008 16:20:50 +0000 (09:20 -0700)]
An improved RERR_PARTIAL message.

12 years agoChanged flist_for_ndx() to optionally die with an error
Wayne Davison [Thu, 14 Aug 2008 14:32:18 +0000 (07:32 -0700)]
Changed flist_for_ndx() to optionally die with an error
if the index isn't found.

12 years agoMade an error of readlink_stat() use the right function name.
Wayne Davison [Sun, 10 Aug 2008 14:31:45 +0000 (07:31 -0700)]
Made an error of readlink_stat() use the right function name.

12 years agoMake sure that the hlink node->data allocation doesn't fail.
Wayne Davison [Fri, 8 Aug 2008 14:47:31 +0000 (07:47 -0700)]
Make sure that the hlink node->data allocation doesn't fail.

12 years agoImproved a couple NEWS items.
Wayne Davison [Wed, 6 Aug 2008 01:43:51 +0000 (18:43 -0700)]
Improved a couple NEWS items.

12 years agoPreparing for release of 3.0.4pre2 v3.0.4pre2
Wayne Davison [Sat, 2 Aug 2008 21:06:31 +0000 (14:06 -0700)]
Preparing for release of 3.0.4pre2

12 years agoTweaked the symlink iconv buffer size and fixed a comment.
Wayne Davison [Sat, 2 Aug 2008 20:45:15 +0000 (13:45 -0700)]
Tweaked the symlink iconv buffer size and fixed a comment.

12 years agoWhen using --iconv, if a server-side receiver can't convert a filename,
Wayne Davison [Sat, 2 Aug 2008 17:25:17 +0000 (10:25 -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.

12 years agoRefer to the symlink's contents as "symlink data", not "symlink name".
Wayne Davison [Sat, 2 Aug 2008 17:18:10 +0000 (10:18 -0700)]
Refer to the symlink's contents as "symlink data", not "symlink name".

12 years agoAdded logic to the receiving side to ensure that the --delete-during
Wayne Davison [Sat, 2 Aug 2008 16:03:49 +0000 (09:03 -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).

12 years agoSkip new symlink conversion step if the remote rsync is not
Wayne Davison [Sat, 2 Aug 2008 14:04:54 +0000 (07:04 -0700)]
Skip new symlink conversion step if the remote rsync is not
new enough to do symlink content conversions.

12 years agoThe --iconv option now converts the content of a symlink too.
Wayne Davison [Sat, 2 Aug 2008 02:12:33 +0000 (19:12 -0700)]
The --iconv option now converts the content of a symlink too.

12 years agoFixed a problem with checking for the '.' dir in the first file
Wayne Davison [Sat, 2 Aug 2008 02:00:21 +0000 (19:00 -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.

12 years agoFixed a couple minor problems in util.c:
Wayne Davison [Sat, 2 Aug 2008 01:00:18 +0000 (18:00 -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.

12 years agoProperly handle a failure to create a partial directory, which is
Wayne Davison [Sat, 2 Aug 2008 00:53:43 +0000 (17:53 -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.

12 years agoOutput an FERROR* for a general io_error, and an FWARNING for other
Wayne Davison [Thu, 31 Jul 2008 14:55:59 +0000 (07:55 -0700)]
Output an FERROR* for a general io_error, and an FWARNING for other
io_error flags.

12 years agoMention a missing sender-side hash improvment that went out in 3.0.0.
Wayne Davison [Wed, 30 Jul 2008 15:33:35 +0000 (08:33 -0700)]
Mention a missing sender-side hash improvment that went out in 3.0.0.

12 years agoMake hard-linking work when a device has an st_dev of 0.
Wayne Davison [Wed, 30 Jul 2008 00:59:08 +0000 (17:59 -0700)]
Make hard-linking work when a device has an st_dev of 0.

12 years agoMention some mount options that can interfere with --link-dest.
Wayne Davison [Tue, 29 Jul 2008 01:24:25 +0000 (18:24 -0700)]
Mention some mount options that can interfere with --link-dest.

12 years agoBack-porting some manpage improvements.
Wayne Davison [Tue, 29 Jul 2008 00:07:38 +0000 (17:07 -0700)]
Back-porting some manpage improvements.

12 years agoPreparing for release of 3.0.4pre1 v3.0.4pre1
Wayne Davison [Fri, 25 Jul 2008 00:03:26 +0000 (17:03 -0700)]
Preparing for release of 3.0.4pre1

12 years agoFixed the --fake-super test in the xattrs testsuite when there are
Wayne Davison [Thu, 24 Jul 2008 14:46:16 +0000 (07:46 -0700)]
Fixed the --fake-super test in the xattrs testsuite when there are
root-level xattrs on the files (e.g. selinux values).

12 years agoFixed the timeout/flush loop-check logic to work properly with
Wayne Davison [Thu, 24 Jul 2008 06:37:11 +0000 (23:37 -0700)]
Fixed the timeout/flush loop-check logic to work properly with
incremental recursion.

12 years agoDon't interrupt the make if a generated build file didn't really change.
Wayne Davison [Thu, 24 Jul 2008 06:28:57 +0000 (23:28 -0700)]
Don't interrupt the make if a generated build file didn't really change.

12 years agoA couple xattr fixes for --fake-super.
Wayne Davison [Thu, 24 Jul 2008 06:12:39 +0000 (23:12 -0700)]
A couple xattr fixes for --fake-super.

12 years agoIf the user specifies --protocol=29, rsync will avoid sending an -e
Wayne Davison [Thu, 24 Jul 2008 06:09:15 +0000 (23:09 -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.

12 years agoPass --branch option to patch-update script.
Wayne Davison [Thu, 24 Jul 2008 00:03:03 +0000 (17:03 -0700)]
Pass --branch option to patch-update script.

12 years agoWe only need to deal with local patch branches now.
Wayne Davison [Wed, 23 Jul 2008 21:32:58 +0000 (14:32 -0700)]
We only need to deal with local patch branches now.

12 years agoFixed a potential alignment issue in the IRIX ACL code when allocating
Wayne Davison [Wed, 23 Jul 2008 04:35:21 +0000 (21:35 -0700)]
Fixed a potential alignment issue in the IRIX ACL code when allocating
the initial struct acl object.  Also, cast mallocs to avoid warnings.

12 years agoFixed a bug in match_hard_links() where an empty directory would try
Wayne Davison [Wed, 23 Jul 2008 04:34:20 +0000 (21: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).

12 years agoAllow a release from a non-master branch.
Wayne Davison [Tue, 22 Jul 2008 16:11:34 +0000 (09:11 -0700)]
Allow a release from a non-master branch.

12 years agoStart the 3.0.4 branch.
Wayne Davison [Tue, 22 Jul 2008 16:05:00 +0000 (09:05 -0700)]
Start the 3.0.4 branch.

12 years agoPreparing for release of 3.0.3 v3.0.3
Wayne Davison [Mon, 30 Jun 2008 03:15:37 +0000 (20:15 -0700)]
Preparing for release of 3.0.3

12 years agoMention the addition of the deny-rsync script, and tweak some comments.
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.

12 years agoFixed a problem with a file descriptor being left open in the
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.

12 years agoSome deny-rsync fixes:
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.

12 years agoThe deny-rsync script from bug 3945.
Matt McCutchen [Tue, 24 Jun 2008 05:56:13 +0000 (22:56 -0700)]
The deny-rsync script from bug 3945.

12 years agoFixed the sending of large files with older rsync versions by
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.

12 years agoPreparing for release of 3.0.3pre3 v3.0.3pre3
Wayne Davison [Mon, 23 Jun 2008 02:03:46 +0000 (19:03 -0700)]
Preparing for release of 3.0.3pre3

12 years agoThe sender now sets IOERR_GENERAL in more skipped-file instances.
Matt McCutchen [Mon, 23 Jun 2008 02:00:51 +0000 (19:00 -0700)]
The sender now sets IOERR_GENERAL in more skipped-file instances.

12 years agoMention more fixes in the NEWS.
Wayne Davison [Mon, 23 Jun 2008 01:45:07 +0000 (18:45 -0700)]
Mention more fixes in the NEWS.

12 years agoImproved the build rules for rsync.1 and rsyncd.conf.5 when building
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.

12 years agoAvoid problems with timestamp rounding that cp -p and touch -r may do.
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.

12 years agoFix the problem with setting xattrs on a directory that has an
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.

12 years agoCast the datum_len value to a long for rprintf().
Wayne Davison [Thu, 12 Jun 2008 13:59:51 +0000 (06:59 -0700)]
Cast the datum_len value to a long for rprintf().

12 years agoHandle a solo_file of a directory for --delete-during.
Wayne Davison [Mon, 9 Jun 2008 14:42:03 +0000 (07:42 -0700)]
Handle a solo_file of a directory for --delete-during.

12 years agoA couple more xattr improvements:
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.

12 years agoFixed an "Internal abbrev error" when dealing with an xattr value
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.

12 years agoImproved the progress_is_active code to not overwrite the progress
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.

12 years agoImproved handling of a system that doesn't have a 64-bit offset type.
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.

12 years agoImproved the proto.h target so that a build in a different dir from the
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.

12 years agoImproved the daemon testing, including adding a test to ensure that
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.

12 years agoFixed the destination path check so that it cannot exclude a
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.

12 years agoHave send_file_list() check is_excluded() (but only on non-dot-dirs)
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()).

12 years agoIf an arg is excluded, don't include its implied dirs.
Wayne Davison [Sat, 31 May 2008 18:27:13 +0000 (11:27 -0700)]
If an arg is excluded, don't include its implied dirs.

12 years agoMake sure the generator doesn't try to send a negative checksum count to
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.

12 years agoFixed the backing up of a device or socket.
Wayne Davison [Thu, 22 May 2008 23:44:01 +0000 (16:44 -0700)]
Fixed the backing up of a device or socket.

12 years agoA cuple more fixes for --xattrs combined with --backup, this time to
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.

12 years agoFixed the "src" symlink in each testtmp subdir.
Wayne Davison [Sun, 18 May 2008 14:00:48 +0000 (07:00 -0700)]
Fixed the "src" symlink in each testtmp subdir.

12 years agoFix some path problems when the build dir is not the
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.

12 years agoPreparing for release of 3.0.3pre2 v3.0.3pre2
Wayne Davison [Sat, 17 May 2008 17:02:19 +0000 (10:02 -0700)]
Preparing for release of 3.0.3pre2

12 years agoFixed an "else" in the device-making part of keep_backup().
Wayne Davison [Sat, 17 May 2008 16:57:08 +0000 (09:57 -0700)]
Fixed an "else" in the device-making part of keep_backup().

12 years agoMention the latest fixes in the NEWS.
Wayne Davison [Sat, 17 May 2008 16:45:13 +0000 (09:45 -0700)]
Mention the latest fixes in the NEWS.

12 years agoFixed several issues with preserving xattrs when using --backup.
Wayne Davison [Sat, 17 May 2008 16:30:46 +0000 (09:30 -0700)]
Fixed several issues with preserving xattrs when using --backup.

12 years agoPreserve the right errno value when trying adjunct functions during
Wayne Davison [Sat, 17 May 2008 14:44:20 +0000 (07:44 -0700)]
Preserve the right errno value when trying adjunct functions during
robust backup, copy, and renaming activities.

12 years agoImproved the docs for --inplace and made the mentions of
Wayne Davison [Sat, 10 May 2008 06:49:41 +0000 (23:49 -0700)]
Improved the docs for --inplace and made the mentions of
rsync's delta-transfer algorithm more consistent.

12 years agoPreparing for release of 3.0.3pre1 v3.0.3pre1
Wayne Davison [Thu, 8 May 2008 05:12:57 +0000 (22:12 -0700)]
Preparing for release of 3.0.3pre1

12 years agoThe test of HAVE_LUTIMES accidentally omitted the 'L'.
Wayne Davison [Thu, 8 May 2008 05:11:17 +0000 (22:11 -0700)]
The test of HAVE_LUTIMES accidentally omitted the 'L'.

12 years agoAdded options to tls.c to allow us to ask for mtime and ownership info
Wayne Davison [Tue, 6 May 2008 17:39:19 +0000 (10:39 -0700)]
Added options to tls.c to allow us to ask for mtime and ownership info
on symlinks.  The testsuite will now pass these options to tls if rsync
is configured to affect such attributes on symlinks.

12 years agoAdding missing entry for 3.0.3 protocol-history list.
Wayne Davison [Thu, 1 May 2008 23:14:39 +0000 (16:14 -0700)]
Adding missing entry for 3.0.3 protocol-history list.

12 years agoMention all the latest changes in the NEWS.
Wayne Davison [Tue, 29 Apr 2008 04:29:15 +0000 (21:29 -0700)]
Mention all the latest changes in the NEWS.

12 years ago- Changed prev_name into a buffer so that there is no chance that its
Wayne Davison [Tue, 29 Apr 2008 04:17:36 +0000 (21:17 -0700)]
- Changed prev_name into a buffer so that there is no chance that its
  contents can be overwritten by other calls to f_name().
- Changed an hlink assert into a check that provides more debug info.

12 years agoFixed a crash if a non-incremental-recursion transfer has a
Wayne Davison [Mon, 28 Apr 2008 01:45:13 +0000 (18:45 -0700)]
Fixed a crash if a non-incremental-recursion transfer has a
skipped file in a set of hard-links.

12 years agoReorder the filenames to touch to try to avoid a weird error on Solaris
Wayne Davison [Sat, 19 Apr 2008 02:55:08 +0000 (19:55 -0700)]
Reorder the filenames to touch to try to avoid a weird error on Solaris
5.8.  Also, use lsh in one of the runs in order to try a hard-link run
that uses a (pretend) remote shell.

12 years agoAdded a --no-cd option to support/lsh so that the script can be used by
Wayne Davison [Fri, 18 Apr 2008 14:20:30 +0000 (07:20 -0700)]
Added a --no-cd option to support/lsh so that the script can be used by
the testsuite.  Improved the home-directory-changing code and added an
error message when "localhost" is not the hostname specified.  Use the
updated script in the testsuite instead of creating a pretend-ssh script
in a couple spots.

12 years agoFixed a problem with how the daemon filters deal with
Wayne Davison [Wed, 16 Apr 2008 16:32:22 +0000 (09:32 -0700)]
Fixed a problem with how the daemon filters deal with
a destination directory with a trailing slash.

12 years agoDon't allow '.' dir to be excluded by the daemon's filter rules.
Wayne Davison [Wed, 16 Apr 2008 16:30:28 +0000 (09:30 -0700)]
Don't allow '.' dir to be excluded by the daemon's filter rules.

12 years agoA few $last_touch tweaks.
Wayne Davison [Wed, 16 Apr 2008 16:11:15 +0000 (09:11 -0700)]
A few $last_touch tweaks.

12 years agoWhen running in --progress mode with a progress message active, the
Wayne Davison [Tue, 15 Apr 2008 15:39:59 +0000 (08:39 -0700)]
When running in --progress mode with a progress message active, the
client now outputs a newline prior to an error message, which avoids
overwriting the active file's last progress line.

12 years agoMoved the setting of the socket options before the connect().
Wayne Davison [Tue, 15 Apr 2008 15:34:17 +0000 (08:34 -0700)]
Moved the setting of the socket options before the connect().

12 years agoFixed the %M escape, which was munging the wrong spaces.
Wayne Davison [Tue, 15 Apr 2008 15:32:41 +0000 (08:32 -0700)]
Fixed the %M escape, which was munging the wrong spaces.

12 years agoUse overflow_exit() for overflows, not out_of_memory().
Wayne Davison [Tue, 15 Apr 2008 15:27:38 +0000 (08:27 -0700)]
Use overflow_exit() for overflows, not out_of_memory().

12 years agoConsistently call the daemon parameters "parameters", not "options",
Wayne Davison [Tue, 15 Apr 2008 15:26:00 +0000 (08:26 -0700)]
Consistently call the daemon parameters "parameters", not "options",
which allows us to distinguish them from rsync's command-line options.

12 years agoUpdated the README and the NEWS file.
Wayne Davison [Tue, 15 Apr 2008 15:12:56 +0000 (08:12 -0700)]
Updated the README and the NEWS file.

12 years agoFix a file-globbing bug in the daemon when chroot is on.
Wayne Davison [Sat, 12 Apr 2008 05:32:38 +0000 (22:32 -0700)]
Fix a file-globbing bug in the daemon when chroot is on.

12 years agoIf the daemon test is run as root, use a --config option.
Wayne Davison [Sat, 12 Apr 2008 04:57:17 +0000 (21:57 -0700)]
If the daemon test is run as root, use a --config option.

12 years agoPrepare repository for more development.
Wayne Davison [Sat, 12 Apr 2008 04:48:32 +0000 (21:48 -0700)]
Prepare repository for more development.

12 years agoPreparing for release of 3.0.2 v3.0.2
Wayne Davison [Tue, 8 Apr 2008 15:16:05 +0000 (08:16 -0700)]
Preparing for release of 3.0.2

12 years agoCall patch-update in its new location.
Wayne Davison [Tue, 8 Apr 2008 15:15:39 +0000 (08:15 -0700)]
Call patch-update in its new location.

12 years agoRoll over the NEWS files for the next release.
Wayne Davison [Tue, 8 Apr 2008 15:01:56 +0000 (08:01 -0700)]
Roll over the NEWS files for the next release.

12 years agoFixed a potential overflow issue with realloc() that Sebastian Krahmer
Wayne Davison [Tue, 8 Apr 2008 15:01:43 +0000 (08:01 -0700)]
Fixed a potential overflow issue with realloc() that Sebastian Krahmer
pointed out.

12 years agoHave the spec file put more useful stuff into the doc dir.
Wayne Davison [Sun, 6 Apr 2008 05:46:48 +0000 (22:46 -0700)]
Have the spec file put more useful stuff into the doc dir.

12 years agoMoving some files from support into packaging.
Wayne Davison [Sun, 6 Apr 2008 05:45:12 +0000 (22:45 -0700)]
Moving some files from support into packaging.

12 years agoComment out the Source1 tar file by default in the spec file.
Wayne Davison [Fri, 4 Apr 2008 07:17:00 +0000 (00:17 -0700)]
Comment out the Source1 tar file by default in the spec file.

12 years agoFixed the code that removes old file versions for a final release.
Wayne Davison [Fri, 4 Apr 2008 07:05:44 +0000 (00:05 -0700)]
Fixed the code that removes old file versions for a final release.

12 years agoBump the repository version to 3.0.2dev.
Wayne Davison [Fri, 4 Apr 2008 07:04:58 +0000 (00:04 -0700)]
Bump the repository version to 3.0.2dev.