rsync.git
22 years agoAdd a test case for trim_trailing_slashes, and make it handle other cases.
Martin Pool [Mon, 25 Mar 2002 03:51:17 +0000 (03:51 +0000)]
Add a test case for trim_trailing_slashes, and make it handle other cases.

22 years agoCode that was meant to trim trailing slashes from mkdir() paths
Martin Pool [Mon, 25 Mar 2002 03:29:47 +0000 (03:29 +0000)]
Code that was meant to trim trailing slashes from mkdir() paths
actually did not; fix it.

22 years agoNeed to also delete getgroups when cleaning.
Martin Pool [Mon, 25 Mar 2002 03:26:28 +0000 (03:26 +0000)]
Need to also delete getgroups when cleaning.

22 years agoDefine NGROUPS if not already done.
Martin Pool [Mon, 25 Mar 2002 03:18:36 +0000 (03:18 +0000)]
Define NGROUPS if not already done.

22 years agoClean testtmp*, because we now put tests in their own directories.
Martin Pool [Mon, 25 Mar 2002 03:16:35 +0000 (03:16 +0000)]
Clean testtmp*, because we now put tests in their own directories.

Add "make cleantests"

22 years agoChange chgrp.test to use our getgroups rather than the system's.
Martin Pool [Mon, 25 Mar 2002 03:01:37 +0000 (03:01 +0000)]
Change chgrp.test to use our getgroups rather than the system's.

22 years agoInitial revision.
Martin Pool [Mon, 25 Mar 2002 02:58:59 +0000 (02:58 +0000)]
Initial revision.

22 years agoAdd our own little tool to call getgroups(2) because it's too hard to
Martin Pool [Mon, 25 Mar 2002 02:55:52 +0000 (02:55 +0000)]
Add our own little tool to call getgroups(2) because it's too hard to
find a portable shell command that does it.

22 years agoClean up text.
Martin Pool [Fri, 22 Mar 2002 22:36:22 +0000 (22:36 +0000)]
Clean up text.

22 years agoClean up text.
Martin Pool [Fri, 22 Mar 2002 22:33:49 +0000 (22:33 +0000)]
Clean up text.

22 years agoDoc permissions while testing.
Martin Pool [Fri, 22 Mar 2002 06:22:53 +0000 (06:22 +0000)]
Doc permissions while testing.

22 years agoRather than literally "nobody", try using uid/gid = 65534 as
Martin Pool [Fri, 22 Mar 2002 06:12:51 +0000 (06:12 +0000)]
Rather than literally "nobody", try using uid/gid = 65534 as
"nobody".  The existing code kind-of assumes this.

22 years agoBetter messages.
Martin Pool [Fri, 22 Mar 2002 06:09:09 +0000 (06:09 +0000)]
Better messages.

22 years agoProper messages for skipped tests.
Martin Pool [Fri, 22 Mar 2002 06:07:50 +0000 (06:07 +0000)]
Proper messages for skipped tests.

22 years agoIf tests are skipped, explain why.
Martin Pool [Fri, 22 Mar 2002 06:03:46 +0000 (06:03 +0000)]
If tests are skipped, explain why.

22 years agoMore sgml cleanups.
Martin Pool [Fri, 22 Mar 2002 06:02:28 +0000 (06:02 +0000)]
More sgml cleanups.

22 years agoDoc about checkit.
Martin Pool [Fri, 22 Mar 2002 05:59:12 +0000 (05:59 +0000)]
Doc about checkit.

22 years agoAdd /usr/xpg4/bin/ to PATH to help solaris.
Martin Pool [Fri, 22 Mar 2002 05:52:09 +0000 (05:52 +0000)]
Add /usr/xpg4/bin/ to PATH to help solaris.

22 years agoCope on systems without the whoami command.
Martin Pool [Fri, 22 Mar 2002 05:20:47 +0000 (05:20 +0000)]
Cope on systems without the whoami command.

22 years agoIf there's an error in start_socket_client, print an explanation as
Martin Pool [Fri, 22 Mar 2002 05:19:19 +0000 (05:19 +0000)]
If there's an error in start_socket_client, print an explanation as
well as failing.

Doc.

Trying to work out why daemon-gzip-download.test fails on SCO with

  rsync error: unexplained error (code 190) at main.c(886)

22 years agoDoc.
Martin Pool [Fri, 22 Mar 2002 05:14:44 +0000 (05:14 +0000)]
Doc.

