rsync/rsync.git
18 years agoAdded code to implement the --min-size logic.
Wayne Davison [Fri, 14 Oct 2005 20:16:09 +0000 (20:16 +0000)]
Added code to implement the --min-size logic.

18 years agoAdded handling of the --min-size option.
Wayne Davison [Fri, 14 Oct 2005 20:15:18 +0000 (20:15 +0000)]
Added handling of the --min-size option.

18 years agoImproved parse_size_arg() a little more.
Wayne Davison [Fri, 14 Oct 2005 19:48:34 +0000 (19:48 +0000)]
Improved parse_size_arg() a little more.

18 years agoDocument the extended parsing of --max-size values.
Wayne Davison [Fri, 14 Oct 2005 19:03:05 +0000 (19:03 +0000)]
Document the extended parsing of --max-size values.

18 years agoImproved parse_size_arg() so that it can be told to use powers of
Wayne Davison [Fri, 14 Oct 2005 18:56:07 +0000 (18:56 +0000)]
Improved parse_size_arg() so that it can be told to use powers of
ten instead of binary K/M/G powers, and so that it can be told to
add or subtract one from the result.  We also make sure to pass
the arg to --max-size in a compatible manner with older versions.

18 years agoFixed a typo in an option name.
Wayne Davison [Wed, 12 Oct 2005 23:59:00 +0000 (23:59 +0000)]
Fixed a typo in an option name.

18 years agoMention va_copy change.
Wayne Davison [Tue, 11 Oct 2005 20:21:56 +0000 (20:21 +0000)]
Mention va_copy change.

18 years agoIf va_copy is defined, use it when defining VA_COPY.
Wayne Davison [Tue, 11 Oct 2005 20:21:03 +0000 (20:21 +0000)]
If va_copy is defined, use it when defining VA_COPY.

18 years agoPass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes.
Wayne Davison [Fri, 7 Oct 2005 18:40:30 +0000 (18:40 +0000)]
Pass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes.

18 years agoSupport new XFLG_ABS_IF_SLASH flag.
Wayne Davison [Fri, 7 Oct 2005 18:39:40 +0000 (18:39 +0000)]
Support new XFLG_ABS_IF_SLASH flag.

18 years agoAdded XFLG_ABS_IF_SLASH.
Wayne Davison [Fri, 7 Oct 2005 18:38:25 +0000 (18:38 +0000)]
Added XFLG_ABS_IF_SLASH.

18 years agoMention recent changes.
Wayne Davison [Fri, 7 Oct 2005 18:24:35 +0000 (18:24 +0000)]
Mention recent changes.

18 years agoClarify how the fitler rule "-/" works.
Wayne Davison [Fri, 7 Oct 2005 18:18:16 +0000 (18:18 +0000)]
Clarify how the fitler rule "-/" works.

18 years agoImproved the usage comments.
Wayne Davison [Tue, 4 Oct 2005 04:12:28 +0000 (04:12 +0000)]
Improved the usage comments.

18 years agoA simple filter script to output messages from a single module.
Wayne Davison [Mon, 3 Oct 2005 18:40:59 +0000 (18:40 +0000)]
A simple filter script to output messages from a single module.

18 years agoChanged the variable names for --existing and --ignore-existing.
Wayne Davison [Thu, 29 Sep 2005 18:07:55 +0000 (18:07 +0000)]
Changed the variable names for --existing and --ignore-existing.

18 years agoReverted one xfer_dirs change from the last commit that should not
Wayne Davison [Thu, 29 Sep 2005 17:27:11 +0000 (17:27 +0000)]
Reverted one xfer_dirs change from the last commit that should not
have gone in.

18 years agoKeeping silent about stat() errors is never a good idea -- it hides
Wayne Davison [Thu, 29 Sep 2005 17:07:45 +0000 (17:07 +0000)]
Keeping silent about stat() errors is never a good idea -- it hides
files that are not up-to-date.

