Wayne Davison [Fri, 9 Apr 2004 00:33:34 +0000 (00:33 +0000)]
If we're listing a device, output the major and minor device numbers.
Wayne Davison [Thu, 8 Apr 2004 23:15:39 +0000 (23:15 +0000)]
Simplify the setting of rdev & rdev_high in send_file_entry().
Wayne Davison [Thu, 8 Apr 2004 23:05:36 +0000 (23:05 +0000)]
Fixed a bug in the sending of rdev when the high-bits match.
Wayne Davison [Thu, 8 Apr 2004 21:51:49 +0000 (21:51 +0000)]
Explicitly cast our ~0xFF mask using ~(DEV64_T)0xFF, just to be sure
(sign-extention would have probably made the former work OK).
Wayne Davison [Wed, 7 Apr 2004 23:13:02 +0000 (23:13 +0000)]
Mention the rsync-daemon fix for --sufix=''.
Wayne Davison [Wed, 7 Apr 2004 23:09:14 +0000 (23:09 +0000)]
If --daemon was specified, exit the option-parsing code before
adjusting various default values (the real defaults will get
set when the client's options arrive).
Wayne Davison [Mon, 5 Apr 2004 15:05:46 +0000 (15:05 +0000)]
Added a couple missing items.
Wayne Davison [Sat, 3 Apr 2004 20:47:54 +0000 (20:47 +0000)]
Decided against "Source root" in the exclude/include examples.
Wayne Davison [Sat, 3 Apr 2004 18:13:51 +0000 (18:13 +0000)]
Mentioned the CoW improvement and got rid of a bug-fix mention that
was for a bug introduced during the 2.6.1 developement.
Wayne Davison [Thu, 1 Apr 2004 21:39:35 +0000 (21:39 +0000)]
Use getaddrinfo() to figure out if a numeric address is IPv4 or IPv6.
Wayne Davison [Thu, 1 Apr 2004 21:08:24 +0000 (21:08 +0000)]
Last of the cleanup before the patching starts.
Wayne Davison [Thu, 1 Apr 2004 20:56:50 +0000 (20:56 +0000)]
A couple more minor twiddles.
Wayne Davison [Thu, 1 Apr 2004 20:53:39 +0000 (20:53 +0000)]
Updated the sizeof syntax and trimmed some trailing whitespace.
Wayne Davison [Thu, 1 Apr 2004 18:05:40 +0000 (18:05 +0000)]
Decided to use "nobody" instead of "guest".
Wayne Davison [Thu, 1 Apr 2004 18:04:59 +0000 (18:04 +0000)]
Some more IOERR_VANISHED support.
Wayne Davison [Wed, 31 Mar 2004 18:53:57 +0000 (18:53 +0000)]
Improved the include/exclude example section some more. Document
the new username default of "guest" if neither USER or LOGNAME is
set in the environment.
Wayne Davison [Wed, 31 Mar 2004 18:52:38 +0000 (18:52 +0000)]
The auth_client function must not return without outputting something
on the socket, so a NULL or empty username now defaults to "guest".
Wayne Davison [Wed, 31 Mar 2004 17:02:22 +0000 (17:02 +0000)]
Don't complain about a null --suffix if we're the server/sender (since
we might not have received the --backup-dir path from the client).
Martin Pool [Wed, 31 Mar 2004 02:48:47 +0000 (02:48 +0000)]
I'm no longer maintaining this. Tell people to use the lists instead.
Wayne Davison [Tue, 30 Mar 2004 02:08:07 +0000 (02:08 +0000)]
The --files-from option needs to allow a server-sender to sometimes
have just 1 arg on the command-line.
Wayne Davison [Mon, 29 Mar 2004 17:02:31 +0000 (17:02 +0000)]
Try to avoid running on a system that allows us to create devices
without being root (like cygwin) because rsync won't copy the
devices if it is not root.
Wayne Davison [Mon, 29 Mar 2004 16:30:53 +0000 (16:30 +0000)]
In sigchild_handler(), finish with waitpid() before reinitializing
the SIGCHLD handling.
Wayne Davison [Sat, 27 Mar 2004 20:04:04 +0000 (20:04 +0000)]
Added one more example to the new include/exclude section to show how
--relative works with a non-absolute path.
Wayne Davison [Sat, 27 Mar 2004 19:47:27 +0000 (19:47 +0000)]
Mention that certain options treat an absolute path as relative to the
module's "path" dir, even when chroot is off.
Wayne Davison [Sat, 27 Mar 2004 19:46:28 +0000 (19:46 +0000)]
Improved the "relative to the destination dir" description for
several options.
Wayne Davison [Sat, 27 Mar 2004 19:42:13 +0000 (19:42 +0000)]
Got rid of debug-output statement.
Wayne Davison [Sat, 27 Mar 2004 18:25:41 +0000 (18:25 +0000)]
Try to make the complexities of includes/excludes a little more clear.
Wayne Davison [Sat, 27 Mar 2004 09:46:42 +0000 (09:46 +0000)]
Optionally sanitize the args in parse_arguments() using the new
alloc_sanitize_path() function.
Wayne Davison [Sat, 27 Mar 2004 09:44:49 +0000 (09:44 +0000)]
Added alloc_sanitize_path().
Wayne Davison [Sat, 27 Mar 2004 09:44:01 +0000 (09:44 +0000)]
The args are now sanitized in parse_arguments() instead of here.
Wayne Davison [Fri, 26 Mar 2004 16:46:20 +0000 (16:46 +0000)]
Fixed a crash bug when hlink_list is NULL and a link_u.links
pointer in one of the file_struct nodes is not.
Wayne Davison [Fri, 26 Mar 2004 15:51:51 +0000 (15:51 +0000)]
Fixed a typo and made a sentence read better.
Wayne Davison [Wed, 24 Mar 2004 21:59:07 +0000 (21:59 +0000)]
Preparing for release of 2.6.1pre-1
Wayne Davison [Tue, 23 Mar 2004 16:50:40 +0000 (16:50 +0000)]
Moved a few externs and made a couple formatting tweaks.
Wayne Davison [Tue, 23 Mar 2004 16:36:00 +0000 (16:36 +0000)]
Got rid of an ancient (and no longer relevant) comment.
Wayne Davison [Tue, 23 Mar 2004 16:16:15 +0000 (16:16 +0000)]
A few formatting tweaks in delete_file().
Wayne Davison [Tue, 16 Mar 2004 01:26:39 +0000 (01:26 +0000)]
Fixed the test for sin_len as noted by Shinichi Maruyama. Changed
the define name generated for this test and the sa_len test.
Wayne Davison [Tue, 16 Mar 2004 01:26:31 +0000 (01:26 +0000)]
Changed HAVE_SOCKADDR_SIN_LEN to HAVE_SOCKADDR_IN_LEN.
Wayne Davison [Sat, 13 Mar 2004 20:18:03 +0000 (20:18 +0000)]
Check robust_rename()'s return value using < 0.
Wayne Davison [Wed, 10 Mar 2004 08:32:38 +0000 (08:32 +0000)]
Mention the changes in the "patches" dir.
Wayne Davison [Sun, 7 Mar 2004 20:29:59 +0000 (20:29 +0000)]
Use CHMOD_BITS instead of ~_S_IFMT.
Wayne Davison [Sat, 6 Mar 2004 20:07:24 +0000 (20:07 +0000)]
Improved an entry.
Wayne Davison [Sat, 6 Mar 2004 07:45:52 +0000 (07:45 +0000)]
Other files use S_IWUSR instead of S_IWRITE, so use S_IWUSR and S_IRUSR.
Wayne Davison [Sat, 6 Mar 2004 07:43:55 +0000 (07:43 +0000)]
Define S_IRUSR if it doesn't already exist.
Wayne Davison [Sat, 6 Mar 2004 07:00:47 +0000 (07:00 +0000)]
Updated to version from autoconf 2.59 (2003-10-03).
Wayne Davison [Sat, 6 Mar 2004 07:00:16 +0000 (07:00 +0000)]
Updated to version from autoconf 2.59 (2003-08-18).
Wayne Davison [Thu, 4 Mar 2004 19:36:28 +0000 (19:36 +0000)]
Moved out the old news and improved the new.
Wayne Davison [Thu, 4 Mar 2004 19:35:57 +0000 (19:35 +0000)]
Moved the previous release's NEWS here.
Wayne Davison [Sat, 28 Feb 2004 02:02:37 +0000 (02:02 +0000)]
Progress improvement.
Wayne Davison [Sat, 28 Feb 2004 02:00:57 +0000 (02:00 +0000)]
Improved the progress reporting/E.T.A. using a (slightly modifed)
patch from Timo Sirainen.
Wayne Davison [Fri, 27 Feb 2004 08:03:49 +0000 (08:03 +0000)]
Got rid of some superfluous parens.
Wayne Davison [Fri, 27 Feb 2004 07:37:43 +0000 (07:37 +0000)]
Tru64 fix.
Wayne Davison [Fri, 27 Feb 2004 07:22:40 +0000 (07:22 +0000)]
Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN).
Wayne Davison [Fri, 27 Feb 2004 07:22:39 +0000 (07:22 +0000)]
We now set HAVE_SOCKADDR_SA_LEN and HAVE_SOCKADDR_SIN_LEN based on
sockaddr.sa_len and sockaddr.sin_len, respectively (replacing
HAVE_SOCKADDR_LEN).
Wayne Davison [Thu, 26 Feb 2004 04:03:44 +0000 (04:03 +0000)]
No longer needed.
Wayne Davison [Thu, 26 Feb 2004 04:03:35 +0000 (04:03 +0000)]
A couple AC_DEFINE() changes so that we can do without acconfig.h.
Wayne Davison [Wed, 25 Feb 2004 21:20:59 +0000 (21:20 +0000)]
Tweaked some comments and some whitespace.
Wayne Davison [Mon, 23 Feb 2004 20:09:14 +0000 (20:09 +0000)]
Configure addition.
Wayne Davison [Mon, 23 Feb 2004 20:00:20 +0000 (20:00 +0000)]
Allow the default (system) rsyncd.conf file to be specified via configure.
Wayne Davison [Mon, 23 Feb 2004 19:23:53 +0000 (19:23 +0000)]
Trivial whitespace tweak.
Wayne Davison [Mon, 23 Feb 2004 18:19:13 +0000 (18:19 +0000)]
Shouldn't ignore .cvsignore.
Wayne Davison [Mon, 23 Feb 2004 07:03:03 +0000 (07:03 +0000)]
A couple fixes from Shinichi Maruyama.
Wayne Davison [Mon, 23 Feb 2004 02:28:04 +0000 (02:28 +0000)]
Mentioned the recent change in slash handling.
Wayne Davison [Sun, 22 Feb 2004 08:56:43 +0000 (08:56 +0000)]
Changed the literal 9000 into "OPT_REFUSED_BASE".
Wayne Davison [Sat, 21 Feb 2004 21:39:54 +0000 (21:39 +0000)]
Another bug fix.
Wayne Davison [Sat, 21 Feb 2004 21:37:14 +0000 (21:37 +0000)]
Got rid of the "refuse options" section.
Wayne Davison [Sat, 21 Feb 2004 21:36:55 +0000 (21:36 +0000)]
Complain in the daemon log file if there is an unknown option in the
"refuse options" value. Also changed the idiom used to mark refused
options in the popt struct.
Wayne Davison [Sat, 21 Feb 2004 21:12:49 +0000 (21:12 +0000)]
Fixed the "refuse options" setting in the daemon after Fabrice Bellet
identified what was wrong.
Wayne Davison [Fri, 20 Feb 2004 17:09:30 +0000 (17:09 +0000)]
- Guard against and out-of-memory condition.
- Don't use the NGROUPS_MAX define.
Wayne Davison [Fri, 20 Feb 2004 17:01:33 +0000 (17:01 +0000)]
Don't use NGROUPS_MAX define.
Wayne Davison [Wed, 18 Feb 2004 22:33:21 +0000 (22:33 +0000)]
Don't use ENOMSG -- it's not portable.
Wayne Davison [Tue, 17 Feb 2004 23:13:10 +0000 (23:13 +0000)]
Moved the EXDEV handling into robust_rename().
Wayne Davison [Tue, 17 Feb 2004 23:00:00 +0000 (23:00 +0000)]
- If we return an error because of dry_run being set, we now set errno.
- The do_mkstemp() routine now preserves the errno value from fchmod()
if that call fails.
- Improved the CHECK_RO macro stuff.
Wayne Davison [Tue, 17 Feb 2004 22:49:19 +0000 (22:49 +0000)]
We no longer munge a double-leading slash in do_open() because we
shouldn't generate a path with a double-leading slash anymore.
Wayne Davison [Tue, 17 Feb 2004 21:57:44 +0000 (21:57 +0000)]
Don't create a pathname that has two leading slashes (which we used
to do when the root of the transfer was "/").
J.W. Schultz [Sat, 14 Feb 2004 01:43:24 +0000 (01:43 +0000)]
Remove "Conditional -z for old protocols" because those old
protocols are no longer supported.
Wayne Davison [Wed, 11 Feb 2004 08:01:21 +0000 (08:01 +0000)]
Reordered the items inside the file_struct so that alignment padding
should be minimized.
Wayne Davison [Wed, 11 Feb 2004 05:03:04 +0000 (05:03 +0000)]
If --backup was specified, the links we remove are backed up.
Wayne Davison [Wed, 11 Feb 2004 05:02:21 +0000 (05:02 +0000)]
- Revised and optimized the directory-making code.
- Optimized the keep_backup() code.
Wayne Davison [Wed, 11 Feb 2004 04:30:41 +0000 (04:30 +0000)]
Added backup_dir_buf and backup_dir_remainder.
Wayne Davison [Wed, 11 Feb 2004 02:48:58 +0000 (02:48 +0000)]
Fixed a crash bug when keep_backup() calls make_file() and the lastdir
pointer is no longer valid.
Wayne Davison [Wed, 11 Feb 2004 02:33:17 +0000 (02:33 +0000)]
Got rid of hard-link message (since I don't think it was ever
output in older rsync versions).
Wayne Davison [Tue, 10 Feb 2004 23:35:12 +0000 (23:35 +0000)]
Another attempt at measuring the minimum alignment for a system.
J.W. Schultz [Tue, 10 Feb 2004 23:23:09 +0000 (23:23 +0000)]
Simplified test for hardlink in make_backup debug message to
avoid core-dump.
Wayne Davison [Tue, 10 Feb 2004 22:56:16 +0000 (22:56 +0000)]
Got rid of useless extern.
Wayne Davison [Tue, 10 Feb 2004 22:28:36 +0000 (22:28 +0000)]
Trying a different MINALIGN because of core dumps on the sparc-64
build-farm machines.
J.W. Schultz [Tue, 10 Feb 2004 21:11:24 +0000 (21:11 +0000)]
Revert pool_alloc's use of bomb if pool == NULL.
J.W. Schultz [Tue, 10 Feb 2004 21:11:24 +0000 (21:11 +0000)]
Keep in sync with protocol if idev data on stream but no hlink_pool.
Wayne Davison [Tue, 10 Feb 2004 17:53:52 +0000 (17:53 +0000)]
If XMIT_HAS_IDEV_DATA is set in receive_file_entry(), we now bomb out
if flist->hlink_pool isn't set (instead of neglecting to read the idev
info).
Wayne Davison [Tue, 10 Feb 2004 17:52:31 +0000 (17:52 +0000)]
If we call pool_alloc() on a NULL pool, bomb out with an error.
Wayne Davison [Tue, 10 Feb 2004 17:35:04 +0000 (17:35 +0000)]
Empty-line tweaks.
Wayne Davison [Tue, 10 Feb 2004 17:34:05 +0000 (17:34 +0000)]
Changed a while loop to a for loop.
Wayne Davison [Tue, 10 Feb 2004 17:28:59 +0000 (17:28 +0000)]
Tweaked an if.
Wayne Davison [Tue, 10 Feb 2004 17:28:31 +0000 (17:28 +0000)]
Changed flist_init() to use offsetof().
Wayne Davison [Tue, 10 Feb 2004 17:06:11 +0000 (17:06 +0000)]
Added lib/pool_alloc.h to the HEADERS.
J.W. Schultz [Tue, 10 Feb 2004 03:54:47 +0000 (03:54 +0000)]
Dropped support for protocol versions less than 20 (2.3.0
released 15 Mar 1999) and activated warnings for protocols
less than 25 (2.5.0 released 23 Aug 2001)
J.W. Schultz [Tue, 10 Feb 2004 03:26:41 +0000 (03:26 +0000)]
Added allocation pool code.
J.W. Schultz [Tue, 10 Feb 2004 03:23:37 +0000 (03:23 +0000)]
Make idev, hlink and file_struct + strings use allocation
pools.
Wayne Davison [Mon, 9 Feb 2004 21:22:59 +0000 (21:22 +0000)]
Die if we overflowed the args[] array when building up the remote
command in do_cmd().
Wayne Davison [Mon, 9 Feb 2004 18:32:54 +0000 (18:32 +0000)]
The batch-options now set checksum_seed to the appropriate fixed value.