Commit Graph
1332 Commits
Author SHA1 Message Date
Martin Pool c127e8aaec Add a test case for trim_trailing_slashes, and make it handle other cases. 2002-03-25 03:51:17 +00:00
Martin Pool bf4e725d5d Code that was meant to trim trailing slashes from mkdir() paths
actually did not; fix it.
2002-03-25 03:29:47 +00:00
Martin Pool 663717f465 Need to also delete getgroups when cleaning. 2002-03-25 03:26:28 +00:00
Martin Pool 12b159ac41 Define NGROUPS if not already done. 2002-03-25 03:18:36 +00:00
Martin Pool 9299c8f0b4 Clean testtmp*, because we now put tests in their own directories.
Add "make cleantests"
2002-03-25 03:16:35 +00:00
Martin Pool dfef3f1099 Change chgrp.test to use our getgroups rather than the system's. 2002-03-25 03:01:37 +00:00
Martin Pool fa3690f488 Initial revision. 2002-03-25 02:58:59 +00:00
Martin Pool 4acbfa2ade Add our own little tool to call getgroups(2) because it's too hard to
find a portable shell command that does it.
2002-03-25 02:55:52 +00:00
Martin Pool ef86d74736 Clean up text. 2002-03-22 22:36:22 +00:00
Martin Pool 118f39d45b Clean up text. 2002-03-22 22:33:49 +00:00
Martin Pool 77867907ed Doc permissions while testing. 2002-03-22 06:22:53 +00:00
Martin Pool 98c1b32565 Rather than literally "nobody", try using uid/gid = 65534 as
"nobody".  The existing code kind-of assumes this.
2002-03-22 06:12:51 +00:00
Martin Pool 7a176e87d5 Better messages. 2002-03-22 06:09:09 +00:00
Martin Pool 79c9d8a180 Proper messages for skipped tests. 2002-03-22 06:07:50 +00:00
Martin Pool 7d8219327b If tests are skipped, explain why. 2002-03-22 06:03:46 +00:00
Martin Pool 4ac4bdbb38 More sgml cleanups. 2002-03-22 06:02:28 +00:00
Martin Pool f494f2864c Doc about checkit. 2002-03-22 05:59:12 +00:00
Martin Pool 017f22b47f Add /usr/xpg4/bin/ to PATH to help solaris. 2002-03-22 05:52:09 +00:00
Martin Pool dec41b556b Cope on systems without the whoami command. 2002-03-22 05:20:47 +00:00
Martin Pool be2961da2c 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)
2002-03-22 05:19:19 +00:00
Martin Pool 914cc65c9d Doc. 2002-03-22 05:14:44 +00:00
Martin Pool 6479c2ed3f Notes on logging etc 2002-03-22 05:11:39 +00:00
Martin Pool c1a04ecbfd Doc. 2002-03-22 05:08:53 +00:00
Martin Pool 69b06c50c4 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.
2002-03-22 05:06:36 +00:00
Martin Pool 6aaf8d8c10 * Make "make install-strip" works properly, and "make install"
accepts a DESTDIR variable for help in building binary packages.
      (Peter Breitenlohner)
2002-03-20 05:53:40 +00:00
Martin Pool 4cf64834ed 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.
2002-03-20 01:09:49 +00:00
David Dykstra b8709f5046 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.
2002-03-19 20:16:42 +00:00
Martin Pool 24448f741f Clean up sgml.
Add note about building with gcc.
2002-03-19 05:52:34 +00:00
Martin Pool 76533c52dc todo: Versions of read() and write() that corrupt the stream, or abruptly fail 2002-03-19 05:23:04 +00:00
Martin Pool 3ff984d7a7 Fix --help layout. 2002-03-19 05:09:19 +00:00
Martin Pool 7a52790b50 Fix overly long line in version. 2002-03-19 05:01:36 +00:00
Martin Pool 7b329a2d79 Follow advice from GPL to insert a disclaimer of warranty in the
version and help information.
2002-03-19 05:00:05 +00:00
Martin Pool 599dc93c64 Doc: Pipe program that makes slow/jerky connections. 2002-03-19 04:14:30 +00:00
Martin Pool 8b54f00466 Include all fields in the options table to quieten gcc warnings about
missing initializers.
2002-03-19 04:10:07 +00:00
Martin Pool 8469faef03 Intentional test of assert :_) 2002-03-19 03:59:51 +00:00
Martin Pool bceec82f35 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.
2002-03-19 03:39:42 +00:00
Martin Pool ed521de525 Sending --no-whole-file is no good because it will not work with old
versions of rsync.
2002-03-19 03:27:33 +00:00
Martin Pool d157de203a Typo. 2002-03-19 03:23:08 +00:00
Martin Pool 1bfbf40bd5 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.
2002-03-19 03:21:53 +00:00
Martin Pool 6d19c6742c Need a test for "refuse options" 2002-03-16 09:26:33 +00:00
Martin Pool a628b06977 Note about 100295@bugs.debian.org 2002-03-16 09:11:56 +00:00
Martin Pool 6b2d24de2c Make sure that freeaddrinfo is called on all code paths leading away
from a call to getaddrinfo.  (Dave Dykstra)
<20011219085021.A23107@lucent.com>
2002-03-16 09:00:44 +00:00
Martin Pool e23d790fa7 Doc: Note from Dave Dykstra that getaddrinfo calls must be paired with
freeaddrinfo().
2002-03-16 08:23:08 +00:00
Martin Pool 2a5904a580 Add more rules for make distclean. 2002-03-16 08:21:15 +00:00
Martin Pool 4610ac79c2 "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.
2002-03-16 08:18:19 +00:00
Martin Pool 142f5be922 Note about --progress patch. 2002-03-16 00:00:43 +00:00
Martin Pool b17dd0c435 Note about debian #28416 2002-03-15 14:01:43 +00:00
Martin Pool 3669201179 Add debian bug # 2002-03-15 13:42:42 +00:00
Martin Pool a5c48193c7 Keep stderr and stdout properly separated (Debian #23626) 2002-03-15 13:38:12 +00:00
Martin Pool 4366275bab Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
are not so good.
2002-03-15 12:53:21 +00:00