rsync/rsync.git
18 years agoNeed to define an orig_umask value now that utils.c uses it.
Wayne Davison [Fri, 24 Feb 2006 01:56:29 +0000 (01:56 +0000)]
Need to define an orig_umask value now that utils.c uses it.

18 years agoThe orig_umask value is now a mode_t.
Wayne Davison [Fri, 24 Feb 2006 01:56:26 +0000 (01:56 +0000)]
The orig_umask value is now a mode_t.

18 years agoThe create_directory_path() function no longer takes a base_umask
Wayne Davison [Fri, 24 Feb 2006 01:56:21 +0000 (01:56 +0000)]
The create_directory_path() function no longer takes a base_umask
arg.

18 years ago- The orig_umask value is now a mode_t.
Wayne Davison [Fri, 24 Feb 2006 01:56:18 +0000 (01:56 +0000)]
- The orig_umask value is now a mode_t.
- Use CHMOD_BITS instead of 07777.

18 years agoMoved the orig_umask variable's definition into main.c since it
Wayne Davison [Fri, 24 Feb 2006 01:56:14 +0000 (01:56 +0000)]
Moved the orig_umask variable's definition into main.c since it
has nothing to do with option settings.

18 years ago- Call mkdir_defmode() instead of do_mkdir().
Wayne Davison [Fri, 24 Feb 2006 01:56:10 +0000 (01:56 +0000)]
- Call mkdir_defmode() instead of do_mkdir().
- Define orig_umask in this file, not options.c.
- Made orig_umask a mode_t, not an int.

18 years agoCall mkdir_defmode() instead of do_mkdir().
Wayne Davison [Fri, 24 Feb 2006 01:56:07 +0000 (01:56 +0000)]
Call mkdir_defmode() instead of do_mkdir().

18 years ago+ Added mkdir_defmode().
Wayne Davison [Fri, 24 Feb 2006 01:56:01 +0000 (01:56 +0000)]
+ Added mkdir_defmode().
+ Changed create_directory_path() to drop the (now) unneeded
  base_umask arg and to call mkdir_defmode().

18 years agoMoved an extern into its proper place.
Wayne Davison [Fri, 24 Feb 2006 01:39:10 +0000 (01:39 +0000)]
Moved an extern into its proper place.

18 years agoOne more fuzzy tweak.
Wayne Davison [Thu, 23 Feb 2006 20:29:55 +0000 (20:29 +0000)]
One more fuzzy tweak.

18 years agoSome improved fuzzy-parent-dir logic.
Wayne Davison [Thu, 23 Feb 2006 20:27:17 +0000 (20:27 +0000)]
Some improved fuzzy-parent-dir logic.

18 years agoMention latest fixes.
Wayne Davison [Thu, 23 Feb 2006 20:17:09 +0000 (20:17 +0000)]
Mention latest fixes.

18 years agoThe new fuzzy-dir logic once again avoids calling get_dirlist()
Wayne Davison [Thu, 23 Feb 2006 20:00:48 +0000 (20:00 +0000)]
The new fuzzy-dir logic once again avoids calling get_dirlist()
until a regular file is found in the current parent directory.

18 years agoFixed the creation of symlinks and devices when both --relative
Wayne Davison [Thu, 23 Feb 2006 19:43:54 +0000 (19:43 +0000)]
Fixed the creation of symlinks and devices when both --relative
and --no-implied-dirs are specified and the destination dir does
not yet exist.

18 years agoRenamed fuzzy_dirname -> parent_dirname.
Wayne Davison [Thu, 23 Feb 2006 19:07:33 +0000 (19:07 +0000)]
Renamed fuzzy_dirname -> parent_dirname.

18 years agoMake sure that the --fuzzy option's dir-scan doesn't generate an
Wayne Davison [Thu, 23 Feb 2006 18:58:30 +0000 (18:58 +0000)]
Make sure that the --fuzzy option's dir-scan doesn't generate an
I/O error when --no-relative is used and the destination dir does
not exist yet.

