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.
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.
Wayne Davison [Wed, 21 Sep 2005 17:35:51 +0000 (17:35 +0000)]
Check for limits.h.
Wayne Davison [Wed, 21 Sep 2005 17:15:58 +0000 (17:15 +0000)]
Tweaked the output that the mknod() tests generate.
Wayne Davison [Mon, 19 Sep 2005 17:21:00 +0000 (17:21 +0000)]
Tweaked some comments.
Wayne Davison [Sat, 17 Sep 2005 21:49:24 +0000 (21:49 +0000)]
Changed one strcpy() into a strlcpy().
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).
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.
Wayne Davison [Fri, 16 Sep 2005 16:14:24 +0000 (16:14 +0000)]
Mention '!' fix.
Wayne Davison [Fri, 16 Sep 2005 16:10:01 +0000 (16:10 +0000)]
Really fix '!' in a .cvsignore file this time.
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.
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.
Wayne Davison [Thu, 15 Sep 2005 22:25:55 +0000 (22:25 +0000)]
Added a comment.
Wayne Davison [Thu, 15 Sep 2005 17:19:30 +0000 (17:19 +0000)]
Mention doc changes.
Wayne Davison [Thu, 15 Sep 2005 15:36:27 +0000 (15:36 +0000)]
Removed conflicting ssh citation in the SETUP section.
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://'.
Wayne Davison [Fri, 9 Sep 2005 17:07:39 +0000 (17:07 +0000)]
Mention the latest fix.
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.
Wayne Davison [Fri, 9 Sep 2005 07:27:25 +0000 (07:27 +0000)]
Improved the -F, --exclude-from, and --include-from sections.
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).
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.
Wayne Davison [Sat, 3 Sep 2005 16:50:20 +0000 (16:50 +0000)]
Make use of the 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.
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).
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.
Wayne Davison [Tue, 30 Aug 2005 05:12:49 +0000 (05:12 +0000)]
Mention latest changes.
Wayne Davison [Tue, 30 Aug 2005 05:10:51 +0000 (05:10 +0000)]
Mention how --inplace conflicts with --sparse and how --append
does not.
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.
Wayne Davison [Tue, 30 Aug 2005 02:59:30 +0000 (02:59 +0000)]
Fixed a comment.
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).
Wayne Davison [Tue, 30 Aug 2005 02:57:19 +0000 (02:57 +0000)]
Reject attempts to combine --sparse with --inplace.
Wayne Davison [Sun, 28 Aug 2005 00:43:51 +0000 (00:43 +0000)]
Forgot the --no-v option.
Wayne Davison [Sun, 28 Aug 2005 00:34:46 +0000 (00:34 +0000)]
Mention the new --no-* options.
Wayne Davison [Sun, 28 Aug 2005 00:25:44 +0000 (00:25 +0000)]
A small improvement to the daemon-connecting instructions.
Wayne Davison [Sat, 27 Aug 2005 21:12:44 +0000 (21:12 +0000)]
One more tweak to the option data.
Wayne Davison [Sat, 27 Aug 2005 21:07:27 +0000 (21:07 +0000)]
Documented the new --no-* options.
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.
Wayne Davison [Sat, 27 Aug 2005 20:43:35 +0000 (20:43 +0000)]
A little more reordering of the option data.
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.
Wayne Davison [Sat, 20 Aug 2005 17:21:06 +0000 (17:21 +0000)]
Make the --append docs a little better.
Wayne Davison [Wed, 3 Aug 2005 04:51:29 +0000 (04:51 +0000)]
Moved a variable in glob_expand_one().
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.
Wayne Davison [Wed, 3 Aug 2005 01:13:15 +0000 (01:13 +0000)]
Improved the --relative section a little more.
Wayne Davison [Mon, 1 Aug 2005 22:18:11 +0000 (22:18 +0000)]
Mention the latest changes.
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.
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.
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.
Wayne Davison [Sun, 31 Jul 2005 23:21:46 +0000 (23:21 +0000)]
Mention hard-link fix.
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.
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).
Wayne Davison [Sun, 31 Jul 2005 23:18:28 +0000 (23:18 +0000)]
Fixed the handling of hard-linked symlinks and devices.
Wayne Davison [Sun, 31 Jul 2005 23:15:38 +0000 (23:15 +0000)]
Export RUNSHFLAGS.
Wayne Davison [Sat, 30 Jul 2005 16:17:21 +0000 (16:17 +0000)]
Mention the --inplace new-file permissions fix.
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.
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.
Wayne Davison [Fri, 29 Jul 2005 19:52:50 +0000 (19:52 +0000)]
Improved the text around the last example in the USAGE section.
Wayne Davison [Fri, 29 Jul 2005 18:48:58 +0000 (18:48 +0000)]
Mention the latest changes.
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.
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.
Wayne Davison [Fri, 29 Jul 2005 18:31:07 +0000 (18:31 +0000)]
Use BIGPATHBUFLEN for the length of two line buffers.
Wayne Davison [Fri, 29 Jul 2005 18:31:05 +0000 (18:31 +0000)]
Use BIGPATHBUFLEN for the length of a line buffer.
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.
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).
Wayne Davison [Thu, 28 Jul 2005 19:49:47 +0000 (19:49 +0000)]
Changed the version to 2.6.7cvs.
Wayne Davison [Thu, 28 Jul 2005 19:49:24 +0000 (19:49 +0000)]
Updated to reflect new 2.6.7cvs status.
Wayne Davison [Thu, 28 Jul 2005 18:17:56 +0000 (18:17 +0000)]
Removed a duplicated item.
Wayne Davison [Thu, 28 Jul 2005 17:42:56 +0000 (17:42 +0000)]
Mention the recent changes.
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.
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".
Wayne Davison [Thu, 28 Jul 2005 17:15:42 +0000 (17:15 +0000)]
Document the new pre-/post-xfer exec config options.
Wayne Davison [Thu, 28 Jul 2005 16:58:04 +0000 (16:58 +0000)]
Regenerated.
Wayne Davison [Thu, 28 Jul 2005 09:40:08 +0000 (09:40 +0000)]
Removed one more client-oriented command-line syntax sentence.
Wayne Davison [Thu, 28 Jul 2005 09:36:12 +0000 (09:36 +0000)]
Removed erroneous section on using daemon features over a
remote-shell connection -- client-use is better described in the
rsync manpage, and the advanced restricted-ssh section needs a
better treatment (perhaps as a support script).
Wayne Davison [Thu, 28 Jul 2005 09:18:20 +0000 (09:18 +0000)]
Improved the sections dicussing the various types of transfer
connections and how a normal transfer differs from a daemon
transfer.
Wayne Davison [Thu, 28 Jul 2005 01:46:16 +0000 (01:46 +0000)]
Document new --append option.
Wayne Davison [Thu, 28 Jul 2005 01:46:12 +0000 (01:46 +0000)]
Support new --append option.
Wayne Davison [Thu, 28 Jul 2005 01:46:09 +0000 (01:46 +0000)]
Added the --append option.
Wayne Davison [Wed, 27 Jul 2005 23:30:58 +0000 (23:30 +0000)]
- Call set_modtime() with its new mode arg.
- Don't mask the mode bits being sent to do_chmod().
- Don't skip calling set_modtime() or do_chmod() when the item
is a symlink.
Wayne Davison [Wed, 27 Jul 2005 23:30:55 +0000 (23:30 +0000)]
- Fixed the mode comparison in itemize() to mask off the bits
outside of the CHMOD_BITS mask.
- Don't call do_chmod() unless HAVE_CHMOD is defined.
- Don't mask the mode bits being sent to do_chmod().
Wayne Davison [Wed, 27 Jul 2005 23:30:53 +0000 (23:30 +0000)]
- Don't call do_chmod() unless HAVE_CHMOD is defined.
- Made do_chmod() handle symlinks or return 1 if not possible.
- We now mask off the mode bits in do_chmod() sing CHMOD_BITS.
Wayne Davison [Wed, 27 Jul 2005 23:30:51 +0000 (23:30 +0000)]
- Changed set_modtime() to take the file's mode as an arg.
- Made set_modtime() handle symlinks or return 1 if not possible.
Wayne Davison [Wed, 27 Jul 2005 23:18:28 +0000 (23:18 +0000)]
Check for the lchmod() and lutimes() functions.
Wayne Davison [Fri, 22 Jul 2005 19:09:45 +0000 (19:09 +0000)]
Tweaked a comment and some null-char assignments.
Wayne Davison [Fri, 22 Jul 2005 19:05:25 +0000 (19:05 +0000)]
Changed implied_dirs to only be non-0 if relative_paths is non-0.
Wayne Davison [Fri, 22 Jul 2005 17:59:21 +0000 (17:59 +0000)]
Got rid of some unused externs.
Wayne Davison [Fri, 22 Jul 2005 15:54:43 +0000 (15:54 +0000)]
Updated to zlib 1.2.3.
Wayne Davison [Fri, 15 Jul 2005 19:10:03 +0000 (19:10 +0000)]
Avoid newest test when no destination was specified.
Wayne Davison [Fri, 15 Jul 2005 19:06:43 +0000 (19:06 +0000)]
Output a syntax error if both the source and destination are remote.
Wayne Davison [Thu, 7 Jul 2005 22:53:59 +0000 (22:53 +0000)]
Preparing for release of 2.6.6pre1
Wayne Davison [Thu, 7 Jul 2005 22:50:12 +0000 (22:50 +0000)]
Mentioned the zlib changes and tweaked a couple sentences.
Wayne Davison [Thu, 7 Jul 2005 21:33:40 +0000 (21:33 +0000)]
- Attempt to make the discussion of host-specifying args less confusing.
- Fixed the names of the uid and gid daemon options in a sentence.
Wayne Davison [Thu, 7 Jul 2005 21:29:57 +0000 (21:29 +0000)]
Changes for new zlib.
Wayne Davison [Thu, 7 Jul 2005 21:19:14 +0000 (21:19 +0000)]
Fixed a typo.
Wayne Davison [Thu, 7 Jul 2005 21:14:29 +0000 (21:14 +0000)]
Fix latest zlib security exploit (CAN-2005-2096).
Wayne Davison [Thu, 7 Jul 2005 20:48:02 +0000 (20:48 +0000)]
Upgraded to version 1.2.2.
Wayne Davison [Thu, 7 Jul 2005 20:37:31 +0000 (20:37 +0000)]
One more "#undef BAD" for AIX.
Wayne Davison [Thu, 7 Jul 2005 20:17:35 +0000 (20:17 +0000)]
Use a define to handle conflicting function read_buf instead of
renaming it in the code.
Wayne Davison [Thu, 7 Jul 2005 20:16:41 +0000 (20:16 +0000)]
Changed "Overflow" back to "overflow".
Wayne Davison [Thu, 7 Jul 2005 19:49:14 +0000 (19:49 +0000)]
Changed overflow() to overflow_exit().
Wayne Davison [Thu, 7 Jul 2005 19:31:23 +0000 (19:31 +0000)]
Changed zBAD back to BAD (with a simpler kluge for AIX).