rsync/rsync.git
18 years agoTweaked some whitespace to match the latest version from autoconf.
Wayne Davison [Mon, 24 Apr 2006 23:43:45 +0000 (23:43 +0000)]
Tweaked some whitespace to match the latest version from autoconf.

18 years agoIncremented the version to 2.6.9cvs.
Wayne Davison [Mon, 24 Apr 2006 22:24:40 +0000 (22:24 +0000)]
Incremented the version to 2.6.9cvs.

18 years agoRolled over the news file for the next version.
Wayne Davison [Mon, 24 Apr 2006 22:23:56 +0000 (22:23 +0000)]
Rolled over the news file for the next version.

18 years agoUpdated to the version dated 2006-02-23.
Wayne Davison [Mon, 24 Apr 2006 22:20:10 +0000 (22:20 +0000)]
Updated to the version dated 2006-02-23.

18 years agoPreparing for release of 2.6.8
Wayne Davison [Sat, 22 Apr 2006 15:39:57 +0000 (15:39 +0000)]
Preparing for release of 2.6.8

18 years agoMention the phase-unknown changes.
Wayne Davison [Fri, 21 Apr 2006 16:57:13 +0000 (16:57 +0000)]
Mention the phase-unknown changes.

18 years ago- Got rid of the (mostly useless) io_read_phase and io_write_phase
Wayne Davison [Fri, 21 Apr 2006 16:40:19 +0000 (16:40 +0000)]
- Got rid of the (mostly useless) io_read_phase and io_write_phase
  variables.  In the future it might be useful to get rsync to
  mention what kind of a message it was trying to write, but the
  'phase "unknown"' output was ubiquitous and confusing.
- Got rid of the completely unused write_int_named() function.

18 years agoGot rid of the setting of io_write_phase.
Wayne Davison [Fri, 21 Apr 2006 16:36:30 +0000 (16:36 +0000)]
Got rid of the setting of io_write_phase.

18 years agoMention the security fix for patches/xattrs.diff.
Wayne Davison [Fri, 21 Apr 2006 00:05:30 +0000 (00:05 +0000)]
Mention the security fix for patches/xattrs.diff.

18 years agoImproved the --owner and --group sections.
Wayne Davison [Tue, 18 Apr 2006 18:58:07 +0000 (18:58 +0000)]
Improved the --owner and --group sections.

18 years agoTwiddle the trailing output in non-live mode.
Wayne Davison [Tue, 18 Apr 2006 06:43:17 +0000 (06:43 +0000)]
Twiddle the trailing output in non-live mode.

18 years agoFixed a typo in the new code.
Wayne Davison [Tue, 18 Apr 2006 06:38:58 +0000 (06:38 +0000)]
Fixed a typo in the new code.

18 years ago- Fixed --copy-dest behavior on a system where CAN_HARDLINK_SYMLINK
Wayne Davison [Tue, 18 Apr 2006 05:48:46 +0000 (05:48 +0000)]
- Fixed --copy-dest behavior on a system where CAN_HARDLINK_SYMLINK
  and/or CAN_HARDLINK_SPECIAL is not defined.
- Changed --link-dest behavior on such systems to work just like
  --copy-dest for the non-hard-linkable files.

18 years agoA slight improvement to the logic in try_dests_non().
Wayne Davison [Tue, 18 Apr 2006 05:24:02 +0000 (05:24 +0000)]
A slight improvement to the logic in try_dests_non().

18 years agoMention the latest bugfix.
Wayne Davison [Mon, 17 Apr 2006 19:55:16 +0000 (19:55 +0000)]
Mention the latest bugfix.

18 years agoFixed a bug where special files were not getting hard-linked via
Wayne Davison [Mon, 17 Apr 2006 19:53:41 +0000 (19:53 +0000)]
Fixed a bug where special files were not getting hard-linked via
the --link-dest option.

18 years agoDon't use the -C option to make (since it's not portable).
Wayne Davison [Mon, 17 Apr 2006 18:15:02 +0000 (18:15 +0000)]
Don't use the -C option to make (since it's not portable).