18 years agoMention the --list-arg change.
Wayne Davison [Thu, 23 Feb 2006 00:43:17 +0000 (00:43 +0000)]
Mention the --list-arg change.

18 years agoDocument the revised --list-only behavior and the ability to use
Wayne Davison [Thu, 23 Feb 2006 00:40:58 +0000 (00:40 +0000)]
Document the revised --list-only behavior and the ability to use
rsync with one local source arg (i.e. no destination).

18 years agoRsync no longer returns a usage error when used with one local
Wayne Davison [Thu, 23 Feb 2006 00:38:34 +0000 (00:38 +0000)]
Rsync no longer returns a usage error when used with one local
source arg and no destination: this now implies the --list-only
option, just like one remote source arg has always done.

18 years ago- Improved the way we generate the tar file.
Wayne Davison [Wed, 22 Feb 2006 19:09:51 +0000 (19:09 +0000)]
- Improved the way we generate the tar file.
- The second run of verify-patches is in a better spot now.
- Made various improvements to the output.

18 years agoMentioned that the daemon now logs connections.
Wayne Davison [Tue, 21 Feb 2006 17:19:49 +0000 (17:19 +0000)]
Mentioned that the daemon now logs connections.

18 years agoLog every connect to the daemon.
Wayne Davison [Tue, 21 Feb 2006 17:09:23 +0000 (17:09 +0000)]
Log every connect to the daemon.

18 years agoAdded a comment.
Wayne Davison [Tue, 21 Feb 2006 00:29:55 +0000 (00:29 +0000)]
Added a comment.

18 years agoA few more tweaks and fixes.
Wayne Davison [Mon, 20 Feb 2006 19:58:06 +0000 (19:58 +0000)]
A few more tweaks and fixes.

18 years ago- Moved the checkout of the cvs source above the version prompting so
Wayne Davison [Mon, 20 Feb 2006 19:36:56 +0000 (19:36 +0000)]
- Moved the checkout of the cvs source above the version prompting so
  that we can use the version from the configure.in file to provide
  good default values for the user.
- When moving old tar/diff files into the old-* dirs, first hard-link
  them into place, then (if "live"), use rsync to update these new
  files on the server (which saves us later re-sending), and _then_
  delete the old names.

18 years agoMade the new warning more visible.
Wayne Davison [Mon, 20 Feb 2006 18:35:41 +0000 (18:35 +0000)]
Made the new warning more visible.

18 years agoMention if any of the CVS files we're putting in the tar file
Wayne Davison [Mon, 20 Feb 2006 18:34:27 +0000 (18:34 +0000)]
Mention if any of the CVS files we're putting in the tar file
aren't up-to-date.

18 years agoMention a couple more bug fixes.
Wayne Davison [Mon, 20 Feb 2006 18:03:55 +0000 (18:03 +0000)]
Mention a couple more bug fixes.

18 years agoA brief msleep() in option_error() may be helpful to ensure that
Wayne Davison [Mon, 20 Feb 2006 17:58:13 +0000 (17:58 +0000)]
A brief msleep() in option_error() may be helpful to ensure that
an option error always arrives intact from the remote rsync.

18 years agoDon't try to obey bwlimit restriction until bwlimit_writemax is set.
Wayne Davison [Mon, 20 Feb 2006 17:50:36 +0000 (17:50 +0000)]
Don't try to obey bwlimit restriction until bwlimit_writemax is set.
This fixes a bug with option errors not getting reported because the
write code gets called with bwlimit != 0 and bwlimit_writemax == 0.

18 years agoWhen starting up a transfer, substitute the remember_children()
Wayne Davison [Mon, 20 Feb 2006 17:17:51 +0000 (17:17 +0000)]
When starting up a transfer, substitute the remember_children()
SIGCHLD handler in place of the minimal one that socket.c enabled.

18 years agoMade the formerly static sigchld_handler() available as a
Wayne Davison [Mon, 20 Feb 2006 17:16:21 +0000 (17:16 +0000)]
Made the formerly static sigchld_handler() available as a
public function named remember_children().