22 years agoNotes on logging etc
Martin Pool [Fri, 22 Mar 2002 05:11:39 +0000 (05:11 +0000)]
Notes on logging etc

22 years agoDoc.
Martin Pool [Fri, 22 Mar 2002 05:08:53 +0000 (05:08 +0000)]
Doc.

22 years agoUse `id -G` rather than `groups` to get a list of groups for this
Martin Pool [Fri, 22 Mar 2002 05:06:36 +0000 (05:06 +0000)]
Use `id -G` rather than `groups` to get a list of groups for this
user, so that we can cope on systems like Cygwin that tend to have
group names containing spaces.

22 years ago * Make "make install-strip" works properly, and "make install"
Martin Pool [Wed, 20 Mar 2002 05:53:40 +0000 (05:53 +0000)]
* Make "make install-strip" works properly, and "make install"
      accepts a DESTDIR variable for help in building binary packages.
      (Peter Breitenlohner)

22 years agoPatch from Paul Haas:
Martin Pool [Wed, 20 Mar 2002 01:09:49 +0000 (01:09 +0000)]
Patch from Paul Haas:

    * Fix situation where failure to fork (e.g. because out of process
      slots) would cause rsync to kill all processes owned by the
      current user.  Yes, really!  (Paul Haas, Martin Pool)

Also, add a little more documentation and paranoia to make sure we
never call kill(2) with a negative pid.

22 years agoNow that whole_file and no_whole_file are separate variables, have the
David Dykstra [Tue, 19 Mar 2002 20:16:42 +0000 (20:16 +0000)]
Now that whole_file and no_whole_file are separate variables, have the
--whole-file and --no-whole-file options set/reset both variables so if
more than one option is specified the last one will be the one honored.

22 years agoClean up sgml.
Martin Pool [Tue, 19 Mar 2002 05:52:34 +0000 (05:52 +0000)]
Clean up sgml.

Add note about building with gcc.

22 years agotodo: Versions of read() and write() that corrupt the stream, or abruptly fail
Martin Pool [Tue, 19 Mar 2002 05:23:04 +0000 (05:23 +0000)]
todo: Versions of read() and write() that corrupt the stream, or abruptly fail

22 years agoFix --help layout.
Martin Pool [Tue, 19 Mar 2002 05:09:19 +0000 (05:09 +0000)]
Fix --help layout.

22 years agoFix overly long line in version.
Martin Pool [Tue, 19 Mar 2002 05:01:36 +0000 (05:01 +0000)]
Fix overly long line in version.

22 years agoFollow advice from GPL to insert a disclaimer of warranty in the
Martin Pool [Tue, 19 Mar 2002 05:00:05 +0000 (05:00 +0000)]
Follow advice from GPL to insert a disclaimer of warranty in the
version and help information.

22 years agoDoc: Pipe program that makes slow/jerky connections.
Martin Pool [Tue, 19 Mar 2002 04:14:30 +0000 (04:14 +0000)]
Doc: Pipe program that makes slow/jerky connections.

22 years agoInclude all fields in the options table to quieten gcc warnings about
Martin Pool [Tue, 19 Mar 2002 04:10:07 +0000 (04:10 +0000)]
Include all fields in the options table to quieten gcc warnings about
missing initializers.

22 years agoIntentional test of assert :_)
Martin Pool [Tue, 19 Mar 2002 03:59:51 +0000 (03:59 +0000)]
Intentional test of assert :_)

22 years agoPrevious solution for --no-whole-file would probably break when
Martin Pool [Tue, 19 Mar 2002 03:39:42 +0000 (03:39 +0000)]
Previous solution for --no-whole-file would probably break when
connecting to old servers that don't have --no-whole-file.

Instead, we handle no_whole_file and whole_file separately, without
the magic -1 value.  We don't modify no_whole_file after
initialization.

22 years agoSending --no-whole-file is no good because it will not work with old
Martin Pool [Tue, 19 Mar 2002 03:27:33 +0000 (03:27 +0000)]
Sending --no-whole-file is no good because it will not work with old
versions of rsync.

22 years agoTypo.
Martin Pool [Tue, 19 Mar 2002 03:23:08 +0000 (03:23 +0000)]
Typo.