18 years agoMention that --delete now works with --dirs.
Wayne Davison [Thu, 29 Sep 2005 08:15:34 +0000 (08:15 +0000)]
Mention that --delete now works with --dirs.

18 years ago- When --dirs is specified w/o --recursive, avoid marking solo dirs
Wayne Davison [Thu, 29 Sep 2005 07:48:05 +0000 (07:48 +0000)]
- When --dirs is specified w/o --recursive, avoid marking solo dirs
  with the XMIT_TOP_DIR flag.
- Only set in_del_hier if --recursive is enabled.

18 years agoAllow deletions to occur in directories transferred with the
Wayne Davison [Thu, 29 Sep 2005 07:41:50 +0000 (07:41 +0000)]
Allow deletions to occur in directories transferred with the
--dirs option in addition to the regular --recursive behavior.

18 years agoFixed a poorly-worded sentence and a misspelled word.
Wayne Davison [Thu, 29 Sep 2005 07:37:00 +0000 (07:37 +0000)]
Fixed a poorly-worded sentence and a misspelled word.

18 years agoSome systems don't define WCOREDUMP(), so #ifdef that code.
Wayne Davison [Mon, 26 Sep 2005 17:41:14 +0000 (17:41 +0000)]
Some systems don't define WCOREDUMP(), so #ifdef that code.

18 years agoFixed wait_process() to handle cases where waitpid() fails or
Wayne Davison [Mon, 26 Sep 2005 17:12:13 +0000 (17:12 +0000)]
Fixed wait_process() to handle cases where waitpid() fails or
the child process did not exit cleanly.

18 years agoChanged RERR_CRASH to RERR_CRASHED.
Wayne Davison [Mon, 26 Sep 2005 17:11:03 +0000 (17:11 +0000)]
Changed RERR_CRASH to RERR_CRASHED.

18 years agoHandle new RERR_CRASH AND RERR_TERMINATED exit codes.
Wayne Davison [Mon, 26 Sep 2005 17:07:50 +0000 (17:07 +0000)]
Handle new RERR_CRASH AND RERR_TERMINATED exit codes.

18 years agoDefined RERR_CRASH and RERR_TERMINATED.
Wayne Davison [Mon, 26 Sep 2005 17:06:33 +0000 (17:06 +0000)]
Defined RERR_CRASH and RERR_TERMINATED.

18 years agoMention some chanages in the patches dir.
Wayne Davison [Mon, 26 Sep 2005 04:47:25 +0000 (04:47 +0000)]
Mention some chanages in the patches dir.

18 years agoUse AC_HELP_STRING() in the two AC_ARG_WITH() macros that used a
Wayne Davison [Sat, 24 Sep 2005 17:17:30 +0000 (17:17 +0000)]
Use AC_HELP_STRING() in the two AC_ARG_WITH() macros that used a
hard-wired string.