18 years agoMention the latest fixes.
Wayne Davison [Mon, 17 Apr 2006 18:00:09 +0000 (18:00 +0000)]
Mention the latest fixes.

18 years agoUse the new CAN_HARDLINK_SYMLINK and CAN_HARDLINK_SPECIAL defines
Wayne Davison [Mon, 17 Apr 2006 17:56:10 +0000 (17:56 +0000)]
Use the new CAN_HARDLINK_SYMLINK and CAN_HARDLINK_SPECIAL defines
from configure instead of the old (and not quite correct) run-time
checking.

18 years agoAdded two new checks: 1. Does link() hard-link symlinks (not the
Wayne Davison [Mon, 17 Apr 2006 17:53:47 +0000 (17:53 +0000)]
Added two new checks:  1. Does link() hard-link symlinks (not the
referent)?  2. Does link() hard-link a fifo?

18 years agoDon't use -C with make because it's not portable.
Wayne Davison [Mon, 17 Apr 2006 17:37:13 +0000 (17:37 +0000)]
Don't use -C with make because it's not portable.

18 years agoGot rid of the unused REPLACE_INET_NTOA and REPLACE_INET_ATON checks.
Wayne Davison [Thu, 13 Apr 2006 16:54:24 +0000 (16:54 +0000)]
Got rid of the unused REPLACE_INET_NTOA and REPLACE_INET_ATON checks.

18 years agoGot rid of inet_ntoa -> rep_inet_ntoa tom-foolery because rsync
Wayne Davison [Thu, 13 Apr 2006 16:53:15 +0000 (16:53 +0000)]
Got rid of inet_ntoa -> rep_inet_ntoa tom-foolery because rsync
doesn't use inet_ntoa() anymore.

18 years agoGot rid of the replacement inet_aton() and inet_ntoa() functions
Wayne Davison [Thu, 13 Apr 2006 16:52:15 +0000 (16:52 +0000)]
Got rid of the replacement inet_aton() and inet_ntoa() functions
because no code in rsync has used these functions since 2.4.8.

18 years agoImproved a sentence.
Wayne Davison [Wed, 12 Apr 2006 16:59:32 +0000 (16:59 +0000)]
Improved a sentence.

18 years agoA few minor changes to some messages and a couple variable improvements.
Wayne Davison [Wed, 12 Apr 2006 16:35:53 +0000 (16:35 +0000)]
A few minor changes to some messages and a couple variable improvements.

18 years agoPreparing for release of 2.6.8pre1
Wayne Davison [Wed, 12 Apr 2006 16:23:46 +0000 (16:23 +0000)]
Preparing for release of 2.6.8pre1

18 years agoMoved the include of netinet/ip.h into socket.c.
Wayne Davison [Tue, 11 Apr 2006 00:48:55 +0000 (00:48 +0000)]
Moved the include of netinet/ip.h into socket.c.

18 years agoMoved the include of netinet/ip.h here along with its apparent
Wayne Davison [Tue, 11 Apr 2006 00:48:28 +0000 (00:48 +0000)]
Moved the include of netinet/ip.h here along with its apparent
prerequisite, netinet/in_systm.h .

18 years agoTweaked a comment.
Wayne Davison [Tue, 11 Apr 2006 00:28:02 +0000 (00:28 +0000)]
Tweaked a comment.

18 years agoInclude netinet/ip.h .
Wayne Davison [Sun, 9 Apr 2006 13:51:56 +0000 (13:51 +0000)]
Include netinet/ip.h .

18 years agoMention the read-position fix.
Wayne Davison [Sat, 8 Apr 2006 16:43:21 +0000 (16:43 +0000)]
Mention the read-position fix.

18 years agoFixed the value of map->p_fd_offset when a read() fails or is
Wayne Davison [Sat, 8 Apr 2006 16:37:50 +0000 (16:37 +0000)]
Fixed the value of map->p_fd_offset when a read() fails or is
abbreviated.

18 years agoUse --delete-after instead of --delete.
Wayne Davison [Sat, 8 Apr 2006 16:36:57 +0000 (16:36 +0000)]
Use --delete-after instead of --delete.

18 years agoWe don't need log_initialised exported after all.
Wayne Davison [Sat, 8 Apr 2006 16:04:34 +0000 (16:04 +0000)]
We don't need log_initialised exported after all.

18 years agoMoved the calls to client_addr() and client_name() below the lp_load()
Wayne Davison [Sat, 8 Apr 2006 16:03:16 +0000 (16:03 +0000)]
Moved the calls to client_addr() and client_name() below the lp_load()
call so that their potential to output log messages can't cause the
log-file to initialize before we know what "log name" to use.

18 years agoClarified a few items.
Wayne Davison [Thu, 6 Apr 2006 07:54:03 +0000 (07:54 +0000)]
Clarified a few items.

18 years agoA slightly better fix than the last version.
Wayne Davison [Thu, 6 Apr 2006 07:38:54 +0000 (07:38 +0000)]
A slightly better fix than the last version.

18 years agoMade log_initialised public.
Wayne Davison [Thu, 6 Apr 2006 07:33:12 +0000 (07:33 +0000)]
Made log_initialised public.

18 years agoThere's no need for lp_load() to check am_daemon.
Wayne Davison [Thu, 6 Apr 2006 07:28:22 +0000 (07:28 +0000)]
There's no need for lp_load() to check am_daemon.

18 years agoImproved the bind()-failure message to mention what family failed.
Wayne Davison [Sun, 2 Apr 2006 21:15:37 +0000 (21:15 +0000)]
Improved the bind()-failure message to mention what family failed.

18 years agoGot rid of duplicate rsync: prefix from an rsyserr() call.
Wayne Davison [Sun, 2 Apr 2006 15:02:02 +0000 (15:02 +0000)]
Got rid of duplicate rsync: prefix from an rsyserr() call.

18 years agoImproved a couple sentences.
Wayne Davison [Sun, 2 Apr 2006 14:23:22 +0000 (14:23 +0000)]
Improved a couple sentences.

18 years ago- Mention the logging fix for a single-use daemon.
Wayne Davison [Fri, 31 Mar 2006 17:56:19 +0000 (17:56 +0000)]
- Mention the logging fix for a single-use daemon.
- Mention the fatal error for when --daemon can't be honored.

18 years agoLog the connect message after calling log_init().
Wayne Davison [Fri, 31 Mar 2006 17:37:21 +0000 (17:37 +0000)]
Log the connect message after calling log_init().

18 years ago- Complain if the user specified --delete without -r or -d.
Wayne Davison [Tue, 28 Mar 2006 23:09:36 +0000 (23:09 +0000)]
- Complain if the user specified --delete without -r or -d.
- Got rid of the saw_delete_* vars.

18 years agoUse the regular delete* vars instead of the saw_delete* vars
Wayne Davison [Tue, 28 Mar 2006 23:09:07 +0000 (23:09 +0000)]
Use the regular delete* vars instead of the saw_delete* vars
(which are no longer around).

18 years agoInclude the version number when we exit with an error or warning.
Wayne Davison [Tue, 28 Mar 2006 18:23:24 +0000 (18:23 +0000)]
Include the version number when we exit with an error or warning.

18 years ago- Mention two omitted --files-from bug-fixes.
Wayne Davison [Tue, 28 Mar 2006 16:49:23 +0000 (16:49 +0000)]
- Mention two omitted --files-from bug-fixes.
- Added a place-holder release line for 2.6.8.

18 years agoOutput the who_am_i() info in the "unknown message" error.
Wayne Davison [Tue, 28 Mar 2006 06:12:18 +0000 (06:12 +0000)]
Output the who_am_i() info in the "unknown message" error.

18 years agoMention latest tweaks.
Wayne Davison [Wed, 22 Mar 2006 18:26:44 +0000 (18:26 +0000)]
Mention latest tweaks.

18 years agoIf open_socket_in() fails, we now log the reasons why.
Wayne Davison [Wed, 22 Mar 2006 17:48:59 +0000 (17:48 +0000)]
If open_socket_in() fails, we now log the reasons why.

18 years agoMention the new support/file-attr-restore script.
Wayne Davison [Tue, 21 Mar 2006 18:11:43 +0000 (18:11 +0000)]
Mention the new support/file-attr-restore script.

18 years agoA nice file-attribute maintenance script that lets you restore
Wayne Davison [Tue, 21 Mar 2006 18:06:26 +0000 (18:06 +0000)]
A nice file-attribute maintenance script that lets you restore
permissions, ownership, and group-info on files that may be
different than the originals.

18 years agoFixed a few things that looked like yodl macros but were not.
Wayne Davison [Tue, 21 Mar 2006 03:45:03 +0000 (03:45 +0000)]
Fixed a few things that looked like yodl macros but were not.

18 years agoImproved a few things that a more modern yodl complained about.
Wayne Davison [Tue, 21 Mar 2006 03:41:00 +0000 (03:41 +0000)]
Improved a few things that a more modern yodl complained about.

18 years agoChanged where ITEM_REPORT_ATIME goes in the list.
Wayne Davison [Fri, 17 Mar 2006 23:57:19 +0000 (23:57 +0000)]
Changed where ITEM_REPORT_ATIME goes in the list.

18 years agoGo ahead and define upcoming ITEM_REPORT_* defines now.
Wayne Davison [Fri, 17 Mar 2006 21:59:25 +0000 (21:59 +0000)]
Go ahead and define upcoming ITEM_REPORT_* defines now.

18 years agoAdded support for using solaris's "setfacl -s" in place of
Wayne Davison [Thu, 16 Mar 2006 21:37:18 +0000 (21:37 +0000)]
Added support for using solaris's "setfacl -s" in place of
GNU's "setfacl -k".

18 years agoMake sure that the --relative test creates the implied directories
Wayne Davison [Thu, 16 Mar 2006 20:02:36 +0000 (20:02 +0000)]
Make sure that the --relative test creates the implied directories
with user-write permission, and turns any symlinks in the implied
dirs into real dirs.

18 years agoAn extra safeguard for msg2sndr_flush().
Wayne Davison [Thu, 16 Mar 2006 10:08:08 +0000 (10:08 +0000)]
An extra safeguard for msg2sndr_flush().

18 years agoMade the new msg2sndr handling even better.
Wayne Davison [Thu, 16 Mar 2006 09:57:32 +0000 (09:57 +0000)]
Made the new msg2sndr handling even better.

18 years agoMention fix for stunnel-using rsync.
Wayne Davison [Thu, 16 Mar 2006 03:18:16 +0000 (03:18 +0000)]
Mention fix for stunnel-using rsync.

18 years agoOptimized the reacquisition of the code value from the msg2sndr list.
Wayne Davison [Thu, 16 Mar 2006 02:26:27 +0000 (02:26 +0000)]
Optimized the reacquisition of the code value from the msg2sndr list.

18 years agoFixed the reacquisition of the code value from the msg2sndr list.
Wayne Davison [Thu, 16 Mar 2006 01:27:26 +0000 (01:27 +0000)]
Fixed the reacquisition of the code value from the msg2sndr list.

18 years ago- Optimized the msg_list_item structure to make the buffer an
Wayne Davison [Thu, 16 Mar 2006 00:57:54 +0000 (00:57 +0000)]
- Optimized the msg_list_item structure to make the buffer an
  integral part of the structure instead of pointer to a
  separately allocated buffer.
- Improved the code that was ensuring that no messages from the
  receiver could be merged into the middle of a partially written
  buffer from the generator.  The new code ensures that we never
  avoid reading the messages from the receiver (like we used to).
  This ensures that the generator will not hang when the receiver
  got a read error on the socket, sent us a message about it, but
  the socket in the generator never becomes writable for it to get
  a similar error (now we are assured of getting the receiver's
  note about their read error, and we know to shut things down).

18 years agoMention the log-file.diff.
Wayne Davison [Wed, 15 Mar 2006 18:47:31 +0000 (18:47 +0000)]
Mention the log-file.diff.

18 years agoGot rid of an errant newline.
Wayne Davison [Wed, 15 Mar 2006 16:54:13 +0000 (16:54 +0000)]
Got rid of an errant newline.

18 years agoImproved the regex to match syslog lines and be easier to read.
Wayne Davison [Mon, 13 Mar 2006 16:45:24 +0000 (16:45 +0000)]
Improved the regex to match syslog lines and be easier to read.

18 years agoChanging the version to 2.6.8cvs.
Wayne Davison [Mon, 13 Mar 2006 16:44:47 +0000 (16:44 +0000)]
Changing the version to 2.6.8cvs.

18 years agoStarting the news for 2.6.8.
Wayne Davison [Mon, 13 Mar 2006 16:42:50 +0000 (16:42 +0000)]
Starting the news for 2.6.8.

18 years agoRolling over the NEWS from 2.6.7.
Wayne Davison [Mon, 13 Mar 2006 16:42:33 +0000 (16:42 +0000)]
Rolling over the NEWS from 2.6.7.

18 years agoFixed a bug where the NEWS file got an extra newline inserted when
Wayne Davison [Mon, 13 Mar 2006 16:42:08 +0000 (16:42 +0000)]
Fixed a bug where the NEWS file got an extra newline inserted when
the release date was added.  Changed "ln -f" to "cp -p" because
samba.org doesn't allow ln to be used at the moment.

18 years agoAdded a test of a simple exclude when --relative is enabled.
Wayne Davison [Mon, 13 Mar 2006 01:57:13 +0000 (01:57 +0000)]
Added a test of a simple exclude when --relative is enabled.

18 years agoFixed a problem when copying an absolute source path with
Wayne Davison [Mon, 13 Mar 2006 01:56:19 +0000 (01:56 +0000)]
Fixed a problem when copying an absolute source path with
the --relative option enabled.

18 years agoBlock-quote the itemized list in the --stats section so that
Wayne Davison [Mon, 13 Mar 2006 00:45:07 +0000 (00:45 +0000)]
Block-quote the itemized list in the --stats section so that
it is indented in the manpage.

18 years agoPreparing for release of 2.6.7
Wayne Davison [Sat, 11 Mar 2006 18:43:42 +0000 (18:43 +0000)]
Preparing for release of 2.6.7

18 years agoMention solo-dir fix for a dir without S_IWUSR.
Wayne Davison [Sat, 11 Mar 2006 17:59:37 +0000 (17:59 +0000)]
Mention solo-dir fix for a dir without S_IWUSR.

18 years agoDon't force S_IWUSR on a solo directory transfer.
Wayne Davison [Fri, 10 Mar 2006 15:57:03 +0000 (15:57 +0000)]
Don't force S_IWUSR on a solo directory transfer.

18 years agoMake extra sure that authbuf can't overflow.
Wayne Davison [Tue, 7 Mar 2006 08:46:29 +0000 (08:46 +0000)]
Make extra sure that authbuf can't overflow.

18 years agoMention fix for Proxy-Authorization header.
Wayne Davison [Mon, 6 Mar 2006 18:28:06 +0000 (18:28 +0000)]
Mention fix for Proxy-Authorization header.

18 years agoCall base4_encode() with "1" for its new "pad" arg so that the
Wayne Davison [Mon, 6 Mar 2006 18:22:26 +0000 (18:22 +0000)]
Call base4_encode() with "1" for its new "pad" arg so that the
Proxy-Authorization header is properly padded with trailing '='
chars.

18 years agoThe base4_encode() function now takes a "pad" arg which indicates
Wayne Davison [Mon, 6 Mar 2006 18:22:20 +0000 (18:22 +0000)]
The base4_encode() function now takes a "pad" arg which indicates
if the caller wants to pad the value with trailing '=' chars.

18 years agoTweaked the mode of the files in the tar file.
Wayne Davison [Sat, 4 Mar 2006 08:21:58 +0000 (08:21 +0000)]
Tweaked the mode of the files in the tar file.

18 years agoSince the samba.org rsync is so old that it doesn't handle
Wayne Davison [Thu, 2 Mar 2006 23:42:56 +0000 (23:42 +0000)]
Since the samba.org rsync is so old that it doesn't handle
out-of-order hard-linked files, changed the script to do the
hard-linking manually.

18 years agoPreparing for release of 2.6.7pre3
Wayne Davison [Thu, 2 Mar 2006 22:49:27 +0000 (22:49 +0000)]
Preparing for release of 2.6.7pre3

18 years agoMention the get_local_name() change.
Wayne Davison [Thu, 2 Mar 2006 03:56:14 +0000 (03:56 +0000)]
Mention the get_local_name() change.

18 years agoDon't allow overwriting a non-directory with a directory (just
Wayne Davison [Thu, 2 Mar 2006 03:53:42 +0000 (03:53 +0000)]
Don't allow overwriting a non-directory with a directory (just
like cp).

