rsync/rsync.git
14 years agoFix some man page problems Scott Kostyshak pointed out.
Wayne Davison [Sat, 17 Oct 2009 18:06:49 +0000 (11:06 -0700)]
Fix some man page problems Scott Kostyshak pointed out.

14 years agoFix check for an empty output buffer and limit to flist_eof.
Wayne Davison [Sat, 17 Oct 2009 16:09:27 +0000 (09:09 -0700)]
Fix check for an empty output buffer and limit to flist_eof.

14 years agoA major overhaul of I/O routines, creating perform_io().
Wayne Davison [Sat, 17 Oct 2009 05:39:21 +0000 (22:39 -0700)]
A major overhaul of I/O routines, creating perform_io().

Files-from data is now sent as multiplexed I/O so that it can mingle
with any messages (such as debug output).  Requires protocol 31.

Protocol 31 no longer disables output verbosity in a couple instances
that used to cause protocol issues.

Got rid of MSG_* messages that have implied raw data that follows after
them.  We instead send a negative index value as a part of the raw data
stream, which is guaranteed to be output together with the following
data.  This only affects the (in-progress) protocol 31 and the (self-
contained) communication stream from the receiver to the generator.

Added --debug=IO and improved --debug=FLIST.  Some --debug=IO output
requires --msgs2stderr to be used to see it (i.e. sending a message
about sending a message would send another message, ad infinitum).

14 years agoAvoid type-punned compiler warnings for the byteorder.h macros
Wayne Davison [Wed, 14 Oct 2009 04:07:46 +0000 (21:07 -0700)]
Avoid type-punned compiler warnings for the byteorder.h macros
by using inline functions for the 4-char <-> uint32 conversions.

14 years agoAvoid calling send_extra_file_list() when we shouldn't.
Wayne Davison [Tue, 13 Oct 2009 17:45:23 +0000 (10:45 -0700)]
Avoid calling send_extra_file_list() when we shouldn't.

14 years agoAvoid stopping multiplexed out over the message fd.
Wayne Davison [Mon, 12 Oct 2009 16:03:42 +0000 (09:03 -0700)]
Avoid stopping multiplexed out over the message fd.
Use simpler multiplexed-out stopping method.
Make sure we can't false-match a socket fd.

14 years agoChange the msg pipe to use a real multiplexed IO mode
Wayne Davison [Tue, 15 Sep 2009 23:12:24 +0000 (16:12 -0700)]
Change the msg pipe to use a real multiplexed IO mode
for the data that goes from the receiver to the generator.

14 years agoBetter mask handling, including some changes to help solaris.
Wayne Davison [Sat, 12 Sep 2009 16:40:31 +0000 (09:40 -0700)]
Better mask handling, including some changes to help solaris.

14 years agoPass "new_mode" to set_acl() and change its return values.
Wayne Davison [Sat, 12 Sep 2009 16:27:07 +0000 (09:27 -0700)]
Pass "new_mode" to set_acl() and change its return values.

14 years agoPut file descriptor arg at the start of the arg list for consistency.
Wayne Davison [Sat, 12 Sep 2009 16:13:38 +0000 (09:13 -0700)]
Put file descriptor arg at the start of the arg list for consistency.

14 years agoImprove the "--delete does not work without -r or -d" message.
Wayne Davison [Mon, 7 Sep 2009 21:22:59 +0000 (14:22 -0700)]
Improve the "--delete does not work without -r or -d" message.

14 years agoAdd support for transferring & setting nsec time values.
Wayne Davison [Mon, 7 Sep 2009 20:49:52 +0000 (13:49 -0700)]
Add support for transferring & setting nsec time values.

14 years agoAlways use lutimes() if it is available.
Wayne Davison [Mon, 7 Sep 2009 20:45:33 +0000 (13:45 -0700)]
Always use lutimes() if it is available.

14 years agoAdd a few new "dont compress" suffixes and improve the docs.
Wayne Davison [Sat, 5 Sep 2009 17:26:51 +0000 (10:26 -0700)]
Add a few new "dont compress" suffixes and improve the docs.

14 years agoImprove error handling and get rid of a lingering fprintf().
Wayne Davison [Sat, 5 Sep 2009 17:25:42 +0000 (10:25 -0700)]
Improve error handling and get rid of a lingering fprintf().

14 years agoFix daemon's conveyance of io_error value from sender.
Wayne Davison [Sat, 5 Sep 2009 16:40:53 +0000 (09:40 -0700)]
Fix daemon's conveyance of io_error value from sender.