18 years agoReordered the usage lines to cover push, then pull (which has a
Wayne Davison [Wed, 21 Sep 2005 22:39:49 +0000 (22:39 +0000)]
Reordered the usage lines to cover push, then pull (which has a
better visible pattern than covering push & pull for each host-type).

18 years agoCast some time values to (int), just to silence some warnings on
Wayne Davison [Wed, 21 Sep 2005 17:42:15 +0000 (17:42 +0000)]
Cast some time values to (int), just to silence some warnings on
Stratus VOS.

18 years agoInclude limits.h (if it exists), which defines NAME_MAX on some
Wayne Davison [Wed, 21 Sep 2005 17:38:44 +0000 (17:38 +0000)]
Include limits.h (if it exists), which defines NAME_MAX on some
systems.

18 years agoIf we get less data than expected from a read() in map_ptr(), we
Wayne Davison [Wed, 21 Sep 2005 17:37:41 +0000 (17:37 +0000)]
If we get less data than expected from a read() in map_ptr(), we
need to try to keep reading to see if we get an error or more data.

18 years agoCheck for limits.h.
Wayne Davison [Wed, 21 Sep 2005 17:35:51 +0000 (17:35 +0000)]
Check for limits.h.

18 years agoTweaked the output that the mknod() tests generate.
Wayne Davison [Wed, 21 Sep 2005 17:15:58 +0000 (17:15 +0000)]
Tweaked the output that the mknod() tests generate.

18 years agoTweaked some comments.
Wayne Davison [Mon, 19 Sep 2005 17:21:00 +0000 (17:21 +0000)]
Tweaked some comments.

18 years agoChanged one strcpy() into a strlcpy().
Wayne Davison [Sat, 17 Sep 2005 21:49:24 +0000 (21:49 +0000)]
Changed one strcpy() into a strlcpy().

18 years agoImproved the sDefault initialization so that the prefixed
Wayne Davison [Fri, 16 Sep 2005 20:35:05 +0000 (20:35 +0000)]
Improved the sDefault initialization so that the prefixed
comments exactly match the variable names (making sure that
they will sort exactly the same way as the variables).

18 years agoGot rid of some old command-line parsing code that was only
Wayne Davison [Fri, 16 Sep 2005 16:40:30 +0000 (16:40 +0000)]
Got rid of some old command-line parsing code that was only
useful when talking to a 1.x client.

18 years agoMention '!' fix.
Wayne Davison [Fri, 16 Sep 2005 16:14:24 +0000 (16:14 +0000)]
Mention '!' fix.

18 years agoReally fix '!' in a .cvsignore file this time.
Wayne Davison [Fri, 16 Sep 2005 16:10:01 +0000 (16:10 +0000)]
Really fix '!' in a .cvsignore file this time.

18 years agoTweaked the code a little in the always_checksum handling of the
Wayne Davison [Fri, 16 Sep 2005 05:52:54 +0000 (05:52 +0000)]
Tweaked the code a little in the always_checksum handling of the
send & receive file-list functions.

18 years agoMention that the dir used with --delay-updates cannot be on a
Wayne Davison [Thu, 15 Sep 2005 22:27:14 +0000 (22:27 +0000)]
Mention that the dir used with --delay-updates cannot be on a
different filesystem from the destination files.

18 years agoAdded a comment.
Wayne Davison [Thu, 15 Sep 2005 22:25:55 +0000 (22:25 +0000)]
Added a comment.

18 years agoMention doc changes.
Wayne Davison [Thu, 15 Sep 2005 17:19:30 +0000 (17:19 +0000)]
Mention doc changes.

18 years agoRemoved conflicting ssh citation in the SETUP section.
Wayne Davison [Thu, 15 Sep 2005 15:36:27 +0000 (15:36 +0000)]
Removed conflicting ssh citation in the SETUP section.

18 years agoThe --help text was outputting some incomplete information on how
Wayne Davison [Tue, 13 Sep 2005 01:02:54 +0000 (01:02 +0000)]
The --help text was outputting some incomplete information on how
SRC is expanded or word-split, so I removed that text and replaced
it with an explaination of how ':' differs from '::' & 'rsync://'.

18 years agoMention the latest fix.
Wayne Davison [Fri, 9 Sep 2005 17:07:39 +0000 (17:07 +0000)]
Mention the latest fix.

18 years agoWhen pop_dir(olddir) fails, pass the right string pointer
Wayne Davison [Fri, 9 Sep 2005 16:17:01 +0000 (16:17 +0000)]
When pop_dir(olddir) fails, pass the right string pointer
in the error message.

18 years agoImproved the -F, --exclude-from, and --include-from sections.
Wayne Davison [Fri, 9 Sep 2005 07:27:25 +0000 (07:27 +0000)]
Improved the -F, --exclude-from, and --include-from sections.

18 years agoTweaked the calculation that goes into sum->count so that it cannot
Wayne Davison [Tue, 6 Sep 2005 18:12:38 +0000 (18:12 +0000)]
Tweaked the calculation that goes into sum->count so that it cannot
overflow into a negative value (which is particularly important if
configure didn't find a real int64 type).

18 years agoComplicate the lseek64() function prototype because some systems
Wayne Davison [Sat, 3 Sep 2005 16:56:53 +0000 (16:56 +0000)]
Complicate the lseek64() function prototype because some systems
don't have off64_t.

18 years agoMake use of the per-module "temp dir" setting.
Wayne Davison [Sat, 3 Sep 2005 16:50:20 +0000 (16:50 +0000)]
Make use of the per-module "temp dir" setting.

18 years agoAdded a per-module "temp dir" setting.
Wayne Davison [Sat, 3 Sep 2005 16:24:23 +0000 (16:24 +0000)]
Added a per-module "temp dir" setting.

18 years agoSorted some of the data structures (using vim's "!sort" command
Wayne Davison [Sat, 3 Sep 2005 16:22:06 +0000 (16:22 +0000)]
Sorted some of the data structures (using vim's "!sort" command
makes it easy).

18 years ago- Allow --no-v and --no-verbose in the daemon options.
Wayne Davison [Tue, 30 Aug 2005 16:13:54 +0000 (16:13 +0000)]
- Allow --no-v and --no-verbose in the daemon options.
- If a too-long --temp-dir is specified when starting a daemon,
  omplain to the daemon-starting user, not later to the client.

18 years agoMention latest changes.
Wayne Davison [Tue, 30 Aug 2005 05:12:49 +0000 (05:12 +0000)]
Mention latest changes.

18 years agoMention how --inplace conflicts with --sparse and how --append
Wayne Davison [Tue, 30 Aug 2005 05:10:51 +0000 (05:10 +0000)]
Mention how --inplace conflicts with --sparse and how --append
does not.

18 years agoAllow --temp-dir to be specified with --daemon to set the default.
Wayne Davison [Tue, 30 Aug 2005 05:00:56 +0000 (05:00 +0000)]
Allow --temp-dir to be specified with --daemon to set the default.

18 years agoFixed a comment.
Wayne Davison [Tue, 30 Aug 2005 02:59:30 +0000 (02:59 +0000)]
Fixed a comment.

18 years agoWhen --append is entering the redo phase, make sure that
Wayne Davison [Tue, 30 Aug 2005 02:58:42 +0000 (02:58 +0000)]
When --append is entering the redo phase, make sure that
sparse_files is disabled (because it conflicts with an
inplace update).

18 years agoReject attempts to combine --sparse with --inplace.
Wayne Davison [Tue, 30 Aug 2005 02:57:19 +0000 (02:57 +0000)]
Reject attempts to combine --sparse with --inplace.

18 years agoForgot the --no-v option.
Wayne Davison [Sun, 28 Aug 2005 00:43:51 +0000 (00:43 +0000)]
Forgot the --no-v option.

18 years agoMention the new --no-* options.
Wayne Davison [Sun, 28 Aug 2005 00:34:46 +0000 (00:34 +0000)]
Mention the new --no-* options.

18 years agoA small improvement to the daemon-connecting instructions.
Wayne Davison [Sun, 28 Aug 2005 00:25:44 +0000 (00:25 +0000)]
A small improvement to the daemon-connecting instructions.

18 years agoOne more tweak to the option data.
Wayne Davison [Sat, 27 Aug 2005 21:12:44 +0000 (21:12 +0000)]
One more tweak to the option data.

18 years agoDocumented the new --no-* options.
Wayne Davison [Sat, 27 Aug 2005 21:07:27 +0000 (21:07 +0000)]
Documented the new --no-* options.

18 years agoAdded the ability to prefix "no-" to various options, which gives the
Wayne Davison [Sat, 27 Aug 2005 21:01:45 +0000 (21:01 +0000)]
Added the ability to prefix "no-" to various options, which gives the
user an easy way to override implied option switches.

18 years agoA little more reordering of the option data.
Wayne Davison [Sat, 27 Aug 2005 20:43:35 +0000 (20:43 +0000)]
A little more reordering of the option data.

18 years agoReordered some of the option data to make their grouping more logical.
Wayne Davison [Sat, 27 Aug 2005 20:01:45 +0000 (20:01 +0000)]
Reordered some of the option data to make their grouping more logical.

18 years agoMake the --append docs a little better.
Wayne Davison [Sat, 20 Aug 2005 17:21:06 +0000 (17:21 +0000)]
Make the --append docs a little better.

18 years agoMoved a variable in glob_expand_one().
Wayne Davison [Wed, 3 Aug 2005 04:51:29 +0000 (04:51 +0000)]
Moved a variable in glob_expand_one().

18 years agoGot rid of the argp var that is not needed now that argv is no
Wayne Davison [Wed, 3 Aug 2005 04:42:56 +0000 (04:42 +0000)]
Got rid of the argp var that is not needed now that argv is no
longer a literal array.

18 years agoImproved the --relative section a little more.
Wayne Davison [Wed, 3 Aug 2005 01:13:15 +0000 (01:13 +0000)]
Improved the --relative section a little more.

18 years agoMention the latest changes.
Wayne Davison [Mon, 1 Aug 2005 22:18:11 +0000 (22:18 +0000)]
Mention the latest changes.

18 years agoImproved the --relative section, including mentioning the addition
Wayne Davison [Mon, 1 Aug 2005 22:18:00 +0000 (22:18 +0000)]
Improved the --relative section, including mentioning the addition
of dot-dir path trimming.

18 years agoAllow the user to specify a dot dir in the source path when
Wayne Davison [Mon, 1 Aug 2005 21:58:16 +0000 (21:58 +0000)]
Allow the user to specify a dot dir in the source path when
using --relative, making it trim the duplicated dirs.

18 years agoDon't recreate a device if just the permissions bits have changed
Wayne Davison [Mon, 1 Aug 2005 04:09:58 +0000 (04:09 +0000)]
Don't recreate a device if just the permissions bits have changed
in the st_mode.

18 years agoMention hard-link fix.
Wayne Davison [Sun, 31 Jul 2005 23:21:46 +0000 (23:21 +0000)]
Mention hard-link fix.

18 years agoHard-link a device in order to test that this works properly.
Wayne Davison [Sun, 31 Jul 2005 23:20:12 +0000 (23:20 +0000)]
Hard-link a device in order to test that this works properly.

18 years agoThere is no longer a need to check file->link_u.links at the start
Wayne Davison [Sun, 31 Jul 2005 23:19:42 +0000 (23:19 +0000)]
There is no longer a need to check file->link_u.links at the start
of hard_link_check() (because the caller has already checked it).

18 years agoFixed the handling of hard-linked symlinks and devices.
Wayne Davison [Sun, 31 Jul 2005 23:18:28 +0000 (23:18 +0000)]
Fixed the handling of hard-linked symlinks and devices.

18 years agoExport RUNSHFLAGS.
Wayne Davison [Sun, 31 Jul 2005 23:15:38 +0000 (23:15 +0000)]
Export RUNSHFLAGS.

18 years agoMention the --inplace new-file permissions fix.
Wayne Davison [Sat, 30 Jul 2005 16:17:21 +0000 (16:17 +0000)]
Mention the --inplace new-file permissions fix.

18 years ago- The combination of --update and --progress now outputs progress
Wayne Davison [Sat, 30 Jul 2005 16:14:22 +0000 (16:14 +0000)]
- The combination of --update and --progress now outputs progress
  information during the checksum scan of the already-sent data.
- When --inplace creates a file, give it 0600 permissions, not 0000.

18 years agoThe combination of --update and --progress now outputs progress
Wayne Davison [Sat, 30 Jul 2005 16:13:19 +0000 (16:13 +0000)]
The combination of --update and --progress now outputs progress
information during the checksum scan of the already-sent data.

18 years agoImproved the text around the last example in the USAGE section.
Wayne Davison [Fri, 29 Jul 2005 19:52:50 +0000 (19:52 +0000)]
Improved the text around the last example in the USAGE section.

18 years agoMention the latest changes.
Wayne Davison [Fri, 29 Jul 2005 18:48:58 +0000 (18:48 +0000)]
Mention the latest changes.

18 years ago- Use BIGPATHBUFLEN for the length of several buffers.
Wayne Davison [Fri, 29 Jul 2005 18:31:12 +0000 (18:31 +0000)]
- Use BIGPATHBUFLEN for the length of several buffers.
- If io_printf() tries to overflow the buffer, die with
  an error instead of sending a truncated buffer.

18 years ago- Use BIGPATHBUFLEN for the length of two line buffers.
Wayne Davison [Fri, 29 Jul 2005 18:31:10 +0000 (18:31 +0000)]
- Use BIGPATHBUFLEN for the length of two line buffers.
- Improved the handling of the start_glob variable.
- Made the line buffer in start_daemon() a little bigger.

18 years agoUse BIGPATHBUFLEN for the length of two line buffers.
Wayne Davison [Fri, 29 Jul 2005 18:31:07 +0000 (18:31 +0000)]
Use BIGPATHBUFLEN for the length of two line buffers.

18 years agoUse BIGPATHBUFLEN for the length of a line buffer.
Wayne Davison [Fri, 29 Jul 2005 18:31:05 +0000 (18:31 +0000)]
Use BIGPATHBUFLEN for the length of a line buffer.

18 years agoDefine BIGPATHBUFLEN -- a roomy line-buffer that can hold a
Wayne Davison [Fri, 29 Jul 2005 18:31:03 +0000 (18:31 +0000)]
Define BIGPATHBUFLEN -- a roomy line-buffer that can hold a
MAXPATHLEN string plus a message, and it's at least 4096+1024
bytes for those systems where MAXPATHLEN is overly short.

18 years agoUpdated to match 2.6.6 release (which occurred on a branch).
Wayne Davison [Thu, 28 Jul 2005 20:00:43 +0000 (20:00 +0000)]
Updated to match 2.6.6 release (which occurred on a branch).

18 years agoChanged the version to 2.6.7cvs.
Wayne Davison [Thu, 28 Jul 2005 19:49:47 +0000 (19:49 +0000)]
Changed the version to 2.6.7cvs.

18 years agoUpdated to reflect new 2.6.7cvs status.
Wayne Davison [Thu, 28 Jul 2005 19:49:24 +0000 (19:49 +0000)]
Updated to reflect new 2.6.7cvs status.

18 years agoRemoved a duplicated item.
Wayne Davison [Thu, 28 Jul 2005 18:17:56 +0000 (18:17 +0000)]
Removed a duplicated item.

18 years agoMention the recent changes.
Wayne Davison [Thu, 28 Jul 2005 17:42:56 +0000 (17:42 +0000)]
Mention the recent changes.

18 years agoIf the user has specified "pre-xfer exec" or "post-xfer exec", run
Wayne Davison [Thu, 28 Jul 2005 17:15:47 +0000 (17:15 +0000)]
If the user has specified "pre-xfer exec" or "post-xfer exec", run
the indicated command(s), each at the appropriate time.

18 years agoAdded 2 new config options: "pre-xfer exec" and "post-xfer exec".
Wayne Davison [Thu, 28 Jul 2005 17:15:44 +0000 (17:15 +0000)]
Added 2 new config options: "pre-xfer exec" and "post-xfer exec".