18 years agoIf get_local_name() fails to stat() the destination for any
Wayne Davison [Thu, 2 Mar 2006 03:40:09 +0000 (03:40 +0000)]
If get_local_name() fails to stat() the destination for any
reason other than the destination does not exist, mention the
error and exit.

18 years agoA couple more improvements for --list-only.
Wayne Davison [Wed, 1 Mar 2006 01:04:57 +0000 (01:04 +0000)]
A couple more improvements for --list-only.

18 years agoImproved a couple sentences.
Wayne Davison [Wed, 1 Mar 2006 00:59:22 +0000 (00:59 +0000)]
Improved a couple sentences.

18 years agoOne more bugfix.
Wayne Davison [Tue, 28 Feb 2006 21:48:45 +0000 (21:48 +0000)]
One more bugfix.

18 years agoGot the order of s1 and s2 right in the debug output.
Wayne Davison [Tue, 28 Feb 2006 21:48:15 +0000 (21:48 +0000)]
Got the order of s1 and s2 right in the debug output.

18 years agoUpdate for hash-table change.
Wayne Davison [Tue, 28 Feb 2006 21:21:44 +0000 (21:21 +0000)]
Update for hash-table change.

18 years agoDecided to drop the dynamically sized hash table for now. This was
Wayne Davison [Tue, 28 Feb 2006 21:20:08 +0000 (21:20 +0000)]
Decided to drop the dynamically sized hash table for now.  This was
due to timing tests showing that the per-byte modulus calculation
slowed down regular sized files.  Kept the other improvements
because they lessened our memory use and actually sped up the code.

18 years agoRenamed sum_table -> hash_table.
Wayne Davison [Tue, 28 Feb 2006 07:32:48 +0000 (07:32 +0000)]
Renamed sum_table -> hash_table.

18 years agoChanged the name of GETTAG() to SUM2HASH().
Wayne Davison [Tue, 28 Feb 2006 01:00:03 +0000 (01:00 +0000)]
Changed the name of GETTAG() to SUM2HASH().

18 years agoEliminated one variable from hash_search().
Wayne Davison [Tue, 28 Feb 2006 00:31:51 +0000 (00:31 +0000)]
Eliminated one variable from hash_search().

18 years ago- Fixed a problem with the new gettag2() macro by getting rid of the
Wayne Davison [Tue, 28 Feb 2006 00:09:19 +0000 (00:09 +0000)]
- Fixed a problem with the new gettag2() macro by getting rid of the
  need for it.
- Fixed a really old bug in the verbose output where it would output
  the wrong sum value (off by one).
- Renamed the tag_hit variables & debug output to hash_hit.

18 years agoAdded --no-H and --no-hard-links.
Wayne Davison [Mon, 27 Feb 2006 23:35:18 +0000 (23:35 +0000)]
Added --no-H and --no-hard-links.