14 years agoAvoid an dry-run error trying to stat a prior hard-link
Wayne Davison [Sat, 5 Sep 2009 15:16:22 +0000 (08:16 -0700)]
Avoid an dry-run error trying to stat a prior hard-link
file that hasn't really been created.

14 years agoNeed to use O_RDONLY in solaris sys_lremovexattr().
Wayne Davison [Thu, 3 Sep 2009 22:25:55 +0000 (15:25 -0700)]
Need to use O_RDONLY in solaris sys_lremovexattr().

14 years agoHave --fake-super turn a symlink into a file when
Wayne Davison [Wed, 2 Sep 2009 16:06:29 +0000 (09:06 -0700)]
Have --fake-super turn a symlink into a file when
NO_SYMLINK_XATTRS is defined.

14 years agoDefine and use "our_gid" variable.
Wayne Davison [Wed, 2 Sep 2009 15:56:34 +0000 (08:56 -0700)]
Define and use "our_gid" variable.

14 years agoBetter compiling if SUPPORT_LINKS is not defined.
Wayne Davison [Wed, 2 Sep 2009 15:53:40 +0000 (08:53 -0700)]
Better compiling if SUPPORT_LINKS is not defined.

14 years agoRebuild proto.h if config.h changes.
Wayne Davison [Wed, 2 Sep 2009 15:52:41 +0000 (08:52 -0700)]
Rebuild proto.h if config.h changes.

14 years agoFix attropen() flags for writing an xattr on solaris.
Wayne Davison [Wed, 2 Sep 2009 14:36:57 +0000 (07:36 -0700)]
Fix attropen() flags for writing an xattr on solaris.

14 years agoFix read_xattr() for solaris.
Wayne Davison [Tue, 1 Sep 2009 19:11:32 +0000 (12:11 -0700)]
Fix read_xattr() for solaris.

14 years agoCreate non-transferred files in a more atomic manner:
Wayne Davison [Sat, 29 Aug 2009 18:27:40 +0000 (11:27 -0700)]
Create non-transferred files in a more atomic manner:
If a symlink, device, special-file, or hard-linked file is replacing
an existing non-directory, the new file is created using a temporary
filename and then renamed into place.  Also changed the handling of
a cluster of hard-linked symlinks/devices/special-files to always
ensure the first item in the cluster is correct, since it doesn't
really save any significant work to try to find an existing correct
item later in the cluster to link with.

14 years agoFix the chmod-temp-dir test if /var/tmp doesn't exist.
Wayne Davison [Sat, 22 Aug 2009 16:33:55 +0000 (09:33 -0700)]
Fix the chmod-temp-dir test if /var/tmp doesn't exist.
Fixes bug 6569.

14 years agoHave the sender use dead time to pad out the file list.
Wayne Davison [Sat, 22 Aug 2009 15:15:26 +0000 (08:15 -0700)]
Have the sender use dead time to pad out the file list.

14 years agoAllow Solaris sys_llistxattr() to return the list length when size == 0.
Wayne Davison [Sat, 15 Aug 2009 13:40:12 +0000 (06:40 -0700)]
Allow Solaris sys_llistxattr() to return the list length when size == 0.

14 years agoFix some variable references.
Wayne Davison [Sat, 15 Aug 2009 13:27:19 +0000 (06:27 -0700)]
Fix some variable references.

14 years agoFix a bogus free in uncache_tmp_xattrs().
Wayne Davison [Fri, 14 Aug 2009 14:04:24 +0000 (07:04 -0700)]
Fix a bogus free in uncache_tmp_xattrs().

14 years agoSome improvements to the solaris xattr routines.
Wayne Davison [Thu, 13 Aug 2009 15:02:00 +0000 (08:02 -0700)]
Some improvements to the solaris xattr routines.
Inspired by the patch to bug 6633.

14 years agoFix a warning about a %d not getting an int (on some platforms).
Wayne Davison [Mon, 10 Aug 2009 16:24:53 +0000 (09:24 -0700)]
Fix a warning about a %d not getting an int (on some platforms).

14 years agoInitial version of xattr routines for Solaris.
Wayne Davison [Sat, 8 Aug 2009 20:27:58 +0000 (13:27 -0700)]
Initial version of xattr routines for Solaris.

14 years agoAdd conditional support for excluding types of files from xattr ops.
Wayne Davison [Sat, 8 Aug 2009 20:21:26 +0000 (13:21 -0700)]
Add conditional support for excluding types of files from xattr ops.

14 years agoGet section reference right. Fixes bug #6573.
Wayne Davison [Sat, 1 Aug 2009 18:28:45 +0000 (11:28 -0700)]
Get section reference right.  Fixes bug #6573.

