rsync/rsync.git
13 years agoAdded a way for supplementary groups to be specified in the rsyncd.conf
Wayne Davison [Fri, 20 Feb 2009 07:02:03 +0000 (23:02 -0800)]
Added a way for supplementary groups to be specified in the rsyncd.conf
file.  Also made explicitly-set uid/gid values no longer ignored by a
daemon that was not run by a super-user.

13 years agoAdding a way for log-format numbers to become more human readable.
Wayne Davison [Tue, 17 Feb 2009 21:22:28 +0000 (13:22 -0800)]
Adding a way for log-format numbers to become more human readable.

13 years agoMention that only the first line of a password-file is used.
Wayne Davison [Mon, 16 Feb 2009 18:31:58 +0000 (10:31 -0800)]
Mention that only the first line of a password-file is used.

13 years agoHandle a link_stat() failure with errno ENOENT as a vanished file.
Wayne Davison [Sat, 14 Feb 2009 16:35:57 +0000 (08:35 -0800)]
Handle a link_stat() failure with errno ENOENT as a vanished file.

13 years agoAdded --disable-iconv-open option for configure to turn off all use
Wayne Davison [Sat, 14 Feb 2009 15:50:09 +0000 (07:50 -0800)]
Added --disable-iconv-open option for configure to turn off all use
of the iconv_open() function.  Implies --disable-iconv (which turns
off the --iconv option).  Fixes bug #6107.

13 years agoMoved the --disable-debug check sooner in configure.in so that it
Wayne Davison [Sat, 14 Feb 2009 15:46:39 +0000 (07:46 -0800)]
Moved the --disable-debug check sooner in configure.in so that it
happens prior to checking for the compiler.  Switched no-debug code
to setting ac_cv_prog_cc_g=no.  Fixes bug #6106.

13 years agoMade copy_section() and string_set() simpler, getting rid of a
Wayne Davison [Fri, 6 Feb 2009 15:27:18 +0000 (07:27 -0800)]
Made copy_section() and string_set() simpler, getting rid of a
"FIXME" comment that we don't need to fix.

13 years agoCombine Globals and Locals into a Vars struct that parallels Defaults,
Wayne Davison [Thu, 5 Feb 2009 15:31:51 +0000 (07:31 -0800)]
Combine Globals and Locals into a Vars struct that parallels Defaults,
shortening some code.  Improve comments and make other minor cleanups.
Based on a patch that Matt McCutchen posted to the mailing list.

13 years agoEnsure that the sender turns off any msg_fd_in use earlier.
Wayne Davison [Thu, 5 Feb 2009 02:14:15 +0000 (18:14 -0800)]
Ensure that the sender turns off any msg_fd_in use earlier.
This avoids a problem where an extra message from the sender
could give the generator time to start sending data that will
not be understood by the sender's use of read_msg_fd().

13 years agoDo not try to send a symlink with a 0-length value.
Wayne Davison [Wed, 4 Feb 2009 15:53:35 +0000 (07:53 -0800)]
Do not try to send a symlink with a 0-length value.
This avoids a transfer error in the receiver.

13 years agoWe only need to send --stats to a remote receiver now.
Wayne Davison [Thu, 29 Jan 2009 07:41:17 +0000 (23:41 -0800)]
We only need to send --stats to a remote receiver now.

13 years agoA few more improvements to the hostspec-parsing code.
Wayne Davison [Thu, 29 Jan 2009 07:17:46 +0000 (23:17 -0800)]
A few more improvements to the hostspec-parsing code.

13 years agoFixed the parsing of IPv6 literal addresses with a username
Wayne Davison [Wed, 28 Jan 2009 23:55:41 +0000 (15:55 -0800)]
Fixed the parsing of IPv6 literal addresses with a username
prefixed.  Fixes bug #6067.

13 years agoCheck the right flist_num in gen_wants_ndx().
Wayne Davison [Mon, 19 Jan 2009 06:57:43 +0000 (22:57 -0800)]
Check the right flist_num in gen_wants_ndx().

13 years agoAdded a "Defaults" structure with both globals and locals in it.
Wayne Davison [Mon, 19 Jan 2009 06:40:58 +0000 (22:40 -0800)]
Added a "Defaults" structure with both globals and locals in it.
Initialize both the Globals and Locals back to their default values
when reading the config.  This fixes a bug where locals set in the
global section were not getting reset to their default value if the
config item was removed from the file.

13 years agoA couple minor function-call tweaks.
Wayne Davison [Mon, 19 Jan 2009 06:40:17 +0000 (22:40 -0800)]
A couple minor function-call tweaks.