22 years agoFix --whole-file problem that caused it to be the default even for
Martin Pool [Tue, 19 Mar 2002 03:21:53 +0000 (03:21 +0000)]
Fix --whole-file problem that caused it to be the default even for
remote connections.  (Frank Schulz)

<http://lists.samba.org/pipermail/rsync/2002-March/006526.html>

Also, add documentation for whole_file and add assertions that the
value is valid.

22 years agoNeed a test for "refuse options"
Martin Pool [Sat, 16 Mar 2002 09:26:33 +0000 (09:26 +0000)]
Need a test for "refuse options"

22 years agoNote about 100295@bugs.debian.org
Martin Pool [Sat, 16 Mar 2002 09:11:56 +0000 (09:11 +0000)]
Note about 100295@bugs.debian.org

22 years agoMake sure that freeaddrinfo is called on all code paths leading away
Martin Pool [Sat, 16 Mar 2002 09:00:44 +0000 (09:00 +0000)]
Make sure that freeaddrinfo is called on all code paths leading away
from a call to getaddrinfo.  (Dave Dykstra)
<20011219085021.A23107@lucent.com>

22 years agoDoc: Note from Dave Dykstra that getaddrinfo calls must be paired with
Martin Pool [Sat, 16 Mar 2002 08:23:08 +0000 (08:23 +0000)]
Doc: Note from Dave Dykstra that getaddrinfo calls must be paired with
freeaddrinfo().

22 years agoAdd more rules for make distclean.
Martin Pool [Sat, 16 Mar 2002 08:21:15 +0000 (08:21 +0000)]
Add more rules for make distclean.

22 years ago"make distclean": We try to delete built files from both the source
Martin Pool [Sat, 16 Mar 2002 08:18:19 +0000 (08:18 +0000)]
"make distclean": We try to delete built files from both the source
and build directories, just in case somebody previously configured
things in the source directory.

22 years agoNote about --progress patch.
Martin Pool [Sat, 16 Mar 2002 00:00:43 +0000 (00:00 +0000)]
Note about --progress patch.

22 years agoNote about debian #28416
Martin Pool [Fri, 15 Mar 2002 14:01:43 +0000 (14:01 +0000)]
Note about debian #28416

22 years agoAdd debian bug #
Martin Pool [Fri, 15 Mar 2002 13:42:42 +0000 (13:42 +0000)]
Add debian bug #

22 years ago Keep stderr and stdout properly separated (Debian #23626)
Martin Pool [Fri, 15 Mar 2002 13:38:12 +0000 (13:38 +0000)]
  Keep stderr and stdout properly separated (Debian #23626)

22 years agoDoc: Debian uses "nogroup" instead of group "nobody", so our defaults
Martin Pool [Fri, 15 Mar 2002 12:53:21 +0000 (12:53 +0000)]
Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
are not so good.

22 years agoIf we've finished transferring a file, show the time taken; otherwise
Martin Pool [Fri, 15 Mar 2002 12:45:10 +0000 (12:45 +0000)]
If we've finished transferring a file, show the time taken; otherwise
show expected time to complete.  That's kind of inconsistent, but
people can probably cope.  Hopefully we'll get more consistent and
complete progress reporting soon. (Cameron Simpson)

22 years agoTypo.
Martin Pool [Fri, 15 Mar 2002 06:29:22 +0000 (06:29 +0000)]
Typo.

22 years agoOn Solaris, put /usr/ucb/bin at the end of the path to help find
Martin Pool [Fri, 15 Mar 2002 06:28:58 +0000 (06:28 +0000)]
On Solaris, put /usr/ucb/bin at the end of the path to help find
utilities we might need.  (Like 'whoami' in this case.)

22 years agoTry to handle 'test -L' on Sun.
Martin Pool [Fri, 15 Mar 2002 01:22:09 +0000 (01:22 +0000)]
Try to handle 'test -L' on Sun.

22 years agoTry to handle 'test -L' on Sun.
Martin Pool [Fri, 15 Mar 2002 01:08:53 +0000 (01:08 +0000)]
Try to handle 'test -L' on Sun.

22 years agoMore notes
Martin Pool [Fri, 15 Mar 2002 01:04:25 +0000 (01:04 +0000)]
More notes

22 years agoSuggestion from david.e.sewell to add --diff.
Martin Pool [Fri, 15 Mar 2002 01:03:24 +0000 (01:03 +0000)]
Suggestion from david.e.sewell to add --diff.

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. v2.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. v2.5.4pre1
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. v2.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.