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.
Wayne Davison [Wed, 8 Feb 2006 02:34:06 +0000 (02:34 +0000)]
Tweaked the name of one of dest_mode()'s args.
Wayne Davison [Wed, 8 Feb 2006 02:32:35 +0000 (02:32 +0000)]
Tweaked a comment.
Wayne Davison [Tue, 7 Feb 2006 20:08:30 +0000 (20:08 +0000)]
Mention --dry-run doesn't force --verbose.
Wayne Davison [Tue, 7 Feb 2006 20:06:43 +0000 (20:06 +0000)]
Don't force verbose for --dry-run; let the user decide.
Wayne Davison [Tue, 7 Feb 2006 19:12:37 +0000 (19:12 +0000)]
Don't look for $RSYNC_PARTIAL_DIR on the server side.
Wayne Davison [Tue, 7 Feb 2006 18:45:16 +0000 (18:45 +0000)]
Clarified something in "incoming chmod".
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.
Wayne Davison [Tue, 7 Feb 2006 18:15:46 +0000 (18:15 +0000)]
Call renamed cmp_time() function (was cmp_modtime()).
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.
Wayne Davison [Tue, 7 Feb 2006 17:30:35 +0000 (17:30 +0000)]
Only call the just-added "touch" if autoheader succeeded.
Wayne Davison [Mon, 6 Feb 2006 18:51:25 +0000 (18:51 +0000)]
Changed --8-bit to --8-bit-output.
Wayne Davison [Mon, 6 Feb 2006 18:45:48 +0000 (18:45 +0000)]
Mentioned --8-bit (-8).
Wayne Davison [Mon, 6 Feb 2006 18:43:12 +0000 (18:43 +0000)]
Document --8-bit (-8).
Wayne Davison [Mon, 6 Feb 2006 18:42:46 +0000 (18:42 +0000)]
Don't setup ic_chck 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.
Wayne Davison [Mon, 6 Feb 2006 18:41:32 +0000 (18:41 +0000)]
Added the --8-bit (-8) option.
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.
Wayne Davison [Mon, 6 Feb 2006 18:00:37 +0000 (18:00 +0000)]
Got rid of a newly-added trailing tab.
Wayne Davison [Mon, 6 Feb 2006 17:58:29 +0000 (17:58 +0000)]
Mention the new output-escaping idiom and the multibyte support.
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.
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).
Wayne Davison [Mon, 6 Feb 2006 09:04:20 +0000 (09:04 +0000)]
Have default_charset() try mapping "646" -> "ASCII" instead of "ascii".
Wayne Davison [Mon, 6 Feb 2006 09:00:37 +0000 (09:00 +0000)]
Added "const" to the default_charset() return.
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).
Wayne Davison [Mon, 6 Feb 2006 08:35:18 +0000 (08:35 +0000)]
Check to see if we need to include the iconv library.
Wayne Davison [Mon, 6 Feb 2006 07:57:03 +0000 (07:57 +0000)]
Mention the prepare-source script and the changes in the patches
dir.
Wayne Davison [Mon, 6 Feb 2006 05:06:52 +0000 (05:06 +0000)]
Added dependencies for proto.h.
Wayne Davison [Mon, 6 Feb 2006 04:54:30 +0000 (04:54 +0000)]
The "proto" target now builds target "proto.h" from the new
prepare-source.mak makefile.
Wayne Davison [Mon, 6 Feb 2006 04:53:02 +0000 (04:53 +0000)]
Changed the "proto" target to "proto.h".
Wayne Davison [Mon, 6 Feb 2006 04:09:48 +0000 (04:09 +0000)]
Moved the targets "gen", "proto", and "man" to prepare-source.mak.
Wayne Davison [Mon, 6 Feb 2006 04:08:14 +0000 (04:08 +0000)]
An easy way to run all the commands in prepare-source.mak.
Wayne Davison [Mon, 6 Feb 2006 04:07:49 +0000 (04:07 +0000)]
Moved the rules for generating files such as configure, config.h.in,
proto.h, and the manpages into this separate makefile, allowing it to
be used without first running configure (which builds the Makefile).
Wayne Davison [Sun, 5 Feb 2006 15:31:31 +0000 (15:31 +0000)]
Include --no-g in the popt-alias example in --perms.
Wayne Davison [Sun, 5 Feb 2006 07:20:10 +0000 (07:20 +0000)]
In default_charset(): if nl_langinfo() gives us "646", return "ascii".
Wayne Davison [Sun, 5 Feb 2006 07:00:21 +0000 (07:00 +0000)]
Added a missing comma.
Wayne Davison [Sun, 5 Feb 2006 06:40:18 +0000 (06:40 +0000)]
Some more improvements to --perms and --executability from Matt and me.
Wayne Davison [Sun, 5 Feb 2006 06:13:34 +0000 (06:13 +0000)]
Allow itemize() to flag ITEM_REPORT_PERMS anytime the permissions
change (even if -p or -E aren't set).
Wayne Davison [Sun, 5 Feb 2006 04:52:11 +0000 (04:52 +0000)]
Make sure that we don't try to use iconv() without iconv.h.
Wayne Davison [Sun, 5 Feb 2006 04:45:23 +0000 (04:45 +0000)]
Changed HAVE_ICONV to HAVE_ICONV_OPEN.
Wayne Davison [Sat, 4 Feb 2006 23:06:39 +0000 (23:06 +0000)]
Switched back to checking for iconv_open() due to HP-UX.
Wayne Davison [Sat, 4 Feb 2006 22:03:44 +0000 (22:03 +0000)]
Call setup_iconv().
Wayne Davison [Sat, 4 Feb 2006 22:03:39 +0000 (22:03 +0000)]
Use iconv() (when available) to allow us to output multibyte
characters that are legal in the current locale.
Wayne Davison [Sat, 4 Feb 2006 22:03:33 +0000 (22:03 +0000)]
The new function setup_iconv() initializes the ic_chck var.
Wayne Davison [Sat, 4 Feb 2006 22:03:21 +0000 (22:03 +0000)]
- Changed the check for iconv_open() to just iconv().
- Got rid of the --enable-iconv option for now.
Wayne Davison [Sat, 4 Feb 2006 21:52:32 +0000 (21:52 +0000)]
Don't do so much memory copying in mplex_write().
Wayne Davison [Sat, 4 Feb 2006 19:44:19 +0000 (19:44 +0000)]
In the compatibility comments: mention why we don't use grep -q.
Wayne Davison [Sat, 4 Feb 2006 19:42:47 +0000 (19:42 +0000)]
Test directory setgid inheritence when --perms is not in effect.
Wayne Davison [Sat, 4 Feb 2006 19:29:13 +0000 (19:29 +0000)]
Added a missing '(' in the opening comments.
Wayne Davison [Sat, 4 Feb 2006 19:28:45 +0000 (19:28 +0000)]
Added a special permission (o+t) to one of the files in the test.
Wayne Davison [Sat, 4 Feb 2006 19:27:07 +0000 (19:27 +0000)]
Tweaked a function declaraion.
Wayne Davison [Sat, 4 Feb 2006 19:09:46 +0000 (19:09 +0000)]
- When not preserving permissions, ensure that a newly-created
directory's inherited sgid bit is preserved.
- When not preserving permissions, ensure that newly-created
files/dirs don't inherit any special permissions.
Wayne Davison [Sat, 4 Feb 2006 18:41:47 +0000 (18:41 +0000)]
Ignore setfacl unless it tells us that it supports the -k option.
Wayne Davison [Sat, 4 Feb 2006 18:40:41 +0000 (18:40 +0000)]
Needed to make %G output "DEFAULT" when gid == GID_NONE.
Wayne Davison [Fri, 3 Feb 2006 23:50:16 +0000 (23:50 +0000)]
Improved the --partial-dir section.
Wayne Davison [Fri, 3 Feb 2006 23:40:37 +0000 (23:40 +0000)]
Decided to undo the last change to avoid backward compatibility
inconsistencies (it would have been the right thing to do if it
were done that way from the start, but not now).
Wayne Davison [Fri, 3 Feb 2006 23:16:46 +0000 (23:16 +0000)]
Avoid adding our own exclude of the partial-dir name if the
user's filter rules already match it.
Wayne Davison [Fri, 3 Feb 2006 22:41:19 +0000 (22:41 +0000)]
Made the new %M escape handle multiple spaces in the timestamp
(which can occur if the user's system doesn't have strftime()).
Wayne Davison [Fri, 3 Feb 2006 20:49:25 +0000 (20:49 +0000)]
Removed completed items.
Wayne Davison [Fri, 3 Feb 2006 20:39:58 +0000 (20:39 +0000)]
Mention who is outputting the "rsync error" or "rsync warning".
Wayne Davison [Fri, 3 Feb 2006 20:32:27 +0000 (20:32 +0000)]
Mention latest changes.
Wayne Davison [Fri, 3 Feb 2006 20:28:19 +0000 (20:28 +0000)]
Log when someone requests a module list.
Wayne Davison [Fri, 3 Feb 2006 20:00:24 +0000 (20:00 +0000)]
Document the new "log format" options: %M (modtime), %U (uid),
%G (gid), and %B (perm bits).
Wayne Davison [Fri, 3 Feb 2006 19:59:25 +0000 (19:59 +0000)]
- Allow tab characters to appear in rwrite() messages.
- Added %M (modtime), %U (uid), %G (gid), and %B (perm bits) to
log_formatted().
Wayne Davison [Fri, 3 Feb 2006 19:40:16 +0000 (19:40 +0000)]
A minor optimization to timestring.
Wayne Davison [Fri, 3 Feb 2006 18:48:26 +0000 (18:48 +0000)]
Allow sigaction() to be used even if sigprocmask() isn't around
(or was manually disabled).
Wayne Davison [Fri, 3 Feb 2006 18:46:38 +0000 (18:46 +0000)]
Simplified the conditional prior to the SIGACTION code.
Wayne Davison [Fri, 3 Feb 2006 18:34:09 +0000 (18:34 +0000)]
A slight tweak to the conditionalized definition of SIGACTION().
Wayne Davison [Fri, 3 Feb 2006 17:58:48 +0000 (17:58 +0000)]
Decided I don't like "set -x".
Wayne Davison [Fri, 3 Feb 2006 17:55:24 +0000 (17:55 +0000)]
The calls to check_perms now pass a test number arg and
don't check for failure (it will die on failure).
Wayne Davison [Fri, 3 Feb 2006 17:54:18 +0000 (17:54 +0000)]
Improved check_perms() to work with a directory, to have better
output on error, and to call test_fail on error.
Wayne Davison [Fri, 3 Feb 2006 17:29:43 +0000 (17:29 +0000)]
Moved check_perms() into fns and tweaked how it is called.
Wayne Davison [Fri, 3 Feb 2006 17:28:03 +0000 (17:28 +0000)]
Added a new function: check_perms().
Wayne Davison [Fri, 3 Feb 2006 06:47:26 +0000 (06:47 +0000)]
Matt's executability test with a few tweaks (e.g. to avoid using
"stat").
Wayne Davison [Fri, 3 Feb 2006 06:15:46 +0000 (06:15 +0000)]
Scratch-dir normalization from Matt: turn off any default ACLs (if
setfacl is available) and disable any directory setgid bit to avoid
confusing some tests.
Wayne Davison [Thu, 2 Feb 2006 22:38:55 +0000 (22:38 +0000)]
Mention the sigaction() and sigprocmask() goodness.
Wayne Davison [Thu, 2 Feb 2006 22:34:30 +0000 (22:34 +0000)]
Fixed a hang.
Wayne Davison [Thu, 2 Feb 2006 22:24:33 +0000 (22:24 +0000)]
Moved the potential disabling of __attribute__ above the
relocated UNUSED() define.
Wayne Davison [Thu, 2 Feb 2006 11:40:32 +0000 (11:40 +0000)]
Tweaked a couple lines in the code that handles --version.
Wayne Davison [Thu, 2 Feb 2006 10:20:13 +0000 (10:20 +0000)]
Changed default logfile setting from /var/adm/rsyncd.log to
/var/log/rsyncd.log.
Wayne Davison [Thu, 2 Feb 2006 02:39:40 +0000 (02:39 +0000)]
Changed sig_int() to use a standard signal-handler prototype.
Wayne Davison [Thu, 2 Feb 2006 02:39:29 +0000 (02:39 +0000)]
- Call SIGACTION() instead of signal().
- Umask all the signals we need using sigprocmask() (if available).
Wayne Davison [Thu, 2 Feb 2006 02:39:25 +0000 (02:39 +0000)]
Call SIGACTION() instead of signal().
Wayne Davison [Thu, 2 Feb 2006 02:39:19 +0000 (02:39 +0000)]
- Moved definition of UNUSED() above inclusion of proto.h.
- Replaced definition of SIGNAL_CAST with new SIGACTION() define,
which will use sigaction() if it is available, else signal().
Wayne Davison [Thu, 2 Feb 2006 02:32:39 +0000 (02:32 +0000)]
Added checks for sigaction() and sigprocmask().
Wayne Davison [Thu, 2 Feb 2006 02:29:30 +0000 (02:29 +0000)]
Look for public functions that return RETSIGTYPE.
Wayne Davison [Wed, 1 Feb 2006 19:36:37 +0000 (19:36 +0000)]
Ignore the --quiet option if someone sent it to us (which doesn't
happen when talking to a normal client).
Wayne Davison [Wed, 1 Feb 2006 19:35:17 +0000 (19:35 +0000)]
When complaining about a socket-read problem, use an FSOCKERR
code instead of a normal FERROR. The generator is the only
process that will receive this, and it uses it to close down
the multi-I/O over the socket so that it won't ever hang trying
to write an error down a dead socket.
Wayne Davison [Wed, 1 Feb 2006 19:33:12 +0000 (19:33 +0000)]
Turn an FSOCKERR into a normal FERROR if it's not going to our
sibling.
Wayne Davison [Wed, 1 Feb 2006 19:26:34 +0000 (19:26 +0000)]
Added FSOCKERR and MSG_SOCKERR (a sibling-only message).
Wayne Davison [Wed, 1 Feb 2006 19:25:34 +0000 (19:25 +0000)]
We should be using wait_process(), not waitpid() directly.
Wayne Davison [Wed, 1 Feb 2006 19:24:28 +0000 (19:24 +0000)]
Changed a few "ret" variables to have better names.
Wayne Davison [Tue, 31 Jan 2006 06:25:46 +0000 (06:25 +0000)]
The itemize() output now mentions -E permissions changes.
Wayne Davison [Tue, 31 Jan 2006 03:40:22 +0000 (03:40 +0000)]
Mention the --executability option.
Wayne Davison [Tue, 31 Jan 2006 03:11:07 +0000 (03:11 +0000)]
Another help-text tweak.
Wayne Davison [Tue, 31 Jan 2006 03:05:24 +0000 (03:05 +0000)]
Moved where --chmod was listed.
Wayne Davison [Tue, 31 Jan 2006 03:04:00 +0000 (03:04 +0000)]
Moved --chmod in the help output.
Wayne Davison [Tue, 31 Jan 2006 02:30:09 +0000 (02:30 +0000)]
When permissions aren't being preserved, set them via the new
dest_mode() function.
Wayne Davison [Tue, 31 Jan 2006 02:30:05 +0000 (02:30 +0000)]
Got rid of the orig_umask-based file->mode tweak in receive_file()
(which got moved into the dest_mode() function).
Wayne Davison [Tue, 31 Jan 2006 02:30:02 +0000 (02:30 +0000)]
Added the dest_mode() function: it figures out the permissions for
a file when we aren't preserving permissions, including the honoring
of the new --executability option.