J.W. Schultz [Wed, 26 Mar 2003 20:26:06 +0000 (20:26 +0000)]
Make link-dest aware of --perms, --owner and --group.
---- Chris Darroch
J.W. Schultz [Wed, 26 Mar 2003 11:04:14 +0000 (11:04 +0000)]
Prevent tempfile names from overflowing.
Debian BUG# 183667
J.W. Schultz [Tue, 25 Mar 2003 07:13:40 +0000 (07:13 +0000)]
Warn if 64bit value sent or received on system that doesn't
support 64bit integers.
J.W. Schultz [Tue, 25 Mar 2003 05:46:52 +0000 (05:46 +0000)]
Seperate the uint64_t macros from int64_t
J.W. Schultz [Tue, 25 Mar 2003 04:18:10 +0000 (04:18 +0000)]
Frustration mounting. I'll get it right eventually.
Thank goodness for the build farm.
J.W. Schultz [Tue, 25 Mar 2003 04:09:43 +0000 (04:09 +0000)]
earlier problem was a typo.
J.W. Schultz [Tue, 25 Mar 2003 03:14:27 +0000 (03:14 +0000)]
Another stab at uint64 because some platforms seem to have
problem with the unsigned off64_t
J.W. Schultz [Tue, 25 Mar 2003 02:28:54 +0000 (02:28 +0000)]
removed log_transfer() It was no more than a conditional
rprintf() with an unused param.
J.W. Schultz [Tue, 25 Mar 2003 02:02:22 +0000 (02:02 +0000)]
Create uint64 for INO64_T and DEV64_T eliminating type mismatches.
J.W. Schultz [Mon, 24 Mar 2003 22:42:46 +0000 (22:42 +0000)]
Increased maximum protocol version.
Added warning for deprecated protocol versions.
J.W. Schultz [Mon, 24 Mar 2003 22:32:47 +0000 (22:32 +0000)]
Minor correction to protocol annotation.
J.W. Schultz [Mon, 24 Mar 2003 22:13:16 +0000 (22:13 +0000)]
Annotated each release with protocol version and
added protocol version history from rsync.h log.
Wayne Davison [Fri, 21 Mar 2003 23:43:50 +0000 (23:43 +0000)]
The close_all() function was missing its "void" prototype.
Wayne Davison [Fri, 21 Mar 2003 22:53:46 +0000 (22:53 +0000)]
Get rid of eol whitespace.
Wayne Davison [Fri, 21 Mar 2003 22:10:44 +0000 (22:10 +0000)]
Optimized the implied-directory code to avoid putting so many duplicate
dirs into the file list.
Wayne Davison [Fri, 21 Mar 2003 19:17:23 +0000 (19:17 +0000)]
- Use popt to better effect for the two options that can be both
set and unset by the user.
- Even more whitespace cleanup.
Wayne Davison [Fri, 21 Mar 2003 18:58:50 +0000 (18:58 +0000)]
- Simplified the whole-file option handling.
- Fixed some whitespace issues.
Wayne Davison [Fri, 21 Mar 2003 18:53:00 +0000 (18:53 +0000)]
- Simplified the whole-file option handling.
- Cleaned up some whitespace issues.
Wayne Davison [Fri, 21 Mar 2003 18:33:48 +0000 (18:33 +0000)]
- Fixed lots of line-indentation problems, including a really huge section
of non-batch-mode code that was indented at the same level as its
surrounding "if" statement.
- Moved the heavily-used am_* flags into global extern vars instead of
externing them again and again in individual functions.
- Got rid of line-ending whitespace.
J.W. Schultz [Fri, 21 Mar 2003 07:42:19 +0000 (07:42 +0000)]
Cleanup: Added header files to dependancies.
J.W. Schultz [Fri, 21 Mar 2003 07:27:31 +0000 (07:27 +0000)]
Typo corrections.
Thanks to Paul Slootman <paul@debian.org>
J.W. Schultz [Fri, 21 Mar 2003 04:39:11 +0000 (04:39 +0000)]
Removing --csum-length option documentation since there is
no such option.
Paul Green [Wed, 19 Feb 2003 16:22:50 +0000 (16:22 +0000)]
Apply patch from Steve Bonds to repair this test.
Paul Green [Tue, 18 Feb 2003 18:07:36 +0000 (18:07 +0000)]
Patch from Roderick Schertler (roderick at argon.org) to ignore
non-POSIX directory mode bits that are used by AIX.
Paul Green [Tue, 18 Feb 2003 16:50:25 +0000 (16:50 +0000)]
Remove RedHat-specific .spec files in favor of the .spec files
maintained under packaging/lsb.
Wayne Davison [Wed, 12 Feb 2003 09:15:23 +0000 (09:15 +0000)]
The sender no longer removes the duplicate names from the file list -- we
let the receiver do that, since they are the one that requests names and
we want to be sure the sender has any name the receiver may ask for.
David Dykstra [Tue, 11 Feb 2003 19:13:51 +0000 (19:13 +0000)]
Back out one of the changes in log.c revision 1.62, and always send errors
to the client after multiplexing is enabled.
Paul Green [Mon, 10 Feb 2003 14:51:09 +0000 (14:51 +0000)]
Patch from jw schultz to reword "link" to "connection" in a couple of
spots.
Paul Green [Wed, 5 Feb 2003 18:41:53 +0000 (18:41 +0000)]
Update packaging spec files per patch submitted by Horst von Brand.
In the future, we need to be sure to keep *.spec and *.spec.tmpl
identical...the release macro produces *.spec from *.spec.tmpl.
Paul Green [Wed, 29 Jan 2003 21:04:28 +0000 (21:04 +0000)]
Restored changes accidentally backed out by Dave Dykstra in previous revision.
Paul Green [Wed, 29 Jan 2003 20:52:59 +0000 (20:52 +0000)]
Apply fix from Horst von Brand. See comments in spec.
David Dykstra [Tue, 28 Jan 2003 05:28:42 +0000 (05:28 +0000)]
preparing for release of 2.5.6
David Dykstra [Tue, 28 Jan 2003 05:13:16 +0000 (05:13 +0000)]
Add header for 2.5.6 release.
David Dykstra [Tue, 28 Jan 2003 05:05:53 +0000 (05:05 +0000)]
Remove the Cygwin msleep(100) before the generator kills the receiver,
because it caused the testsuite/unsafe-links test to hang.
David Dykstra [Tue, 28 Jan 2003 03:11:57 +0000 (03:11 +0000)]
Change the default of --modify-window back to 0 on Cygwin.
David Dykstra [Tue, 28 Jan 2003 03:03:55 +0000 (03:03 +0000)]
Ack! I had accidentally ifdefed out the kill from the generator to the
receiver process for every platform except Cygwin.
David Dykstra [Tue, 28 Jan 2003 02:51:03 +0000 (02:51 +0000)]
Change so the delay before generator signals receiver is only done on Cygwin.
Paul Green [Mon, 27 Jan 2003 16:33:47 +0000 (16:33 +0000)]
Added a TODO item about temporary file names bumping up against the
maximum name length. (I have an unfinished patch that will address
this).
David Dykstra [Mon, 27 Jan 2003 04:41:30 +0000 (04:41 +0000)]
Move the sleep to workaround the default modify-window of 1 on Cygwin to
the beginning of "checkit" rather than the end of "hands_setup" because
sometimes files are modified just before checkit is called and the copy
finishes within one second so they're considered to be the same time.
I don't think this would be a problem in real life, so just change the
test.
David Dykstra [Mon, 27 Jan 2003 03:52:42 +0000 (03:52 +0000)]
Insert a 100ms sleep just before sending the USR2 signal to the
child receiver process to prevent some hangs on Cygwin. Anthony
Heading discovered the workaround first and suggested 30ms, and
Greger Cronquist had better luck with 100ms.
David Dykstra [Mon, 27 Jan 2003 03:36:54 +0000 (03:36 +0000)]
Remove the "Connection reset by peer" from TODO
David Dykstra [Mon, 27 Jan 2003 03:35:08 +0000 (03:35 +0000)]
Prevent the "Connection reset by peer" messages often seen from Cygwin.
Result of a lot of discussion over the last year and a half. Based on
a patch from Randy O'Meara, cleaned up a bit by Max Bowsher.
David Dykstra [Mon, 27 Jan 2003 03:13:46 +0000 (03:13 +0000)]
Update date on man page.
David Dykstra [Mon, 27 Jan 2003 03:07:18 +0000 (03:07 +0000)]
Update rsyncd.conf documentation to be right for rsync server mode over a
remote shell.
David Dykstra [Mon, 27 Jan 2003 02:48:14 +0000 (02:48 +0000)]
Change erroneous references to a --config-file option to the correct --config
option.
David Dykstra [Sun, 26 Jan 2003 20:49:24 +0000 (20:49 +0000)]
Change news item about handling of text mode in files to just permitting
any of the standard line termination styles.
Wayne Davison [Sun, 26 Jan 2003 20:11:16 +0000 (20:11 +0000)]
Got rid of recent O_TEXT* and O_BINARY* changes.
Wayne Davison [Sun, 26 Jan 2003 20:10:23 +0000 (20:10 +0000)]
Got rid of O_TEXT_STR and added code to strip '\r' from the end of the
lines we read.
Wayne Davison [Sun, 26 Jan 2003 20:09:02 +0000 (20:09 +0000)]
Added back the O_BINARY #ifdef.
Wayne Davison [Sun, 26 Jan 2003 20:07:55 +0000 (20:07 +0000)]
Got rid of O_TEXT_STR change.
Wayne Davison [Sun, 26 Jan 2003 19:37:54 +0000 (19:37 +0000)]
File I/O already handles '\r', so we can remove the O_TEXT flags.
David Dykstra [Sun, 26 Jan 2003 04:04:47 +0000 (04:04 +0000)]
Remove a couple items I know are no longer needed.
David Dykstra [Sun, 26 Jan 2003 03:53:34 +0000 (03:53 +0000)]
Better fix for infinite recursion; don't return from exit_cleanup
unless the nesting is already pretty deep, because there are normal
cases where exit_cleanup is nested shallowly. Patch from Marc Espie,
posted by Brian Poole.
David Dykstra [Sun, 26 Jan 2003 03:46:54 +0000 (03:46 +0000)]
Open config files in text mode when O_TEXT is defined. This helps on
Cygwin when the config files are on a filesystem that is mounted in
binary mode. Patch from Ville Herva.
David Dykstra [Sun, 26 Jan 2003 03:34:19 +0000 (03:34 +0000)]
Tests that use hands_setup to make a test file directory and right
afterward make a copy were failing on cygwin because the default
--modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of
hands_setup so that hopefully the tests will succeed because the copy
will be made more than 1 second away from the original.
Wayne Davison [Sat, 25 Jan 2003 03:46:57 +0000 (03:46 +0000)]
Don't try to run daemon tests as "nobody".
Wayne Davison [Sat, 25 Jan 2003 03:45:40 +0000 (03:45 +0000)]
Getting rid of recent "chown" since we decided to forego trying to run
the daemon tests as "nobody".
David Dykstra [Fri, 24 Jan 2003 22:07:22 +0000 (22:07 +0000)]
Change default of --modify-window on Cygwin from 2 to 1 because that's all
that's needed on FAT filesystems. NTFS filesystems can do with a window of
0, but it shouldn't hurt because it's highly unlikely that any given file
will be modified within one second of the time that rsync last copied it.
Paul Green [Thu, 23 Jan 2003 17:18:20 +0000 (17:18 +0000)]
Restore trailing newline character at the end of the file.
Paul Green [Wed, 22 Jan 2003 22:59:35 +0000 (22:59 +0000)]
Mentioned the fact that config.sub and config.guess got updated.
Paul Green [Wed, 22 Jan 2003 22:24:53 +0000 (22:24 +0000)]
Updated config.sub and config.guess to latest revision.
Wayne Davison [Tue, 21 Jan 2003 20:25:44 +0000 (20:25 +0000)]
Mention test-case fixes.
Wayne Davison [Tue, 21 Jan 2003 20:19:53 +0000 (20:19 +0000)]
Moved the chown from the download test to the upload test.
Wayne Davison [Tue, 21 Jan 2003 20:19:53 +0000 (20:19 +0000)]
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
can, and don't fail if we can't).
Wayne Davison [Tue, 21 Jan 2003 19:30:51 +0000 (19:30 +0000)]
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
can, and don't fail if we can't).
Wayne Davison [Tue, 21 Jan 2003 19:28:29 +0000 (19:28 +0000)]
Put the UID and GID that rsyncd will run as into variables.
Wayne Davison [Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)]
Separated a `cat "..."` command out from inside a double-quoted string
so that we don't run afoul of some shells quoting quirks. (As Brian
Poole suggested.)
David Dykstra [Tue, 21 Jan 2003 14:22:49 +0000 (14:22 +0000)]
Change the name on the --modify-window default for Cygwin to Lapo Luchini.
David Dykstra [Tue, 21 Jan 2003 04:23:43 +0000 (04:23 +0000)]
Change version to working version 2.5.6pre3cvs
David Dykstra [Tue, 21 Jan 2003 04:00:56 +0000 (04:00 +0000)]
Change version to 2.5.6pre2
Wayne Davison [Tue, 21 Jan 2003 01:35:23 +0000 (01:35 +0000)]
Declare preserve_perms for latest syscall.o.
David Dykstra [Tue, 21 Jan 2003 00:58:50 +0000 (00:58 +0000)]
Ignore errors from chmod when --preserve-perms/-p/-a are not set.
Gnu cp behaves the same way.
Wayne Davison [Mon, 20 Jan 2003 23:49:22 +0000 (23:49 +0000)]
Added a couple missing NEWS items.
David Dykstra [Mon, 20 Jan 2003 23:32:17 +0000 (23:32 +0000)]
Re-activate the piece of code that creates intervening directories
when --relative-paths is used. The code was accidentally skipped starting
in CVS version 1.32 of receiver.c. Noticed by Craig Barratt.
David Dykstra [Mon, 20 Jan 2003 23:10:22 +0000 (23:10 +0000)]
Update description of hosts allow for IPv6. From Bert Vermeulen.
David Dykstra [Mon, 20 Jan 2003 23:09:24 +0000 (23:09 +0000)]
Make the default for --modify-window be 2 on cygwin.
Wayne Davison [Mon, 20 Jan 2003 18:26:14 +0000 (18:26 +0000)]
Backed out Paul Green's IRIX patch since it didn't seem to be a part of
the Makefile fix and I like the old EXE syntax better.
David Dykstra [Mon, 20 Jan 2003 17:25:26 +0000 (17:25 +0000)]
Save the value of the test for getaddrinfo defines in the config cache.
David Dykstra [Mon, 20 Jan 2003 16:59:18 +0000 (16:59 +0000)]
Also need to include lib/getnameinfo when the getaddrinfo defines don't exist.
David Dykstra [Mon, 20 Jan 2003 16:27:34 +0000 (16:27 +0000)]
Oops, lib/getaddrinfo wasn't pulled in when the system doesn't define
AI_PASSIVE.
David Dykstra [Mon, 20 Jan 2003 15:04:16 +0000 (15:04 +0000)]
Only look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined
by system headers. This fixes compile errors on Irix 6.5.
David Dykstra [Mon, 20 Jan 2003 13:46:28 +0000 (13:46 +0000)]
Fix bug that causes messages like
rsync: stack overflow in function match_address
on openbsd. Patch from Brian Poole <raj@cerias.purdue.edu>.
David Dykstra [Mon, 20 Jan 2003 12:42:42 +0000 (12:42 +0000)]
Add unsafe-byname tests with symlink destinations ending in '..'.
Wayne Davison [Sun, 19 Jan 2003 21:37:11 +0000 (21:37 +0000)]
Optimized unsafe_symlink() to avoid malloc/free calls.
Wayne Davison [Sun, 19 Jan 2003 05:53:07 +0000 (05:53 +0000)]
Added "extern" to io_{read,write}_phase line (they were being
multiply defined).
Wayne Davison [Sat, 18 Jan 2003 19:11:55 +0000 (19:11 +0000)]
Got rid of trailing whitespace and tweaked a few things that might
possibly be affecting the IRIX build (but probably not).
Wayne Davison [Sat, 18 Jan 2003 19:00:07 +0000 (19:00 +0000)]
Define DBL_EPSILON if it doesn't exist.
Wayne Davison [Sat, 18 Jan 2003 18:52:50 +0000 (18:52 +0000)]
Trying out Paul Green's IRIX patch to see if it fixes the syntax
error in the Makefile.
Wayne Davison [Sat, 18 Jan 2003 18:00:23 +0000 (18:00 +0000)]
Fixed the bug in clean_flist() where it did not get rid of all duplicate
names if there were more than 2 identical names in a row.
David Dykstra [Thu, 16 Jan 2003 21:02:43 +0000 (21:02 +0000)]
Change rsync help for -a to show that it is equivalent to -rlptgoD.
I've had to go to the man page many times for that information and I
finally got sick of it.
David Dykstra [Thu, 16 Jan 2003 20:09:31 +0000 (20:09 +0000)]
Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov.
Wayne Davison [Wed, 15 Jan 2003 17:49:44 +0000 (17:49 +0000)]
Make unsafe_symlink() take const args so that we don't get any
compiler warnings when calling it with a const char *.
David Dykstra [Wed, 15 Jan 2003 16:41:51 +0000 (16:41 +0000)]
Add news item about fix of --copy-unsafe-links
David Dykstra [Wed, 15 Jan 2003 16:14:07 +0000 (16:14 +0000)]
Fix bug in --copy-unsafe that made it totally broken, and re-enable
the tests that tested it. As far as I can tell, it was always broken
since the day I put it in years ago. In my investigation into this I
was unable to figure out what in the world I was thinking back then,
to introduce a global variable with the wrong information in it rather
than using a parameter that was already available in readlink_stat
function. That still bothers me a bit but I decided to stop worrying
about it.
David Dykstra [Tue, 14 Jan 2003 21:37:08 +0000 (21:37 +0000)]
Don't use the return value from sprintf because it doesn't work on Sunos4.
David Dykstra [Mon, 13 Jan 2003 17:21:12 +0000 (17:21 +0000)]
Now that the 2.5.6pre1 snapshot has been made, change the version to
2.5.6pre2cvs.
David Dykstra [Mon, 13 Jan 2003 16:40:15 +0000 (16:40 +0000)]
Change version to 2.5.6pre1
Wayne Davison [Sun, 12 Jan 2003 22:45:47 +0000 (22:45 +0000)]
Changed the alloca warning message.
Wayne Davison [Sun, 12 Jan 2003 21:49:44 +0000 (21:49 +0000)]
Use the old kludge of using malloc() if alloca() is missing.
David Dykstra [Sun, 12 Jan 2003 04:02:25 +0000 (04:02 +0000)]
Reduced the severity of the warning about missing alloca to a warning, and
changed the test to the common form of prefixing an x to both sides of
an equivalence because it didn't even notice a problem on the cray when
it was instead using test -n.
Also noticed an error in the test for ANSI c, doing a "$xac..." = xno"
when it should have been "x$ac..." = xno, so I fixed that too.