18 years agoIn dest_mode(), we now apply any "incoming chmod" changes from
Wayne Davison [Mon, 20 Feb 2006 00:01:27 +0000 (00:01 +0000)]
In dest_mode(), we now apply any "incoming chmod" changes from
the daemon.

18 years agoSet a new daemon_chmod_modes pointer with the daemon's chmod
Wayne Davison [Mon, 20 Feb 2006 00:00:35 +0000 (00:00 +0000)]
Set a new daemon_chmod_modes pointer with the daemon's chmod
(incoming or outgoing) changes.

18 years agoMention the change in how "incoming chmod" works when --perms was
Wayne Davison [Sun, 19 Feb 2006 23:58:59 +0000 (23:58 +0000)]
Mention the change in how "incoming chmod" works when --perms was
not specified.

18 years agoSlightly tweaked the output in non-live mode.
Wayne Davison [Sun, 19 Feb 2006 23:33:15 +0000 (23:33 +0000)]
Slightly tweaked the output in non-live mode.

18 years agoChanged parse_chmod() to return the pointer to the new items on
Wayne Davison [Sun, 19 Feb 2006 23:31:56 +0000 (23:31 +0000)]
Changed parse_chmod() to return the pointer to the new items on
success.

18 years agoPreparing for release of 2.6.7pre2
Wayne Davison [Sun, 19 Feb 2006 16:21:30 +0000 (16:21 +0000)]
Preparing for release of 2.6.7pre2

18 years agoThe tar command needed --no-recursion.
Wayne Davison [Sun, 19 Feb 2006 16:14:39 +0000 (16:14 +0000)]
The tar command needed --no-recursion.

18 years agoThe hide filter rule is no longer needed.
Wayne Davison [Sun, 19 Feb 2006 16:05:08 +0000 (16:05 +0000)]
The hide filter rule is no longer needed.

18 years agoImproved the description of a fix in 2.6.4.
Wayne Davison [Sun, 19 Feb 2006 15:52:59 +0000 (15:52 +0000)]
Improved the description of a fix in 2.6.4.

18 years agoThe perl script I use to create new rsync releases. This is an
Wayne Davison [Sat, 18 Feb 2006 21:27:54 +0000 (21:27 +0000)]
The perl script I use to create new rsync releases.  This is an
adapted and extended version of an old shell script.

18 years agoA perl script I wrote to make a new "nightly" tar file and
Wayne Davison [Sat, 18 Feb 2006 21:26:48 +0000 (21:26 +0000)]
A perl script I wrote to make a new "nightly" tar file and
maintain the nightly dir on samba.org.

18 years agoSome more refinement of the --checksum section.
Wayne Davison [Thu, 16 Feb 2006 07:40:55 +0000 (07:40 +0000)]
Some more refinement of the --checksum section.

18 years agoDon't try to help the ACKs for the --remove-sent-file option
Wayne Davison [Wed, 15 Feb 2006 20:09:49 +0000 (20:09 +0000)]
Don't try to help the ACKs for the --remove-sent-file option
when --delay-updates was specified.

18 years agoOne last change to make the --checksum distinction very clear.
Wayne Davison [Wed, 15 Feb 2006 19:58:53 +0000 (19:58 +0000)]
One last change to make the --checksum distinction very clear.

18 years agoAnother attempt to make --checksum clearer.
Wayne Davison [Wed, 15 Feb 2006 19:24:39 +0000 (19:24 +0000)]
Another attempt to make --checksum clearer.

18 years agoImproved the --checksum description and mention our whole-file
Wayne Davison [Wed, 15 Feb 2006 18:20:23 +0000 (18:20 +0000)]
Improved the --checksum description and mention our whole-file
checksum verification checksum is different.

18 years agoImproved the while's logic in increment_active_files().
Wayne Davison [Wed, 15 Feb 2006 08:26:51 +0000 (08:26 +0000)]
Improved the while's logic in increment_active_files().

18 years agoMention the change to --remove-sent-files.
Wayne Davison [Wed, 15 Feb 2006 08:16:42 +0000 (08:16 +0000)]
Mention the change to --remove-sent-files.

