rsync/rsync.git
22 years agoEliminate extraneous "done" messages in verbose mode. Problem reported by
David Dykstra [Thu, 14 Mar 2002 21:20:20 +0000 (21:20 +0000)]
Eliminate extraneous "done" messages in verbose mode.  Problem reported by
Lee Eakin.

22 years agoCorrect the plural in "1 file to consider." (Greg Louis)
Martin Pool [Thu, 14 Mar 2002 12:00:12 +0000 (12:00 +0000)]
Correct the plural in "1 file to consider."  (Greg Louis)

22 years agoAdd phony target to run Splint.
Martin Pool [Thu, 14 Mar 2002 10:42:52 +0000 (10:42 +0000)]
Add phony target to run Splint.

22 years ago"make install-strip" works. (Greg Louis)
Martin Pool [Thu, 14 Mar 2002 10:38:55 +0000 (10:38 +0000)]
"make install-strip" works.  (Greg Louis)

22 years agoRoll over news file; put in page markers.
Martin Pool [Thu, 14 Mar 2002 10:33:59 +0000 (10:33 +0000)]
Roll over news file; put in page markers.

22 years agoBump version to 2.5.5cvs
Martin Pool [Thu, 14 Mar 2002 03:10:23 +0000 (03:10 +0000)]
Bump version to 2.5.5cvs