14 years agoAdded solaris IPv6 checking to configure. Fixes #6438.
Wayne Davison [Fri, 5 Jun 2009 19:56:15 +0000 (12:56 -0700)]
Added solaris IPv6 checking to configure.  Fixes #6438.
Patch from Tim Spriggs.

14 years agoMention that --whole-file is not the default for a local transfer when
Wayne Davison [Mon, 1 Jun 2009 16:09:09 +0000 (09:09 -0700)]
Mention that --whole-file is not the default for a local transfer when
writing a batch file.

14 years agoAdding a new script that creates a local patch/* branch
Wayne Davison [Sat, 23 May 2009 20:40:34 +0000 (13:40 -0700)]
Adding a new script that creates a local patch/* branch
for each file given on the command-line.

14 years agoImproved the usage output.
Wayne Davison [Sat, 23 May 2009 20:40:23 +0000 (13:40 -0700)]
Improved the usage output.

14 years agoDetermine the master's commit hash and note it in each patch
Wayne Davison [Sat, 23 May 2009 20:12:01 +0000 (13:12 -0700)]
Determine the master's commit hash and note it in each patch
that is based on the master in the new "based-on:" line.

14 years agoMention some recent changes.
Wayne Davison [Sat, 23 May 2009 18:45:17 +0000 (11:45 -0700)]
Mention some recent changes.

14 years agoRefactorings to the filter code, most notably:
Matt McCutchen [Sat, 23 May 2009 17:59:14 +0000 (10:59 -0700)]
Refactorings to the filter code, most notably:

- Improve function name: parse_rule -> parse_filter_str (to make the
  similarity with parse_filter_file clearer, and better indicate that
  it can parse multiple rules when FILTRULE_WORD_SPLIT is specified).

- In preparation for rule prefixes containing information beyond the
  rflags, change the code to pass around a full "template" filter_rule
  instead of just rflags.  Callers of parse_filter_{str,file} that want
  to specify only rflags can use rule_template(rflags) .

- Remove the MODIFIERS_* strings and instead hand-code the condition
  under which each modifier is valid.  This should make it easier to
  see that the conditions are correct.

- Tighten up default modifiers on merge rules:
  - Disallow "!" because it isn't useful.
  - If the merge rule specifies a side via "s" or "r", the rules in the
    file cannot also specify a side via "s", "r", "hide", etc.

[Patch was changed by Wayne a bit prior to application.]

14 years agoImproved a couple variable names.
Wayne Davison [Sat, 23 May 2009 17:08:17 +0000 (10:08 -0700)]
Improved a couple variable names.

14 years agoUse typedefs for the filter structures.
Wayne Davison [Sat, 23 May 2009 15:50:42 +0000 (08:50 -0700)]
Use typedefs for the filter structures.

14 years agoChange filter MATCHFLGs to FILTRULEs.
Wayne Davison [Sat, 23 May 2009 15:01:43 +0000 (08:01 -0700)]
Change filter MATCHFLGs to FILTRULEs.

14 years agoSupport an older AIX system that doesn't have ENOTSUP.
Wayne Davison [Thu, 14 May 2009 18:23:38 +0000 (11:23 -0700)]
Support an older AIX system that doesn't have ENOTSUP.

14 years agoSwitch from inet_aton() to inet_pton() (since we supply a compatibility
Wayne Davison [Thu, 14 May 2009 18:22:37 +0000 (11:22 -0700)]
Switch from inet_aton() to inet_pton() (since we supply a compatibility
function for the latter, it will always exist).

14 years agoAdding release info for 3.0.6 to the trunk.
Wayne Davison [Fri, 8 May 2009 18:13:37 +0000 (11:13 -0700)]
Adding release info for 3.0.6 to the trunk.

14 years agoFix typo pointed out by Chris Pepper.
Wayne Davison [Thu, 7 May 2009 15:02:17 +0000 (08:02 -0700)]
Fix typo pointed out by Chris Pepper.

14 years agoEnhance name_to_{u,g}id() to optionally parse numbers and rename
Wayne Davison [Thu, 7 May 2009 14:34:42 +0000 (07:34 -0700)]
Enhance name_to_{u,g}id() to optionally parse numbers and rename
to {user,group}_to_*().  Based on a patch by Matt McCutchen.

14 years agoMove the description of include/exclude modifiers to a better place
Matt McCutchen [Tue, 5 May 2009 02:30:47 +0000 (22:30 -0400)]
Move the description of include/exclude modifiers to a better place
in the man page.

14 years agoClarify which options are transfer rules, and what that means.
Wayne Davison [Mon, 27 Apr 2009 14:21:56 +0000 (07:21 -0700)]
Clarify which options are transfer rules, and what that means.

14 years agoChange sending/receiving/storing of the rdev value for special files.
Wayne Davison [Sun, 26 Apr 2009 14:28:55 +0000 (07:28 -0700)]
Change sending/receiving/storing of the rdev value for special files.
Since the value is not needed, protocol 31 no longer sends it, while
older protocols are optimized so the sender just sends a valid rdev
value as efficiently as possible.  The receiver no longer caches an
rdev value for special files, and the generator will always pass a 0
rdev value to do_mknod() for special files. Fixes bug #6280.

15 years agoUse upper-case HLINK in a --debug setting to avoid a really weird bug
Wayne Davison [Tue, 14 Apr 2009 04:07:12 +0000 (21:07 -0700)]
Use upper-case HLINK in a --debug setting to avoid a really weird bug
in the strncasecmp() of OpenSUSE 10.2 (x86_64).

15 years agoSwitch to upper-case in the {debug,info}_verbosity arrays.
Wayne Davison [Mon, 13 Apr 2009 14:37:49 +0000 (07:37 -0700)]
Switch to upper-case in the {debug,info}_verbosity arrays.

15 years agoChanged the commands used to "make gen" without any stoppage.
Wayne Davison [Sun, 12 Apr 2009 22:18:33 +0000 (15:18 -0700)]
Changed the commands used to "make gen" without any stoppage.

15 years agoDon't allow --remove-s*-files with --read-batch.
Wayne Davison [Sun, 12 Apr 2009 19:57:31 +0000 (12:57 -0700)]
Don't allow --remove-s*-files with --read-batch.

15 years agoFixed the use of --xattrs with --only-write-batch.
Wayne Davison [Sun, 12 Apr 2009 19:51:20 +0000 (12:51 -0700)]
Fixed the use of --xattrs with --only-write-batch.

15 years agoThe suffix must be non-empty if the backup-dir is the same as the dest
Wayne Davison [Sun, 12 Apr 2009 00:31:13 +0000 (17:31 -0700)]
The suffix must be non-empty if the backup-dir is the same as the dest
dir.

15 years agoMore backup improvements:
Wayne Davison [Sat, 11 Apr 2009 18:31:31 +0000 (11:31 -0700)]
More backup improvements:

- Changed get_backup_name() to verify the backup path, and make any
  missing directories.  This avoids accidental use of a symlink as a dir
  in a backup path, and gets rid of any other non-dirs that are in the
  way.  It also avoids the need for various operations to retry after
  calling make_bak_dir(), simplifying several pices of code.
- Changed create_directory_path() to make_path(), giving it flags that
  lets the caller decide if it should skip a leading slash or drop the
  trailing filename.
- Mention when we create the backup directory, so the user is not caught
  unaware when rsync uses a directory they didn't expect.
- Got rid of some dir-moving backup code that is not used.
- Added a little more backup-debug output.

15 years agoFix "just in case" unlink. Prefer renaming of normal files
Wayne Davison [Sat, 11 Apr 2009 13:32:25 +0000 (06:32 -0700)]
Fix "just in case" unlink.  Prefer renaming of normal files
if hard-linking fails.

15 years agoImproved link_or_rename() to handle prefer_rename better.
Wayne Davison [Sat, 11 Apr 2009 06:16:41 +0000 (23:16 -0700)]
Improved link_or_rename() to handle prefer_rename better.

15 years agoDon't try to backup a file being removed from the backup area.
Wayne Davison [Sat, 11 Apr 2009 06:14:06 +0000 (23:14 -0700)]
Don't try to backup a file being removed from the backup area.

15 years agoAllow a "make reconfigure" to continue, even if the Makefile changes.
Wayne Davison [Fri, 10 Apr 2009 23:24:12 +0000 (16:24 -0700)]
Allow a "make reconfigure" to continue, even if the Makefile changes.

15 years agoFixed an ACL/xattr corruption issue where the --backup option could cause
Wayne Davison [Fri, 10 Apr 2009 23:22:44 +0000 (16:22 -0700)]
Fixed an ACL/xattr corruption issue where the --backup option could cause
rsync to associate the wrong ACL/xattr information with received files.

15 years agoAllow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.
Wayne Davison [Fri, 10 Apr 2009 15:19:16 +0000 (08:19 -0700)]
Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.

15 years agoDon't try to simplify an ACL that has a mask w/o any named values.
Wayne Davison [Fri, 10 Apr 2009 05:49:24 +0000 (22:49 -0700)]
Don't try to simplify an ACL that has a mask w/o any named values.

15 years agoSome improvements to the rsync.yo manpage:
Wayne Davison [Tue, 7 Apr 2009 14:32:35 +0000 (07:32 -0700)]
Some improvements to the rsync.yo manpage:
- Mention the switch from MD4 to MD5.
- Mention the default for the --log-file-format option.

15 years agoMake sure that config.h.in is up-to-date before allowing the
Wayne Davison [Sat, 4 Apr 2009 14:42:48 +0000 (07:42 -0700)]
Make sure that config.h.in is up-to-date before allowing the
Makefile-updating rule to run ./config.status.

15 years agoFixed --dry-run with --read-batch:
Wayne Davison [Sat, 4 Apr 2009 14:24:38 +0000 (07:24 -0700)]
Fixed --dry-run with --read-batch:
- Avoid sending MSG_NO_SEND to the generator.
- Check if the file is wanted before discarding the batched data.

15 years agoFixed improper deletion of mount-point hierarchies.
Wayne Davison [Wed, 1 Apr 2009 03:15:42 +0000 (20:15 -0700)]
Fixed improper deletion of mount-point hierarchies.
Fixes bug #6240.

15 years agoFixed a word ending that Jesse Weinstein and revamp some of the text
Wayne Davison [Tue, 31 Mar 2009 21:34:31 +0000 (14:34 -0700)]
Fixed a word ending that Jesse Weinstein and revamp some of the text
to make it clearer.

15 years agoMake symlink iconv work for a local copy.
Wayne Davison [Sun, 29 Mar 2009 20:23:56 +0000 (13:23 -0700)]
Make symlink iconv work for a local copy.
Fixes issue mention in bug #5615.

15 years agoGive a meaningful error message when we fail to write to a batch file.
Matt McCutchen [Sat, 31 Jan 2009 06:14:17 +0000 (01:14 -0500)]
Give a meaningful error message when we fail to write to a batch file.

15 years agoMy version of Matt's improvements related to missing source args:
Wayne Davison [Fri, 13 Mar 2009 16:33:51 +0000 (09:33 -0700)]
My version of Matt's improvements related to missing source args:
- Implement --ignore-missing-args.
- In the absence of --*-missing-args, a missing source arg is an
  FERROR_XFER, but doesn't need to be an IOERR_GENERAL.
- Revise the man page.

15 years agoMake missing args governed by protect filters, not hide.
Wayne Davison [Fri, 13 Mar 2009 15:49:53 +0000 (08:49 -0700)]
Make missing args governed by protect filters, not hide.

15 years agoMade --list-only output missing args as a "*missing" line.
Wayne Davison [Sat, 7 Mar 2009 06:42:13 +0000 (22:42 -0800)]
Made --list-only output missing args as a "*missing" line.

15 years agoDon't let --chmod tweak a 0 mode value (which marks a missing arg).
Wayne Davison [Sat, 7 Mar 2009 06:41:23 +0000 (22:41 -0800)]
Don't let --chmod tweak a 0 mode value (which marks a missing arg).

15 years agoSimplify an "if" in ssh-basic.test. Fixes bug #6169;
Wayne Davison [Fri, 6 Mar 2009 15:07:43 +0000 (07:07 -0800)]
Simplify an "if" in ssh-basic.test.  Fixes bug #6169;

15 years agoImproved the unsafe_symlink() code to not get fooled by extra '/' chars
Wayne Davison [Tue, 3 Mar 2009 16:43:17 +0000 (08:43 -0800)]
Improved the unsafe_symlink() code to not get fooled by extra '/' chars
in the symlink's path.  Added test cases.  This fixes bug #6151.

15 years agoMake the backup code call unsafe_symlink() correctly.
Wayne Davison [Tue, 3 Mar 2009 16:42:56 +0000 (08:42 -0800)]
Make the backup code call unsafe_symlink() correctly.

15 years agoAdded the --delete-missing-args option to delete specified
Wayne Davison [Sat, 28 Feb 2009 17:22:51 +0000 (09:22 -0800)]
Added the --delete-missing-args option to delete specified
files on the receiver that don't exist on the sender.

15 years agoMade --progress use ir-chk instead of to-chk when the incremental
Wayne Davison [Sat, 28 Feb 2009 16:02:25 +0000 (08:02 -0800)]
Made --progress use ir-chk instead of to-chk when the incremental
recursion scan is still active.  Mention the output change more
prominently in the NEWS file.  Updated the --progress output in
the manpage, with mention of the new "ir-chk" string's meaning.

15 years agoProperly indent some lines.
Wayne Davison [Fri, 20 Feb 2009 07:09:20 +0000 (23:09 -0800)]
Properly indent some lines.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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().

15 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.

15 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.

15 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.

15 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.

15 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().

15 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.

15 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.