18 years agoCall increment_active_files() during the first phase of a transfer
Wayne Davison [Wed, 15 Feb 2006 08:06:45 +0000 (08:06 +0000)]
Call increment_active_files() during the first phase of a transfer
where --remove-sent-files was specified.

18 years agoAdded increment_active_files() and decrement_active_files() which
Wayne Davison [Wed, 15 Feb 2006 08:05:31 +0000 (08:05 +0000)]
Added increment_active_files() and decrement_active_files() which
allows the generator to ask us to limit the number of files that
are currently active in the transfer when --remove-sent-files is
enabled.

18 years ago- Changed "called" to "named".
Wayne Davison [Tue, 14 Feb 2006 16:45:38 +0000 (16:45 +0000)]
- Changed "called" to "named".
- Fixed a filter option to have the right syntax.
- Mention --prune-empty-dirs in a couple more places.

18 years agoTweaked a comment.
Wayne Davison [Tue, 14 Feb 2006 16:44:11 +0000 (16:44 +0000)]
Tweaked a comment.

18 years agoList more of the doc improvements, list some of the best diffs in
Wayne Davison [Mon, 13 Feb 2006 18:45:04 +0000 (18:45 +0000)]
List more of the doc improvements, list some of the best diffs in
the patches dir, and unified the discussion of the "dest" options.

18 years agoModified the sentence about doc improvements.
Wayne Davison [Mon, 13 Feb 2006 18:19:59 +0000 (18:19 +0000)]
Modified the sentence about doc improvements.

18 years agoDocument what all the items in the --stats output mean.
Wayne Davison [Mon, 13 Feb 2006 18:19:26 +0000 (18:19 +0000)]
Document what all the items in the --stats output mean.

18 years agoMade the receiver count the size of symlinks in the total_size
Wayne Davison [Mon, 13 Feb 2006 18:08:45 +0000 (18:08 +0000)]
Made the receiver count the size of symlinks in the total_size
value, just like the sender does.

18 years agoAdded missing release-history lines for 2.6.6 and 2.6.7.
Wayne Davison [Sun, 12 Feb 2006 19:15:35 +0000 (19:15 +0000)]
Added missing release-history lines for 2.6.6 and 2.6.7.

18 years agoMention the ignoring of SIGXFSZ.
Wayne Davison [Sat, 11 Feb 2006 02:37:58 +0000 (02:37 +0000)]
Mention the ignoring of SIGXFSZ.

18 years agoWe now ignore the SIGXFSZ signal (if it is defined).
Wayne Davison [Sat, 11 Feb 2006 02:36:35 +0000 (02:36 +0000)]
We now ignore the SIGXFSZ signal (if it is defined).

18 years agoMore improvements for "--help", and a couple hyphenation fixes.
Wayne Davison [Sat, 11 Feb 2006 00:02:15 +0000 (00:02 +0000)]
More improvements for "--help", and a couple hyphenation fixes.

18 years agoAdded a backward-compatibility note about -h to the --help option
Wayne Davison [Sat, 11 Feb 2006 00:01:22 +0000 (00:01 +0000)]
Added a backward-compatibility note about -h to the --help option
in the help text.

18 years agoFixed some typos, got rid of some extraneous spaces, got rid of
Wayne Davison [Thu, 9 Feb 2006 17:32:36 +0000 (17:32 +0000)]
Fixed some typos, got rid of some extraneous spaces, got rid of
a hyphen in hard-link (since we consistently use it unhyphenated),
and refer to "unix" as "*nix".

18 years agoThe -h was missing from the daemon's option summary.
Wayne Davison [Thu, 9 Feb 2006 11:56:33 +0000 (11:56 +0000)]
The -h was missing from the daemon's option summary.

18 years ago- Improved the description of how 'D' because 'D' and 'S' for -i.
Wayne Davison [Thu, 9 Feb 2006 10:25:25 +0000 (10:25 +0000)]
- Improved the description of how 'D' because 'D' and 'S' for -i.
- Improved the --devices and --specials item, and moved it next to
  the --super item.