22 years agoShow user name and `uname -a` in the test output header, to aid in bug
Martin Pool [Thu, 14 Mar 2002 03:04:36 +0000 (03:04 +0000)]
Show user name and `uname -a` in the test output header, to aid in bug
reports.  (We mostly want to know if they're root or not.)

22 years agoDoc: "opening tcp connection to %s port %d" is kind of misleading when
Martin Pool [Thu, 14 Mar 2002 02:55:11 +0000 (02:55 +0000)]
Doc: "opening tcp connection to %s port %d" is kind of misleading when
running the test case.

22 years agoMore notes on testing.
Martin Pool [Wed, 13 Mar 2002 04:25:10 +0000 (04:25 +0000)]
More notes on testing.

22 years ago If a child of the rsync daemon dies with a signal, we should notice
Martin Pool [Wed, 13 Mar 2002 00:25:00 +0000 (00:25 +0000)]
  If a child of the rsync daemon dies with a signal, we should notice
  that when we reap it and log a message.

22 years agoBump version to 2.5.4.
Martin Pool [Wed, 13 Mar 2002 00:03:34 +0000 (00:03 +0000)]
Bump version to 2.5.4.

22 years agoNotes on chmod.
Martin Pool [Tue, 12 Mar 2002 23:55:33 +0000 (23:55 +0000)]
Notes on chmod.

22 years ago If we get an error writing to a socket, then we should perhaps
Martin Pool [Tue, 12 Mar 2002 06:08:36 +0000 (06:08 +0000)]
  If we get an error writing to a socket, then we should perhaps
  continue trying to read to see if an error message comes across
  explaining why the socket is closed.  I'm not sure if this would
  work, but it would certainly make our messages more helpful.

22 years agoAdd link to purify replacement.
Martin Pool [Tue, 12 Mar 2002 05:48:57 +0000 (05:48 +0000)]
Add link to purify replacement.

22 years agoAdd link to purify replacement.
Martin Pool [Tue, 12 Mar 2002 05:47:45 +0000 (05:47 +0000)]
Add link to purify replacement.

22 years agoNote about TDB.
Martin Pool [Tue, 12 Mar 2002 05:41:25 +0000 (05:41 +0000)]
Note about TDB.

22 years agoNotes on testing.
Martin Pool [Tue, 12 Mar 2002 05:39:29 +0000 (05:39 +0000)]
Notes on testing.

22 years agoNote about splint.
Martin Pool [Tue, 12 Mar 2002 05:33:39 +0000 (05:33 +0000)]
Note about splint.

22 years agoAdditional trivial merge patch from Jos
Martin Pool [Tue, 12 Mar 2002 02:07:36 +0000 (02:07 +0000)]
Additional trivial merge patch from Jos

22 years agoGet ready for new release.
Martin Pool [Tue, 12 Mar 2002 01:26:01 +0000 (01:26 +0000)]
Get ready for new release.

22 years agoUpdate NEWS.
Martin Pool [Tue, 12 Mar 2002 01:22:56 +0000 (01:22 +0000)]
Update NEWS.

22 years agoGet ready for new release.
Martin Pool [Tue, 12 Mar 2002 01:18:20 +0000 (01:18 +0000)]
Get ready for new release.

22 years agoBump version to 2.5.4pre1.
Martin Pool [Tue, 12 Mar 2002 01:15:49 +0000 (01:15 +0000)]
Bump version to 2.5.4pre1.

22 years agoPatch from Jos Backus to merge zlib-1.1.4.
Martin Pool [Tue, 12 Mar 2002 01:14:58 +0000 (01:14 +0000)]
Patch from Jos Backus to merge zlib-1.1.4.

22 years agoMerge the zlib fix properly; back out tridge's bandaid.
Martin Pool [Tue, 12 Mar 2002 00:33:51 +0000 (00:33 +0000)]
Merge the zlib fix properly; back out tridge's bandaid.

22 years agoClarify behaviour of installcheck.
Martin Pool [Tue, 12 Mar 2002 00:22:22 +0000 (00:22 +0000)]
Clarify behaviour of installcheck.

22 years agoRename to README.testsuite, and bring it up to date.
Martin Pool [Tue, 12 Mar 2002 00:20:16 +0000 (00:20 +0000)]
Rename to README.testsuite, and bring it up to date.

22 years agoTry to download a tree over a compressed connection to a daemon.
Martin Pool [Tue, 12 Mar 2002 00:11:35 +0000 (00:11 +0000)]
Try to download a tree over a compressed connection to a daemon.

22 years agoThis test tries to upload a file over a compressed connection to the
Martin Pool [Tue, 12 Mar 2002 00:09:09 +0000 (00:09 +0000)]
This test tries to upload a file over a compressed connection to the
server.  This ought to exercise (exorcise? :-) a bug in 2.5.3.  It
ought to fail there and pass with later versions.

22 years agoFix generated rsyncd.conf file for testing.
Martin Pool [Tue, 12 Mar 2002 00:04:03 +0000 (00:04 +0000)]
Fix generated rsyncd.conf file for testing.

22 years agoa quick fix for a segmentation fault in zlib I am getting whenever I
Andrew Tridgell [Mon, 11 Mar 2002 18:54:51 +0000 (18:54 +0000)]
a quick fix for a segmentation fault in zlib I am getting whenever I
try to upload a file from rsync 2.5.2 to rsync 2.5.3

22 years agoSet version to 2.5.3.
Martin Pool [Mon, 11 Mar 2002 05:58:31 +0000 (05:58 +0000)]
Set version to 2.5.3.

22 years agoMerge zlib double-free bug forwarded by Mark J Cox.
Martin Pool [Mon, 11 Mar 2002 05:55:33 +0000 (05:55 +0000)]
Merge zlib double-free bug forwarded by Mark J Cox.

22 years agoNote on zlib patch merge.
Martin Pool [Mon, 11 Mar 2002 05:52:22 +0000 (05:52 +0000)]
Note on zlib patch merge.

22 years agoTry to merge across changes in zlib from 1.1.2 to 1.1.3.
Martin Pool [Mon, 11 Mar 2002 03:56:35 +0000 (03:56 +0000)]
Try to merge across changes in zlib from 1.1.2 to 1.1.3.

22 years agoNote about merging zlib 1.1.3.
Martin Pool [Mon, 11 Mar 2002 03:44:44 +0000 (03:44 +0000)]
Note about merging zlib 1.1.3.

22 years agoBump version to 2.5.3pre3.
Martin Pool [Mon, 11 Mar 2002 03:40:23 +0000 (03:40 +0000)]
Bump version to 2.5.3pre3.

22 years agoAdd CVE number.
Martin Pool [Mon, 11 Mar 2002 03:39:49 +0000 (03:39 +0000)]
Add CVE number.

22 years agoTry to merge across changes in zlib from 1.1.2 to 1.1.3.
Martin Pool [Mon, 11 Mar 2002 03:35:35 +0000 (03:35 +0000)]
Try to merge across changes in zlib from 1.1.2 to 1.1.3.

22 years agoTry adding some FAQs from the FoM
Martin Pool [Mon, 11 Mar 2002 00:58:36 +0000 (00:58 +0000)]
Try adding some FAQs from the FoM

22 years agoUse SGML rather than texinfo.
Martin Pool [Mon, 11 Mar 2002 00:38:03 +0000 (00:38 +0000)]
Use SGML rather than texinfo.

22 years agoMore merges into SGML.
Martin Pool [Mon, 11 Mar 2002 00:36:47 +0000 (00:36 +0000)]
More merges into SGML.

22 years agoNotes on processing the SGML stuff.
Martin Pool [Mon, 11 Mar 2002 00:27:42 +0000 (00:27 +0000)]
Notes on processing the SGML stuff.

22 years agoNotes from Rasmus about statistics.
Martin Pool [Fri, 8 Mar 2002 04:41:11 +0000 (04:41 +0000)]
Notes from Rasmus about statistics.

22 years agoCygwin doesn't have setgroups() so probe for the function in configure
David Dykstra [Wed, 27 Feb 2002 23:15:55 +0000 (23:15 +0000)]
Cygwin doesn't have setgroups() so probe for the function in configure
and don't try to call it if it doesn't exist.

22 years agoI had accidentally deleted the case for --include-from when I added
David Dykstra [Wed, 27 Feb 2002 22:49:57 +0000 (22:49 +0000)]
I had accidentally deleted the case for --include-from when I added
the --no-blocking-io and --no-whole-file options.  This adds it back in.

22 years agoTry out DocBook SGML to see if it's easier than Texinfo.
Martin Pool [Mon, 25 Feb 2002 20:07:11 +0000 (20:07 +0000)]
Try out DocBook SGML to see if it's easier than Texinfo.

22 years agoStart of Python code to generate likely-looking pseudo random file
Martin Pool [Mon, 25 Feb 2002 18:54:27 +0000 (18:54 +0000)]
Start of Python code to generate likely-looking pseudo random file
trees to reproducibly test performance on specified size sets.

22 years agoMerge Texinfo onto head.
Martin Pool [Mon, 25 Feb 2002 18:52:02 +0000 (18:52 +0000)]
Merge Texinfo onto head.

22 years agoAdd targets to build documentation from Texinfo.
Martin Pool [Mon, 25 Feb 2002 18:48:25 +0000 (18:48 +0000)]
Add targets to build documentation from Texinfo.

22 years agoMore discussion about zlib.
Martin Pool [Mon, 25 Feb 2002 18:28:37 +0000 (18:28 +0000)]
More discussion about zlib.

22 years agoScrappy notes on hot functions that should be fixed
Martin Pool [Mon, 25 Feb 2002 18:06:33 +0000 (18:06 +0000)]
Scrappy notes on hot functions that should be fixed

22 years agoWith -vv, client shows a message when opening a daemon connection via
Martin Pool [Sat, 23 Feb 2002 01:00:33 +0000 (01:00 +0000)]
With -vv, client shows a message when opening a daemon connection via
an HTTP proxy.  This parallels the recent addition of a log message
for opening ssh connections.

22 years agoWith -vv, client shows a message when opening a daemon connection.
Martin Pool [Sat, 23 Feb 2002 00:57:30 +0000 (00:57 +0000)]
With -vv, client shows a message when opening a daemon connection.
This parallels the recent addition of a log message for opening ssh
connections.

22 years agoAdd UNUSED macro that expands to a parameter attribute annotation on
Martin Pool [Sat, 23 Feb 2002 00:17:50 +0000 (00:17 +0000)]
Add UNUSED macro that expands to a parameter attribute annotation on
gcc, to quieten its worries about parameters that must always be
unused.

22 years agoDoc.
Martin Pool [Sat, 23 Feb 2002 00:12:11 +0000 (00:12 +0000)]
Doc.

22 years agoprint_child_argv can be static.
Martin Pool [Sat, 23 Feb 2002 00:05:06 +0000 (00:05 +0000)]
print_child_argv can be static.

22 years agoMake "make proto" work for VPATH builds.
Martin Pool [Sat, 23 Feb 2002 00:02:07 +0000 (00:02 +0000)]
Make "make proto" work for VPATH builds.

22 years agoRevert 1.134 -- this breaks Net/Free BSD.
Martin Pool [Thu, 21 Feb 2002 00:56:11 +0000 (00:56 +0000)]
Revert 1.134 -- this breaks Net/Free BSD.

22 years agoMake setgroups(0,0) unconditional -- accidentally thinking we have
Martin Pool [Thu, 21 Feb 2002 00:45:48 +0000 (00:45 +0000)]
Make setgroups(0,0) unconditional -- accidentally thinking we have
don't it on a machine that does have supplementary groups would be a
security hole.  If this breaks anything we'll fix it later.

22 years agoAdd bug # for #132272
Martin Pool [Thu, 21 Feb 2002 00:26:06 +0000 (00:26 +0000)]
Add bug # for #132272

22 years agoPatch from Albert Chin to fix getaddrinfo on Tru64 UNIX 5.x.
Martin Pool [Tue, 19 Feb 2002 23:40:47 +0000 (23:40 +0000)]
Patch from Albert Chin to fix getaddrinfo on Tru64 UNIX 5.x.

22 years agoBump version to 2.5.3pre1
Martin Pool [Tue, 19 Feb 2002 02:16:37 +0000 (02:16 +0000)]
Bump version to 2.5.3pre1

22 years agoClean up error message
Martin Pool [Tue, 19 Feb 2002 01:41:20 +0000 (01:41 +0000)]
Clean up error message

22 years agoDoc
Martin Pool [Tue, 19 Feb 2002 01:39:11 +0000 (01:39 +0000)]
Doc

22 years agorsync prefix on mkdir and pushdir error messages.
Martin Pool [Tue, 19 Feb 2002 01:07:24 +0000 (01:07 +0000)]
rsync prefix on mkdir and pushdir error messages.

22 years agoDoc.
Martin Pool [Mon, 18 Feb 2002 23:36:10 +0000 (23:36 +0000)]
Doc.

22 years agoChange shell syntax to try to please Solaris
Martin Pool [Mon, 18 Feb 2002 23:09:50 +0000 (23:09 +0000)]
Change shell syntax to try to please Solaris

22 years agoFix error handling for failing to fork after accepting a connection --
Martin Pool [Mon, 18 Feb 2002 22:58:49 +0000 (22:58 +0000)]
Fix error handling for failing to fork after accepting a connection --
close fd, sleep, then try again.

22 years agoSolaris does not have diff -u.
Martin Pool [Mon, 18 Feb 2002 22:55:21 +0000 (22:55 +0000)]
Solaris does not have diff -u.

22 years agoMust use STRUCT_STAT not "struct stat" to be compatible with other
Martin Pool [Mon, 18 Feb 2002 22:49:00 +0000 (22:49 +0000)]
Must use STRUCT_STAT not "struct stat" to be compatible with other
rsync functions.

22 years agoCope with BSD systems on which mkdir() will not accept a trailing
Martin Pool [Mon, 18 Feb 2002 22:44:23 +0000 (22:44 +0000)]
Cope with BSD systems on which mkdir() will not accept a trailing
slash.

<http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>

22 years agoIf the daemon is unable to fork a child to accept a connection, print
Martin Pool [Mon, 18 Feb 2002 22:38:03 +0000 (22:38 +0000)]
If the daemon is unable to fork a child to accept a connection, print
an error message.  (Colin Walters)

22 years agoAdd -vvv trace statement to set_modtime to help with Debian bug
Martin Pool [Mon, 18 Feb 2002 22:25:55 +0000 (22:25 +0000)]
Add -vvv trace statement to set_modtime to help with Debian bug
#100295.

22 years agoThis test must specify --times because it compares listings that
Martin Pool [Mon, 18 Feb 2002 22:14:46 +0000 (22:14 +0000)]
This test must specify --times because it compares listings that
include mtimes.

22 years agoFix bug that made tls.o not be removed by 'make clean'.
Martin Pool [Mon, 18 Feb 2002 22:07:44 +0000 (22:07 +0000)]
Fix bug that made tls.o not be removed by 'make clean'.

22 years agoDoc:
Martin Pool [Mon, 18 Feb 2002 21:46:49 +0000 (21:46 +0000)]
Doc:

  #defiine lchown chown

could be bad on systems which have no lchown and where chown
follows symbollic links.  On such systems it might be better not to
try to chown symlinks at all.

22 years agoIgnore SIGPIPE and allow EPIPE to get through to the program so that
Martin Pool [Mon, 18 Feb 2002 20:06:57 +0000 (20:06 +0000)]
Ignore SIGPIPE and allow EPIPE to get through to the program so that
we don't get stuck in a recursive loop trying to report a broken pipe
across that same broken pipe.  Debian bug #128632 (Colin Walters)

22 years agoFix for rsync server processes hanging around after the client
Martin Pool [Mon, 18 Feb 2002 19:54:00 +0000 (19:54 +0000)]
Fix for rsync server processes hanging around after the client
unexpectedly disconnects.  (Colin Walters) (Debian bug #128632)

22 years agorwrite: Doc.
Martin Pool [Mon, 18 Feb 2002 19:51:12 +0000 (19:51 +0000)]
rwrite: Doc.

22 years agoDocument multiplex stuff.
Martin Pool [Mon, 18 Feb 2002 19:44:04 +0000 (19:44 +0000)]
Document multiplex stuff.

22 years agoDoc.
Martin Pool [Mon, 18 Feb 2002 19:10:28 +0000 (19:10 +0000)]
Doc.

22 years agoIf a daemon prints an error message of @ERROR, have the client treat the
David Dykstra [Mon, 18 Feb 2002 18:29:48 +0000 (18:29 +0000)]
If a daemon prints an error message of @ERROR, have the client treat the
message as an FERROR rather than an FINFO.

22 years agoAdd item about fixing "out of memory in flist_expand" on Sunos4.
David Dykstra [Thu, 14 Feb 2002 15:27:55 +0000 (15:27 +0000)]
Add item about fixing "out of memory in flist_expand" on Sunos4.

22 years agoAdded the two most important bug fixes to NEWS to make sure they're not
David Dykstra [Wed, 13 Feb 2002 18:57:06 +0000 (18:57 +0000)]
Added the two most important bug fixes to NEWS to make sure they're not
forgotten for the next release.

22 years agoPatch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN rather
David Dykstra [Wed, 13 Feb 2002 18:45:17 +0000 (18:45 +0000)]
Patch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN rather
than HAVE_SOCK_SIN_LEN around use of sin_len.  Correct usage was already
in place in clientname.c.

22 years agoSuggested patch from Jim Ogilvie <jogilvie@us.ibm.com> to print out the
David Dykstra [Wed, 13 Feb 2002 18:42:20 +0000 (18:42 +0000)]
Suggested patch from Jim Ogilvie <jogilvie@us.ibm.com> to print out the
system error message when mkstemp fails.

22 years agoReversing the order of maybe_emit_filelist_progress() and
David Dykstra [Wed, 13 Feb 2002 18:30:27 +0000 (18:30 +0000)]
Reversing the order of maybe_emit_filelist_progress() and
emit_filelist_progress() makes the native compilers on systems
including Solaris and Irix happier.

22 years agoSome systems, notably Sunos4, do not support realloc(NULL, n), so if
David Dykstra [Wed, 13 Feb 2002 18:06:36 +0000 (18:06 +0000)]
Some systems, notably Sunos4, do not support realloc(NULL, n), so if
nothing has yet been malloced in flist_expand(), call malloc instead of
realloc.  Problem introduced in revision 1.106 of flist.c on January 25.

22 years agoAt least change INO64_T and DEV64_T back to just 'int64', not
Martin Pool [Wed, 13 Feb 2002 02:57:55 +0000 (02:57 +0000)]
At least change INO64_T and DEV64_T back to just 'int64', not
'unsigned int64'.  This should fix some compile problems on machines
where int64 is not a simple integer type, but I'm not convinced it is
the ideal fix.

22 years agoFactor out code for filelist progress. Copy&paste considered harmful.
Martin Pool [Wed, 13 Feb 2002 02:44:31 +0000 (02:44 +0000)]
Factor out code for filelist progress.  Copy&paste considered harmful.

Add a little doc about potential optimization of stat() calls.

22 years agoAdd a test that --owner correctly propagates ownership of files for a
Martin Pool [Sat, 9 Feb 2002 07:43:13 +0000 (07:43 +0000)]
Add a test that --owner correctly propagates ownership of files for a
local transfer as root.

22 years agoAdd a test that --group correctly propagates groups of which the local
Martin Pool [Sat, 9 Feb 2002 07:42:37 +0000 (07:42 +0000)]
Add a test that --group correctly propagates groups of which the local
user is a member.

22 years agoAdd $preserve_scratch and $always_log so if you want to see details
Martin Pool [Sat, 9 Feb 2002 03:36:33 +0000 (03:36 +0000)]
Add $preserve_scratch and $always_log so if you want to see details
about successful tests, you can.

22 years agoOops -- have to call setgroups() before giving up root.
Martin Pool [Sat, 9 Feb 2002 03:30:22 +0000 (03:30 +0000)]
Oops -- have to call setgroups() before giving up root.

Doc some of the peculiarities about starting rsyncd as root vs
non-root.

22 years agoMake sure we call setgroups() after setuid(). (Ethan Benson)
Martin Pool [Sat, 9 Feb 2002 02:18:42 +0000 (02:18 +0000)]
Make sure we call setgroups() after setuid().  (Ethan Benson)

22 years agoRemove the "rsync:" prefixes on FINFO messages. Return the "building file
David Dykstra [Thu, 7 Feb 2002 16:36:12 +0000 (16:36 +0000)]
Remove the "rsync:" prefixes on FINFO messages.  Return the "building file
list ... done" to the way it was in 2.5.1 and before when not using -P.
Apply the file list progress messages when receiving files in addition to
sending files.

22 years agoMake batch mode actually work and add man page documentation. From Jos Backus.
David Dykstra [Wed, 6 Feb 2002 21:20:48 +0000 (21:20 +0000)]
Make batch mode actually work and add man page documentation.  From Jos Backus.

22 years agoMerge modified --with-rsh patch: we now determine the default
Martin Pool [Wed, 6 Feb 2002 04:37:09 +0000 (04:37 +0000)]
Merge modified --with-rsh patch: we now determine the default
remote-execution command as follows:

 1) if --with-rsh is specified, use that.

 2) otherwise if remsh is in the path, use that.

 3) otherwise use rsh

If remsh is present, we always modify the order of parameters to suit
it.  This is a bit strange.

22 years agoDoc: Rusty's /*/* exclude hack produces spurious output with -vv.
Martin Pool [Wed, 6 Feb 2002 04:34:40 +0000 (04:34 +0000)]
Doc: Rusty's /*/* exclude hack produces spurious output with -vv.