Commit Graph

  • a892d905bb Don't force verbose for --dry-run; let the user decide. Wayne Davison 2006-02-07 20:06:43 +00:00
  • bc880cb8d2 Don't look for $RSYNC_PARTIAL_DIR on the server side. Wayne Davison 2006-02-07 19:12:37 +00:00
  • 2243a9353e Clarified something in "incoming chmod". Wayne Davison 2006-02-07 18:45:16 +00:00
  • 10f994a52a Moved the delay-bit functions into util.c, making them more generic. Wayne Davison 2006-02-07 18:15:51 +00:00
  • 0f86c74eba Call renamed cmp_time() function (was cmp_modtime()). Wayne Davison 2006-02-07 18:15:46 +00:00
  • c2b5407678 - 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 2006-02-07 18:15:37 +00:00
  • 350879d8d1 Only call the just-added "touch" if autoheader succeeded. Wayne Davison 2006-02-07 17:30:35 +00:00
  • a6a276027c Changed --8-bit to --8-bit-output. Wayne Davison 2006-02-06 18:51:25 +00:00
  • 45b79c8959 Mentioned --8-bit (-8). Wayne Davison 2006-02-06 18:45:48 +00:00
  • d0022dd908 Document --8-bit (-8). Wayne Davison 2006-02-06 18:43:12 +00:00
  • e0f4a661be Don't setup ic_chck if --8-bit was specified. Wayne Davison 2006-02-06 18:42:46 +00:00
  • 507433f6ca Don't call isprint() if --8-bit was specified. Wayne Davison 2006-02-06 18:42:02 +00:00
  • 5974c662ff Added the --8-bit (-8) option. Wayne Davison 2006-02-06 18:41:32 +00:00
  • aa0bec8a52 Ensure that the timestamp for config.h.in is changed after running autoheader. Wayne Davison 2006-02-06 18:27:45 +00:00
  • 2d2f71fb27 Got rid of a newly-added trailing tab. Wayne Davison 2006-02-06 18:00:37 +00:00
  • 36f59b5802 Mention the new output-escaping idiom and the multibyte support. Wayne Davison 2006-02-06 17:58:29 +00:00
  • 7fc87d2daf 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 2006-02-06 16:55:01 +00:00
  • 3648ab3a24 - 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 2006-02-06 16:54:12 +00:00
  • 7a9d183fc4 Have default_charset() try mapping "646" -> "ASCII" instead of "ascii". Wayne Davison 2006-02-06 09:04:20 +00:00
  • 2a62f5ee19 Added "const" to the default_charset() return. Wayne Davison 2006-02-06 09:00:37 +00:00
  • f9cfaae952 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 2006-02-06 08:57:16 +00:00
  • bd4576fe4b Check to see if we need to include the iconv library. Wayne Davison 2006-02-06 08:35:18 +00:00
  • 4e194bf178 Mention the prepare-source script and the changes in the patches dir. Wayne Davison 2006-02-06 07:57:03 +00:00
  • ef4e0d5e7e Added dependencies for proto.h. Wayne Davison 2006-02-06 05:06:52 +00:00
  • e6d8e70925 The "proto" target now builds target "proto.h" from the new prepare-source.mak makefile. Wayne Davison 2006-02-06 04:54:30 +00:00
  • a6c5741c37 Changed the "proto" target to "proto.h". Wayne Davison 2006-02-06 04:53:02 +00:00
  • 3ea7fc6ccf Moved the targets "gen", "proto", and "man" to prepare-source.mak. Wayne Davison 2006-02-06 04:09:48 +00:00
  • 20926fbd63 An easy way to run all the commands in prepare-source.mak. Wayne Davison 2006-02-06 04:08:14 +00:00
  • 2a3f3ba45d 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 2006-02-06 04:07:49 +00:00
  • 662127e6c7 Include --no-g in the popt-alias example in --perms. Wayne Davison 2006-02-05 15:31:31 +00:00
  • 0be05d6038 In default_charset(): if nl_langinfo() gives us "646", return "ascii". Wayne Davison 2006-02-05 07:20:10 +00:00
  • 1f77038ef2 Added a missing comma. Wayne Davison 2006-02-05 07:00:21 +00:00
  • 77ed253c73 Some more improvements to --perms and --executability from Matt and me. Wayne Davison 2006-02-05 06:40:18 +00:00
  • b988781801 Allow itemize() to flag ITEM_REPORT_PERMS anytime the permissions change (even if -p or -E aren't set). Wayne Davison 2006-02-05 06:13:34 +00:00
  • 595251de24 Make sure that we don't try to use iconv() without iconv.h. Wayne Davison 2006-02-05 04:52:11 +00:00
  • c85631421d Changed HAVE_ICONV to HAVE_ICONV_OPEN. Wayne Davison 2006-02-05 04:45:23 +00:00
  • 12c8cd02fc Switched back to checking for iconv_open() due to HP-UX. Wayne Davison 2006-02-04 23:06:39 +00:00
  • 9656de5d13 Call setup_iconv(). Wayne Davison 2006-02-04 22:03:44 +00:00
  • 9a31746b10 Use iconv() (when available) to allow us to output multibyte characters that are legal in the current locale. Wayne Davison 2006-02-04 22:03:39 +00:00
  • ceccbacc34 The new function setup_iconv() initializes the ic_chck var. Wayne Davison 2006-02-04 22:03:33 +00:00
  • ff2e2ccfc1 - Changed the check for iconv_open() to just iconv(). - Got rid of the --enable-iconv option for now. Wayne Davison 2006-02-04 22:03:21 +00:00
  • 12bda6f710 Don't do so much memory copying in mplex_write(). Wayne Davison 2006-02-04 21:52:32 +00:00
  • c53b6fd0ac In the compatibility comments: mention why we don't use grep -q. Wayne Davison 2006-02-04 19:44:19 +00:00
  • b31243b472 Test directory setgid inheritence when --perms is not in effect. Wayne Davison 2006-02-04 19:42:47 +00:00
  • c8d19f90a6 Added a missing '(' in the opening comments. Wayne Davison 2006-02-04 19:29:13 +00:00
  • 114bafe0d0 Added a special permission (o+t) to one of the files in the test. Wayne Davison 2006-02-04 19:28:45 +00:00
  • 5ef8c5c6d4 Tweaked a function declaraion. Wayne Davison 2006-02-04 19:27:07 +00:00
  • 9b499e9537 - 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 2006-02-04 19:09:46 +00:00
  • 00f00f846b Ignore setfacl unless it tells us that it supports the -k option. Wayne Davison 2006-02-04 18:41:47 +00:00
  • 998113fedf Needed to make %G output "DEFAULT" when gid == GID_NONE. Wayne Davison 2006-02-04 18:40:41 +00:00
  • ee5544112a Improved the --partial-dir section. Wayne Davison 2006-02-03 23:50:16 +00:00
  • 7eaabd8fac 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 2006-02-03 23:40:37 +00:00
  • 4fc808dd98 Avoid adding our own exclude of the partial-dir name if the user's filter rules already match it. Wayne Davison 2006-02-03 23:16:46 +00:00
  • 7cfb250c93 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 2006-02-03 22:41:19 +00:00
  • 47f480b619 Removed completed items. Wayne Davison 2006-02-03 20:49:25 +00:00
  • fa9e950b1a Mention who is outputting the "rsync error" or "rsync warning". Wayne Davison 2006-02-03 20:39:58 +00:00
  • 49f4d850ce Mention latest changes. Wayne Davison 2006-02-03 20:32:27 +00:00
  • b3e15181ae Log when someone requests a module list. Wayne Davison 2006-02-03 20:28:19 +00:00
  • aca5500aea Document the new "log format" options: %M (modtime), %U (uid), %G (gid), and %B (perm bits). Wayne Davison 2006-02-03 20:00:24 +00:00
  • 427b6179b9 - Allow tab characters to appear in rwrite() messages. - Added %M (modtime), %U (uid), %G (gid), and %B (perm bits) to log_formatted(). Wayne Davison 2006-02-03 19:59:25 +00:00
  • afa73c75b5 A minor optimization to timestring. Wayne Davison 2006-02-03 19:40:16 +00:00
  • 8261af7422 Allow sigaction() to be used even if sigprocmask() isn't around (or was manually disabled). Wayne Davison 2006-02-03 18:48:26 +00:00
  • 44e604f416 Simplified the conditional prior to the SIGACTION code. Wayne Davison 2006-02-03 18:46:38 +00:00
  • 5173f99e68 A slight tweak to the conditionalized definition of SIGACTION(). Wayne Davison 2006-02-03 18:34:09 +00:00
  • 8a3d4658eb Decided I don't like "set -x". Wayne Davison 2006-02-03 17:58:48 +00:00
  • 6b43924848 The calls to check_perms now pass a test number arg and don't check for failure (it will die on failure). Wayne Davison 2006-02-03 17:55:24 +00:00
  • eace352b39 Improved check_perms() to work with a directory, to have better output on error, and to call test_fail on error. Wayne Davison 2006-02-03 17:54:18 +00:00
  • fdbe8989fe Moved check_perms() into rsync.fns and tweaked how it is called. Wayne Davison 2006-02-03 17:29:43 +00:00
  • 18d7e9f46e Added a new function: check_perms(). Wayne Davison 2006-02-03 17:28:03 +00:00
  • c6fbd563d8 Matt's executability test with a few tweaks (e.g. to avoid using "stat"). Wayne Davison 2006-02-03 06:47:26 +00:00
  • a5df33bb62 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 2006-02-03 06:15:46 +00:00
  • 5cf4896050 Mention the sigaction() and sigprocmask() goodness. Wayne Davison 2006-02-02 22:38:55 +00:00
  • 2fb450bd99 Fixed a hang. Wayne Davison 2006-02-02 22:34:30 +00:00
  • 4ea58045e2 Moved the potential disabling of __attribute__ above the relocated UNUSED() define. Wayne Davison 2006-02-02 22:24:33 +00:00
  • 29433538ff Tweaked a couple lines in the code that handles --version. Wayne Davison 2006-02-02 11:40:32 +00:00
  • d382140904 Changed default logfile setting from /var/adm/rsyncd.log to /var/log/rsyncd.log. Wayne Davison 2006-02-02 10:20:13 +00:00
  • b8e9c234e6 Changed sig_int() to use a standard signal-handler prototype. Wayne Davison 2006-02-02 02:39:40 +00:00
  • 60ee01f517 - Call SIGACTION() instead of signal(). - Umask all the signals we need using sigprocmask() (if available). Wayne Davison 2006-02-02 02:39:29 +00:00
  • 2b28968dfb Call SIGACTION() instead of signal(). Wayne Davison 2006-02-02 02:39:25 +00:00
  • 90b13cf606 - 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 2006-02-02 02:39:19 +00:00
  • d81894fc21 Added checks for sigaction() and sigprocmask(). Wayne Davison 2006-02-02 02:32:39 +00:00
  • f5cbae9329 Look for public functions that return RETSIGTYPE. Wayne Davison 2006-02-02 02:29:30 +00:00
  • 7a6653bc6c Ignore the --quiet option if someone sent it to us (which doesn't happen when talking to a normal client). Wayne Davison 2006-02-01 19:36:37 +00:00
  • 72f2d1b384 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 2006-02-01 19:35:17 +00:00
  • b66e31bf15 Turn an FSOCKERR into a normal FERROR if it's not going to our sibling. Wayne Davison 2006-02-01 19:33:12 +00:00
  • ea26c854af Added FSOCKERR and MSG_SOCKERR (a sibling-only message). Wayne Davison 2006-02-01 19:26:34 +00:00
  • ef1f62807e We should be using wait_process(), not waitpid() directly. Wayne Davison 2006-02-01 19:25:34 +00:00
  • d8aeda1e50 Changed a few "ret" variables to have better names. Wayne Davison 2006-02-01 19:24:28 +00:00
  • 07efba8ec0 The itemize() output now mentions -E permissions changes. Wayne Davison 2006-01-31 06:25:46 +00:00
  • 2959fe7447 Mention the --executability option. Wayne Davison 2006-01-31 03:40:22 +00:00
  • 4601589720 Another help-text tweak. Wayne Davison 2006-01-31 03:11:07 +00:00
  • 9f8225566e Moved where --chmod was listed. Wayne Davison 2006-01-31 03:05:24 +00:00
  • 5e65c96705 Moved --chmod in the help output. Wayne Davison 2006-01-31 03:04:00 +00:00
  • a9d6e6fcac When permissions aren't being preserved, set them via the new dest_mode() function. Wayne Davison 2006-01-31 02:30:09 +00:00
  • 860dcf68ad Got rid of the orig_umask-based file->mode tweak in receive_file() (which got moved into the dest_mode() function). Wayne Davison 2006-01-31 02:30:05 +00:00
  • 812848323b 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. Wayne Davison 2006-01-31 02:30:02 +00:00
  • 344f9ba7fa Added the --executability (-E) option. Wayne Davison 2006-01-31 02:29:58 +00:00
  • 2d5279ac9a Documented the new --executability (-E) option, with improvements to the --perms and --chmod sections as well. Wayne Davison 2006-01-31 02:29:55 +00:00
  • fa3e4a0548 Mention the chmod utility's manpage number. Wayne Davison 2006-01-31 02:26:49 +00:00
  • 656c20715e Mention that --chmod's work can still be masked by the receiving end's umask when permissions are not being preserved. Wayne Davison 2006-01-30 22:10:33 +00:00