13 years agoRenamed some typedefs:
Wayne Davison [Mon, 19 Jan 2009 06:39:57 +0000 (22:39 -0800)]
Renamed some typedefs:
- global -> global_vars
- section -> local_vars
- global_and_section -> all_vars

13 years agoRenamed sDefault to Locals.
Wayne Davison [Mon, 19 Jan 2009 06:39:20 +0000 (22:39 -0800)]
Renamed sDefault to Locals.

13 years agoUse a varint when sending the error_code.
Wayne Davison [Wed, 14 Jan 2009 18:18:47 +0000 (10:18 -0800)]
Use a varint when sending the error_code.

13 years agoFixed the delete statistics with --delete-delay and --delete-after.
Wayne Davison [Sat, 17 Jan 2009 22:46:42 +0000 (14:46 -0800)]
Fixed the delete statistics with --delete-delay and --delete-after.

13 years agoFixed a hang in the inc_recurse batch-reading code.
Wayne Davison [Sat, 17 Jan 2009 21:54:52 +0000 (13:54 -0800)]
Fixed a hang in the inc_recurse batch-reading code.

13 years agoChange some args from "char *" to "const char *" in order to get rid of
Wayne Davison [Thu, 15 Jan 2009 08:14:51 +0000 (00:14 -0800)]
Change some args from "char *" to "const char *" in order to get rid of
a compiler warning that was just introduced.  Also avoids changing the
host string to lower-case in access.c (by using iwildmatch()).

13 years agoAdded the "reverse lookup" daemon-config parameter.
Matt McCutchen [Thu, 15 Jan 2009 08:07:05 +0000 (00:07 -0800)]
Added the "reverse lookup" daemon-config parameter.

13 years agoSend the --stats option for proper del-stats operation.
Wayne Davison [Wed, 14 Jan 2009 15:38:37 +0000 (07:38 -0800)]
Send the --stats option for proper del-stats operation.

13 years agoUse "use warnings" rather than -w on the #! line.
Wayne Davison [Tue, 13 Jan 2009 22:40:35 +0000 (14:40 -0800)]
Use "use warnings" rather than -w on the #! line.

13 years agoAdding recent release info from the 3.0.x branch.
Wayne Davison [Tue, 13 Jan 2009 21:53:01 +0000 (13:53 -0800)]
Adding recent release info from the 3.0.x branch.

13 years agoFixed recv_add_uid() to properly differentiate users and groups.
Matt McCutchen [Tue, 13 Jan 2009 19:15:08 +0000 (11:15 -0800)]
Fixed recv_add_uid() to properly differentiate users and groups.

13 years agoHandle simultaneous arrival of multiple connections.
Matt McCutchen [Tue, 13 Jan 2009 17:42:54 +0000 (09:42 -0800)]
Handle simultaneous arrival of multiple connections.

13 years agoTweaked the --delete-* option summaries.
Wayne Davison [Fri, 9 Jan 2009 01:01:38 +0000 (17:01 -0800)]
Tweaked the --delete-* option summaries.