- Mention that "rsync -h" still works as before.

18 years agoGot rid of an statement that is no longer true.
Wayne Davison [Thu, 9 Feb 2006 04:08:38 +0000 (04:08 +0000)]
Got rid of an statement that is no longer true.

18 years agoPreparing for release of 2.6.7pre1
Wayne Davison [Thu, 9 Feb 2006 03:59:17 +0000 (03:59 +0000)]
Preparing for release of 2.6.7pre1

18 years agoUpdated the %i section.
Wayne Davison [Thu, 9 Feb 2006 01:27:03 +0000 (01:27 +0000)]
Updated the %i section.

18 years agoDecided against shortening the output of --itemize-changes.
Wayne Davison [Thu, 9 Feb 2006 01:17:01 +0000 (01:17 +0000)]
Decided against shortening the output of --itemize-changes.

18 years agoThere's no need to send --size-only to a remote sender.
Wayne Davison [Thu, 9 Feb 2006 01:15:04 +0000 (01:15 +0000)]
There's no need to send --size-only to a remote sender.

18 years agoTweaked the mention of --human-readable.
Wayne Davison [Wed, 8 Feb 2006 17:03:00 +0000 (17:03 +0000)]
Tweaked the mention of --human-readable.

18 years agoDocumented the change in the --human-readable option.
Wayne Davison [Wed, 8 Feb 2006 16:54:10 +0000 (16:54 +0000)]
Documented the change in the --human-readable option.

18 years agoTweaked the --human-readable code to work with the new option parsing.
Wayne Davison [Wed, 8 Feb 2006 16:52:51 +0000 (16:52 +0000)]
Tweaked the --human-readable code to work with the new option parsing.

18 years agoChanged -h to mean powers of 1000 when used once, and powers of 1024
Wayne Davison [Wed, 8 Feb 2006 16:52:25 +0000 (16:52 +0000)]
Changed -h to mean powers of 1000 when used once, and powers of 1024
when repeated.  Got rid of --si.

18 years agoTweaked the name of one of dest_mode()'s args.
Wayne Davison [Wed, 8 Feb 2006 02:34:06 +0000 (02:34 +0000)]
Tweaked the name of one of dest_mode()'s args.

18 years agoTweaked a comment.
Wayne Davison [Wed, 8 Feb 2006 02:32:35 +0000 (02:32 +0000)]
Tweaked a comment.

18 years agoMention --dry-run doesn't force --verbose.
Wayne Davison [Tue, 7 Feb 2006 20:08:30 +0000 (20:08 +0000)]
Mention --dry-run doesn't force --verbose.

18 years agoDon't force verbose for --dry-run; let the user decide.
Wayne Davison [Tue, 7 Feb 2006 20:06:43 +0000 (20:06 +0000)]
Don't force verbose for --dry-run; let the user decide.

18 years agoDon't look for $RSYNC_PARTIAL_DIR on the server side.
Wayne Davison [Tue, 7 Feb 2006 19:12:37 +0000 (19:12 +0000)]
Don't look for $RSYNC_PARTIAL_DIR on the server side.

18 years agoClarified something in "incoming chmod".
Wayne Davison [Tue, 7 Feb 2006 18:45:16 +0000 (18:45 +0000)]
Clarified something in "incoming chmod".

18 years agoMoved the delay-bit functions into util.c, making them more generic.
Wayne Davison [Tue, 7 Feb 2006 18:15:51 +0000 (18:15 +0000)]
Moved the delay-bit functions into util.c, making them more generic.

18 years agoCall renamed cmp_time() function (was cmp_modtime()).
Wayne Davison [Tue, 7 Feb 2006 18:15:46 +0000 (18:15 +0000)]
Call renamed cmp_time() function (was cmp_modtime()).

18 years ago- Renamed cmp_modtime() -> cmp_time().
Wayne Davison [Tue, 7 Feb 2006 18:15:37 +0000 (18:15 +0000)]
- Renamed cmp_modtime() -> cmp_time().
- Moved the delay-bit functions here from receiver.c and transformed
  them into some more generic "bitbag" functions.

18 years agoOnly call the just-added "touch" if autoheader succeeded.
Wayne Davison [Tue, 7 Feb 2006 17:30:35 +0000 (17:30 +0000)]
Only call the just-added "touch" if autoheader succeeded.

18 years agoChanged --8-bit to --8-bit-output.
Wayne Davison [Mon, 6 Feb 2006 18:51:25 +0000 (18:51 +0000)]
Changed --8-bit to --8-bit-output.

18 years agoMentioned --8-bit (-8).
Wayne Davison [Mon, 6 Feb 2006 18:45:48 +0000 (18:45 +0000)]
Mentioned --8-bit (-8).

18 years agoDocument --8-bit (-8).
Wayne Davison [Mon, 6 Feb 2006 18:43:12 +0000 (18:43 +0000)]
Document --8-bit (-8).

18 years agoDon't setup ic_chck if --8-bit was specified.
Wayne Davison [Mon, 6 Feb 2006 18:42:46 +0000 (18:42 +0000)]
Don't setup ic_chck if --8-bit was specified.

18 years agoDon't call isprint() if --8-bit was specified.
Wayne Davison [Mon, 6 Feb 2006 18:42:02 +0000 (18:42 +0000)]
Don't call isprint() if --8-bit was specified.

18 years agoAdded the --8-bit (-8) option.
Wayne Davison [Mon, 6 Feb 2006 18:41:32 +0000 (18:41 +0000)]
Added the --8-bit (-8) option.

18 years agoEnsure that the timestamp for config.h.in is changed after
Wayne Davison [Mon, 6 Feb 2006 18:27:45 +0000 (18:27 +0000)]
Ensure that the timestamp for config.h.in is changed after
running autoheader.

18 years agoGot rid of a newly-added trailing tab.
Wayne Davison [Mon, 6 Feb 2006 18:00:37 +0000 (18:00 +0000)]
Got rid of a newly-added trailing tab.

18 years agoMention the new output-escaping idiom and the multibyte support.
Wayne Davison [Mon, 6 Feb 2006 17:58:29 +0000 (17:58 +0000)]
Mention the new output-escaping idiom and the multibyte support.

18 years agoAllow the iconv_open() call to fail since we can now fall-back on
Wayne Davison [Mon, 6 Feb 2006 16:55:01 +0000 (16:55 +0000)]
Allow the iconv_open() call to fail since we can now fall-back on
isprint().  Got rid of the "646" mapping kluge too.

18 years ago- The iconv-supporting code can now ask filtered_fwrite() to use
Wayne Davison [Mon, 6 Feb 2006 16:54:12 +0000 (16:54 +0000)]
- The iconv-supporting code can now ask filtered_fwrite() to use
  isprint() when iconv() could not be setup.
- Changed the output idiom for escaped chars to use \#123 instead
  of \0123 because that makes it possible for a script to know for
  sure what version of rsync did the output (and thus, what the
  unescape rules are).

18 years agoHave default_charset() try mapping "646" -> "ASCII" instead of "ascii".
Wayne Davison [Mon, 6 Feb 2006 09:04:20 +0000 (09:04 +0000)]
Have default_charset() try mapping "646" -> "ASCII" instead of "ascii".

18 years agoAdded "const" to the default_charset() return.
Wayne Davison [Mon, 6 Feb 2006 09:00:37 +0000 (09:00 +0000)]
Added "const" to the default_charset() return.

18 years agoSolaris 9 and HP-UX 11.11 need us to look for libiconv_open,
Wayne Davison [Mon, 6 Feb 2006 08:57:16 +0000 (08:57 +0000)]
Solaris 9 and HP-UX 11.11 need us to look for libiconv_open,
not iconv_open (perhaps because iconf.h wasn't included in
the autoconf test).

18 years agoCheck to see if we need to include the iconv library.
Wayne Davison [Mon, 6 Feb 2006 08:35:18 +0000 (08:35 +0000)]
Check to see if we need to include the iconv library.