13 years agoAvoid a server-side problem with -e is at the start of the short options.
Wayne Davison [Thu, 8 Jan 2009 00:38:56 +0000 (16:38 -0800)]
Avoid a server-side problem with -e is at the start of the short options.
(Bug #6020)

13 years agoTweaked s### and m## to avoid vim highlighting issues.
Wayne Davison [Thu, 8 Jan 2009 00:38:06 +0000 (16:38 -0800)]
Tweaked s### and m## to avoid vim highlighting issues.

13 years agoFixed bug #6011: use of target in configure.
Wayne Davison [Sun, 4 Jan 2009 04:50:54 +0000 (20:50 -0800)]
Fixed bug #6011: use of target in configure.

13 years agoImproved the backup code:
Wayne Davison [Sat, 3 Jan 2009 20:00:02 +0000 (12:00 -0800)]
Improved the backup code:
- Backups do not interfere with an atomic update (when possible).
- Backing up a file will remove a directory that is in the way
  and visa versa.
- Unify the backup-dir and non-backup-dir code in backup.c.
- Improved the backup tests a little bit.

13 years agoUpdate the copyright year.
Wayne Davison [Sat, 3 Jan 2009 18:57:14 +0000 (10:57 -0800)]
Update the copyright year.

13 years agoMake delete_item() public, moving it into delete.c.
Wayne Davison [Sat, 3 Jan 2009 18:52:50 +0000 (10:52 -0800)]
Make delete_item() public, moving it into delete.c.

13 years agoAdded init_stat_x() to avoid duplication of acl/xattr init code.
Wayne Davison [Sat, 3 Jan 2009 16:53:59 +0000 (08:53 -0800)]
Added init_stat_x() to avoid duplication of acl/xattr init code.

13 years agoAllow opendir() in send_directory() to fail with ENOENT.
Wayne Davison [Sat, 27 Dec 2008 19:07:57 +0000 (11:07 -0800)]
Allow opendir() in send_directory() to fail with ENOENT.

13 years agoMention the mapfrom/mapto scripts and how they work.
Wayne Davison [Sun, 16 Nov 2008 02:30:47 +0000 (18:30 -0800)]
Mention the mapfrom/mapto scripts and how they work.

13 years agoAdding the --usermap/--groupmap/--chown options.
Wayne Davison [Sun, 16 Nov 2008 02:08:55 +0000 (18:08 -0800)]
Adding the --usermap/--groupmap/--chown options.

13 years agoMake it clearer which configure files changed.
Wayne Davison [Sat, 15 Nov 2008 23:31:38 +0000 (15:31 -0800)]
Make it clearer which configure files changed.

13 years agoAn ftruncate() failure should result in FERROR_XFER.
Wayne Davison [Sat, 15 Nov 2008 22:49:28 +0000 (14:49 -0800)]
An ftruncate() failure should result in FERROR_XFER.

13 years agoChange clean_fname() to keep "//" at the start for cygwin.
Wayne Davison [Sat, 15 Nov 2008 22:17:49 +0000 (14:17 -0800)]
Change clean_fname() to keep "//" at the start for cygwin.

13 years agoChange some size_t vars to ints.
Wayne Davison [Wed, 12 Nov 2008 02:06:11 +0000 (18:06 -0800)]
Change some size_t vars to ints.

13 years agoMake sparse_seek an OFF_T (pointed out by Pedro Valasco).
Wayne Davison [Wed, 12 Nov 2008 02:05:27 +0000 (18:05 -0800)]
Make sparse_seek an OFF_T (pointed out by Pedro Valasco).

13 years agoA "make reconfigure" doesn't stop if configure changes.
Wayne Davison [Tue, 11 Nov 2008 23:51:03 +0000 (15:51 -0800)]
A "make reconfigure" doesn't stop if configure changes.

13 years agoAdd flist_find_ignore_dirness() and change delete_in_dir() to use it.
Matt McCutchen [Mon, 10 Nov 2008 14:44:01 +0000 (06:44 -0800)]
Add flist_find_ignore_dirness() and change delete_in_dir() to use it.
This fixes an issue with -K noticed by eric casteleijn, avoids some
inconsistent itemizing when a file/dir is replaced by a dir/file,
and removes a now-obsolete chunk of code from make_file().

13 years agoFixed the use of a dot-dir path (foo/./bar) inside of a files-from file.
Wayne Davison [Mon, 10 Nov 2008 05:37:04 +0000 (21:37 -0800)]
Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file.

13 years agoFixed a bunch of "warn_unused_result" compiler warnings.
Wayne Davison [Mon, 10 Nov 2008 02:46:55 +0000 (18:46 -0800)]
Fixed a bunch of "warn_unused_result" compiler warnings.

13 years agoAvoid a potential hang when --remove-*-files is active.
Wayne Davison [Mon, 10 Nov 2008 01:59:11 +0000 (17:59 -0800)]
Avoid a potential hang when --remove-*-files is active.

13 years agoThe protect filter automatically added with --backup is not perishable
Matt McCutchen [Mon, 3 Nov 2008 01:46:08 +0000 (20:46 -0500)]
The protect filter automatically added with --backup is not perishable
(see f41152d39396f0672a97268739c333537579404a), so remove the inaccurate
"p" from the man page.  Noticed by Jacob Balazer:

http://lists.samba.org/archive/rsync/2008-November/022022.html

13 years agoMention rsync's definition of client and server.
Wayne Davison [Sat, 25 Oct 2008 16:43:50 +0000 (09:43 -0700)]
Mention rsync's definition of client and server.

13 years agoFixed our supplied getnameinfo()'s ability to do a reverse lookup,
Wayne Davison [Sat, 25 Oct 2008 15:39:41 +0000 (08:39 -0700)]
Fixed our supplied getnameinfo()'s ability to do a reverse lookup,
as reported in bug 5851.

13 years agoAdding hashtable debugging output (--debug=hash).
Wayne Davison [Wed, 15 Oct 2008 14:49:14 +0000 (07:49 -0700)]
Adding hashtable debugging output (--debug=hash).

13 years agoFixed a glitch when using -s with a remote-shell daemon.
Wayne Davison [Sat, 11 Oct 2008 18:11:10 +0000 (11:11 -0700)]
Fixed a glitch when using -s with a remote-shell daemon.

13 years agoDon't lookup address "0.0.0.0" when we're a remote-shell daemon.
Wayne Davison [Sat, 11 Oct 2008 18:00:51 +0000 (11:00 -0700)]
Don't lookup address "0.0.0.0" when we're a remote-shell daemon.
Gets rid of a DNS delay waiting for a lookup failure.

13 years agoFixed send_protected_args() to send "." in place of an empty arg.
Wayne Davison [Sat, 11 Oct 2008 17:27:16 +0000 (10:27 -0700)]
Fixed send_protected_args() to send "." in place of an empty arg.

13 years agoAdded a fully atomic update if the user has setup a symlink
Wayne Davison [Sat, 11 Oct 2008 16:30:26 +0000 (09:30 -0700)]
Added a fully atomic update if the user has setup a symlink
to a *-1 or *-2 directory.  A few other minor improvements.

13 years agoFix the error message on one of the rename operations.
Wayne Davison [Tue, 30 Sep 2008 04:54:49 +0000 (21:54 -0700)]
Fix the error message on one of the rename operations.

13 years agoEnhanced the --stats output:
Wayne Davison [Sat, 27 Sep 2008 04:55:44 +0000 (21:55 -0700)]
Enhanced the --stats output:
- Mention how many files were created (protocol >= 29).
- Mention how many files were deleted (new in protocol 31).
- Follow the file-count, created-count, and deleted-count
  with a break-out list of each count by type.

13 years agoProperly ignore source args on a --read-batch command.
Wayne Davison [Sat, 27 Sep 2008 03:45:49 +0000 (20:45 -0700)]
Properly ignore source args on a --read-batch command.

13 years agoMore batch-mode fixes to handle redos properly (and without hanging).
Wayne Davison [Sat, 27 Sep 2008 03:21:27 +0000 (20:21 -0700)]
More batch-mode fixes to handle redos properly (and without hanging).

13 years agoMoved the flist_ndx_{push,pop}() routines from io.c into util.c.
Wayne Davison [Sat, 27 Sep 2008 02:45:08 +0000 (19:45 -0700)]
Moved the flist_ndx_{push,pop}() routines from io.c into util.c.

13 years agoInitialize xattr data in a couple spots in the hlink code, which avoids
Wayne Davison [Wed, 24 Sep 2008 03:15:19 +0000 (20:15 -0700)]
Initialize xattr data in a couple spots in the hlink code, which avoids
a crash when the xattr pointer's memory happens to start out non-zero.
Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.

13 years agoDon't send a bogus "-" option to an older server if there were
Wayne Davison [Wed, 24 Sep 2008 02:35:36 +0000 (19:35 -0700)]
Don't send a bogus "-" option to an older server if there were
no short options specified.

13 years agoFixed skipping of unneeded updates in a batch file when
Wayne Davison [Wed, 24 Sep 2008 02:27:14 +0000 (19:27 -0700)]
Fixed skipping of unneeded updates in a batch file when
incremental recursion is active.  Added test.

13 years agoRemove bogus "non-empty" qualifier in '*' discussion.
Wayne Davison [Mon, 15 Sep 2008 02:57:02 +0000 (19:57 -0700)]
Remove bogus "non-empty" qualifier in '*' discussion.

13 years agoA couple instant-rsyncd improvements:
Wayne Davison [Thu, 11 Sep 2008 15:42:27 +0000 (08:42 -0700)]
A couple instant-rsyncd improvements:
- Prompt the user for the parameters when missing.
- Allow the creation of a module without a user+password.

13 years agoAdd instant-rsyncd to support/ .
Matt McCutchen [Thu, 14 Aug 2008 21:56:57 +0000 (17:56 -0400)]
Add instant-rsyncd to support/ .

13 years agoConvey the cleaned-up module-path to the user in all cases.
Wayne Davison [Thu, 11 Sep 2008 13:14:00 +0000 (06:14 -0700)]
Convey the cleaned-up module-path to the user in all cases.
Fixed a just-introduced problem with a relative module-path.

13 years agoFix the %P logfile escape inside a chroot.
Wayne Davison [Wed, 10 Sep 2008 23:45:06 +0000 (16:45 -0700)]
Fix the %P logfile escape inside a chroot.

13 years agoAdding 3.0.4 release line to OLDNEWS.
Wayne Davison [Sat, 6 Sep 2008 16:50:49 +0000 (09:50 -0700)]
Adding 3.0.4 release line to OLDNEWS.

13 years agoAdding human_readable var.
Wayne Davison [Wed, 3 Sep 2008 23:10:45 +0000 (16:10 -0700)]
Adding human_readable var.

13 years agoChanged some "rsync" commands into proper "$RSYNC" commands.
Wayne Davison [Wed, 3 Sep 2008 19:15:36 +0000 (12:15 -0700)]
Changed some "rsync" commands into proper "$RSYNC" commands.

13 years agoSplit up the ifuncs.h file into 3 .h files.
Wayne Davison [Tue, 2 Sep 2008 02:09:21 +0000 (19:09 -0700)]
Split up the ifuncs.h file into 3 .h files.

13 years agoDon't define an array with no size.
Wayne Davison [Tue, 2 Sep 2008 02:01:48 +0000 (19:01 -0700)]
Don't define an array with no size.

13 years agoA little tidying up to follow my preferred style.
Wayne Davison [Tue, 2 Sep 2008 00:08:26 +0000 (17:08 -0700)]
A little tidying up to follow my preferred style.

13 years agoSeveral fixes for merge file handling:
Matt McCutchen [Tue, 2 Sep 2008 00:01:19 +0000 (17:01 -0700)]
Several fixes for merge file handling:
- Free a mergelist's parent_dirscanned filters the last time it is
  popped or as soon as the filters are discarded due to the "n"
  modifier.  Aside from not leaking memory, this is needed to clean up
  any mergelists defined during the parent_dirscan to avoid crashing by
  trying to restore nonexistent state for them in pop_local_filters.
- Make push_local_filters save the current mergelist_cnt, and make
  pop_local_filters assert that it has the correct number of mergelists
  before restoring their state.
- Assert that mergelists get deactivated in strict LIFO order to catch
  any glitches as soon as they happen.  Free linked lists of filters in
  reverse order to make that the case.
- Add a bunch of mergelist-related debug output (--debug=filter2).

13 years agoOutput numbers in 3-digit groups by default (e.g. 1,234,567).
Wayne Davison [Mon, 1 Sep 2008 19:53:43 +0000 (12:53 -0700)]
Output numbers in 3-digit groups by default (e.g. 1,234,567).
Also improved the human-readable output functions, including
adding the ability to output negative numbers.

13 years agoVerify that SUBPROTOCOL_VERSION is set correctly when making a
Wayne Davison [Sun, 31 Aug 2008 18:55:09 +0000 (11:55 -0700)]
Verify that SUBPROTOCOL_VERSION is set correctly when making a
nightly tar file release.  Fixed the opening comments.

13 years agoAdded extra file-changing logic to ensure that the various files that
Wayne Davison [Sun, 31 Aug 2008 17:01:44 +0000 (10:01 -0700)]
Added extra file-changing logic to ensure that the various files that
mention the protocol number have the right value, that the check-in date
for a protocol-change release is specified, and that a pre-release with
a protocol change doesn't have SUBPROTOCOL_VERSION set to 0.  Prompt for
releasing a branch if -b option was not used and we're on a branch.

13 years agoImproved the fix that ensures that the generator gets notified about an
Wayne Davison [Sun, 31 Aug 2008 16:03:50 +0000 (09:03 -0700)]
Improved the fix that ensures that the generator gets notified about an
I/O error for the incremental directory that generated the error.  The
PROTOCOL_VERSION was bumped to 31 to implement this.

13 years agoImproved rwrite() to handle a stderr exception without playing games
Wayne Davison [Sun, 24 Aug 2008 21:07:10 +0000 (14:07 -0700)]
Improved rwrite() to handle a stderr exception without playing games
with the msgs2stderr value.

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

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

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

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

14 years agoChanged flist_for_ndx() to optionally die with an error
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.

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

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

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

14 years agoWhen using --iconv, if a server-side receiver can't convert a filename,
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.

14 years agoRefer to the symlink's contents as "symlink data", not "symlink name".
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".

14 years agoAdded logic to the receiving side to ensure that the --delete-during
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).

14 years agoSkip new symlink conversion step if the remote rsync is not
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.

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

14 years agoFixed a problem with checking for the '.' dir in the first file
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.

14 years agoChanged the iconv-related message that was being output as the
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.

14 years agoFixed a couple minor problems in util.c:
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.

14 years agoProperly handle a failure to create a partial directory, which is
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.

14 years agoOutput an FERROR* for a general io_error, and an FWARNING for other
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.