Commit Graph

  • fb4c98c2c8 Test harness for unsafe_symlink: just passes in argv[]. Martin Pool 2002-04-08 04:13:43 +00:00
  • cd8e38b13f Little stub module that replaces functions such as rprintf called from many places with a redirector to stderr. If you just want to test a particular routine you can link to this rather than the whole framework. Martin Pool 2002-04-08 04:12:31 +00:00
  • b35d0d8e9a Split code out into separate files and remove some global variables to reduce symbol dependencies between files and therefore make it easier to write unit tests. The diff is large, but the actual code changes are pretty small. Martin Pool 2002-04-08 04:10:20 +00:00
  • c948e309f2 Don't generate code for zlib and popt. Martin Pool 2002-04-08 04:00:24 +00:00
  • d1f83bcc81 Doc. Martin Pool 2002-04-08 03:43:54 +00:00
  • e0fde757fd Doc. Martin Pool 2002-04-08 03:38:36 +00:00
  • 25d34a5c80 Rearrange code slightly to avoid util.c depending on main.c. Martin Pool 2002-04-08 03:37:19 +00:00
  • 610364e3a6 Tune doxygen output, remove warning. Martin Pool 2002-04-08 03:13:11 +00:00
  • 036e70b024 Document unsafe_symlink(). Martin Pool 2002-04-08 03:10:01 +00:00
  • ac13ad106a Clean up comments for Doxygen. Martin Pool 2002-04-08 03:03:04 +00:00
  • bd9e9eccbd Doc. Martin Pool 2002-04-08 02:41:23 +00:00
  • 8ff9d697c9 Note on debugging daemon Martin Pool 2002-04-08 02:39:00 +00:00
  • 62b68c8046 Notes about logging. Martin Pool 2002-04-08 01:59:21 +00:00
  • e4724e5c1c Note about two small bugs. Martin Pool 2002-04-05 07:25:06 +00:00
  • 559e727bf7 Test more permutations. Martin Pool 2002-04-05 07:13:01 +00:00
  • 126642b633 Fix filenames. Martin Pool 2002-04-05 07:04:23 +00:00
  • cca4e06786 Get rid of testlink after use. Martin Pool 2002-04-05 07:00:53 +00:00
  • 2f1faea89b Test case for --copy-unsafe-links, contributed by Vladimír Michl, converted to the test suite. Thankyou! Martin Pool 2002-04-05 06:57:47 +00:00
  • 3d90ec146f Doc Martin Pool 2002-04-05 06:17:50 +00:00
  • 1bc209b441 Fix completely braindead previous patch. Thanks Jos. Martin Pool 2002-04-03 06:55:24 +00:00
  • 1433e6da69 Patch from Zoong Pham and Albert Chin to improve detection of getaddrinfo on Tru64. Martin Pool 2002-04-03 06:03:27 +00:00
  • f8f4c862e8 Change code that writes s_count to a batch file to squish it into an int first -- a stopgap for compilers that reasonably complain about a ternary that returns either a size_t or an int. Martin Pool 2002-04-03 05:55:54 +00:00
  • 226df8e717 Support Doxygen pretty-printer Martin Pool 2002-04-03 04:29:19 +00:00
  • 6c92af2067 Commit patch based on one from John L. Allen to fix "forward name lookup failed" on AIX 4.3.3. Martin Pool 2002-04-03 02:33:42 +00:00
  • 54c7298ce4 Roll over version and news. Martin Pool 2002-04-03 02:13:42 +00:00
  • 642a979a27 Note about --dry-run. Martin Pool 2002-04-03 00:10:11 +00:00
  • e733c93423 Remove warning about "run autoconf". It tends to break too much with CVS. Martin Pool 2002-04-02 02:00:29 +00:00
  • ffdb58a51a Bump to 2.5.5. v2.5.5 Martin Pool 2002-04-02 01:41:58 +00:00
  • c053133207 If configured with --enable-maintainer-mode, then on receipt of a fatal signal rsync will try to open an xterm running gdb, similarly to Samba's "panic action" or GNOME's bug-buddy. Martin Pool 2002-03-27 05:10:44 +00:00
  • 9098bbf3b3 Improved network error handling. (Greg A. Woods) Martin Pool 2002-03-27 01:03:13 +00:00
  • 68618b8810 Shell scripts should explicitly "exit 0" for portability. Thanks Jos. Martin Pool 2002-03-26 10:36:45 +00:00
  • e553d27f41 Fix suggested by Jos for hands.test. Some of the functionality previously built into Phil's test was clashing with the runtests.sh framework. I think one of the core problems might be that scripts which don't explicitly "exit 0" have return codes which vary depending on the particular shell. (c.f. the autoconf portability guide.) Martin Pool 2002-03-26 10:28:57 +00:00
  • d092924c63 Updated spec file from Jason Haar. Seems to mostly just change the path for manuals, and bumps the version. Martin Pool 2002-03-26 05:15:09 +00:00
  • 34027489e0 Ignore autoconf cache. (??) Martin Pool 2002-03-26 01:27:24 +00:00
  • d1239eae92 Jos points out that test -L is still broken on Solaris. Now we try up front to detect a command that will work properly, and use that consistently. Martin Pool 2002-03-26 01:25:47 +00:00
  • 331050969b Bump version to 2.5.5rc1. v2.5.5.rc1 Martin Pool 2002-03-25 23:22:08 +00:00
  • 259c3e72b0 Add note about possible hardlink bug. Martin Pool 2002-03-25 23:09:31 +00:00
  • 8f7a38336d Make the situation w.r.t. dynamically linking zlib and libpopt clear. Martin Pool 2002-03-25 09:42:36 +00:00
  • 999dfffc9b Add link to Apple bug. Martin Pool 2002-03-25 07:29:43 +00:00
  • 527a51cec5 Doc Martin Pool 2002-03-25 07:07:03 +00:00
  • 20c15aead5 Hm, strange off-by-one bug. Martin Pool 2002-03-25 06:59:17 +00:00
  • fb859e5674 Apparently the OS X port of gcc gags on __attribute__. Martin Pool 2002-03-25 06:49:08 +00:00
  • 4f2dcb1714 If we discover a hardlink with -vv say what it's a link to. Martin Pool 2002-03-25 06:27:44 +00:00
  • 64e74631e0 Fix from Jos for batch mode on Solaris. Martin Pool 2002-03-25 06:06:29 +00:00
  • fba31efb74 Disambiguate hard link messages. Martin Pool 2002-03-25 05:54:31 +00:00
  • 435f1ed70d Apparently SGI make doesn't like $< in non-implicit rules. Martin Pool 2002-03-25 04:36:56 +00:00
  • 94f34ca10a Doc. Martin Pool 2002-03-25 04:04:23 +00:00
  • b0633744fa Note about mkdir bug. Martin Pool 2002-03-25 03:56:38 +00:00
  • c127e8aaec Add a test case for trim_trailing_slashes, and make it handle other cases. Martin Pool 2002-03-25 03:51:17 +00:00
  • bf4e725d5d Code that was meant to trim trailing slashes from mkdir() paths actually did not; fix it. Martin Pool 2002-03-25 03:29:47 +00:00
  • 663717f465 Need to also delete getgroups when cleaning. Martin Pool 2002-03-25 03:26:28 +00:00
  • 12b159ac41 Define NGROUPS if not already done. Martin Pool 2002-03-25 03:18:36 +00:00
  • 9299c8f0b4 Clean testtmp*, because we now put tests in their own directories. Martin Pool 2002-03-25 03:16:35 +00:00
  • dfef3f1099 Change chgrp.test to use our getgroups rather than the system's. Martin Pool 2002-03-25 03:01:37 +00:00
  • fa3690f488 Initial revision. Martin Pool 2002-03-25 02:58:59 +00:00
  • 4acbfa2ade Add our own little tool to call getgroups(2) because it's too hard to find a portable shell command that does it. Martin Pool 2002-03-25 02:55:52 +00:00
  • ef86d74736 Clean up text. Martin Pool 2002-03-22 22:36:22 +00:00
  • 118f39d45b Clean up text. Martin Pool 2002-03-22 22:33:49 +00:00
  • 77867907ed Doc permissions while testing. Martin Pool 2002-03-22 06:22:53 +00:00
  • 98c1b32565 Rather than literally "nobody", try using uid/gid = 65534 as "nobody". The existing code kind-of assumes this. Martin Pool 2002-03-22 06:12:51 +00:00
  • 7a176e87d5 Better messages. Martin Pool 2002-03-22 06:09:09 +00:00
  • 79c9d8a180 Proper messages for skipped tests. Martin Pool 2002-03-22 06:07:50 +00:00
  • 7d8219327b If tests are skipped, explain why. Martin Pool 2002-03-22 06:03:46 +00:00
  • 4ac4bdbb38 More sgml cleanups. Martin Pool 2002-03-22 06:02:28 +00:00
  • f494f2864c Doc about checkit. Martin Pool 2002-03-22 05:59:12 +00:00
  • 017f22b47f Add /usr/xpg4/bin/ to PATH to help solaris. Martin Pool 2002-03-22 05:52:09 +00:00
  • dec41b556b Cope on systems without the whoami command. Martin Pool 2002-03-22 05:20:47 +00:00
  • be2961da2c If there's an error in start_socket_client, print an explanation as well as failing. Martin Pool 2002-03-22 05:19:19 +00:00
  • 914cc65c9d Doc. Martin Pool 2002-03-22 05:14:44 +00:00
  • 6479c2ed3f Notes on logging etc Martin Pool 2002-03-22 05:11:39 +00:00
  • c1a04ecbfd Doc. Martin Pool 2002-03-22 05:08:53 +00:00
  • 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. Martin Pool 2002-03-22 05:06:36 +00:00
  • 6aaf8d8c10 * Make "make install-strip" works properly, and "make install" accepts a DESTDIR variable for help in building binary packages. (Peter Breitenlohner) Martin Pool 2002-03-20 05:53:40 +00:00
  • 4cf64834ed Patch from Paul Haas: Martin Pool 2002-03-20 01:09:49 +00:00
  • 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. David Dykstra 2002-03-19 20:16:42 +00:00
  • 24448f741f Clean up sgml. Martin Pool 2002-03-19 05:52:34 +00:00
  • 76533c52dc todo: Versions of read() and write() that corrupt the stream, or abruptly fail Martin Pool 2002-03-19 05:23:04 +00:00
  • 3ff984d7a7 Fix --help layout. Martin Pool 2002-03-19 05:09:19 +00:00
  • 7a52790b50 Fix overly long line in version. Martin Pool 2002-03-19 05:01:36 +00:00
  • 7b329a2d79 Follow advice from GPL to insert a disclaimer of warranty in the version and help information. Martin Pool 2002-03-19 05:00:05 +00:00
  • 599dc93c64 Doc: Pipe program that makes slow/jerky connections. Martin Pool 2002-03-19 04:14:30 +00:00
  • 8b54f00466 Include all fields in the options table to quieten gcc warnings about missing initializers. Martin Pool 2002-03-19 04:10:07 +00:00
  • 8469faef03 Intentional test of assert :_) Martin Pool 2002-03-19 03:59:51 +00:00
  • bceec82f35 Previous solution for --no-whole-file would probably break when connecting to old servers that don't have --no-whole-file. Martin Pool 2002-03-19 03:39:42 +00:00
  • ed521de525 Sending --no-whole-file is no good because it will not work with old versions of rsync. Martin Pool 2002-03-19 03:27:33 +00:00
  • d157de203a Typo. Martin Pool 2002-03-19 03:23:08 +00:00
  • 1bfbf40bd5 Fix --whole-file problem that caused it to be the default even for remote connections. (Frank Schulz) Martin Pool 2002-03-19 03:21:53 +00:00
  • 6d19c6742c Need a test for "refuse options" Martin Pool 2002-03-16 09:26:33 +00:00
  • a628b06977 Note about 100295@bugs.debian.org Martin Pool 2002-03-16 09:11:56 +00:00
  • 6b2d24de2c Make sure that freeaddrinfo is called on all code paths leading away from a call to getaddrinfo. (Dave Dykstra) <20011219085021.A23107@lucent.com> Martin Pool 2002-03-16 09:00:44 +00:00
  • e23d790fa7 Doc: Note from Dave Dykstra that getaddrinfo calls must be paired with freeaddrinfo(). Martin Pool 2002-03-16 08:23:08 +00:00
  • 2a5904a580 Add more rules for make distclean. Martin Pool 2002-03-16 08:21:15 +00:00
  • 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. Martin Pool 2002-03-16 08:18:19 +00:00
  • 142f5be922 Note about --progress patch. Martin Pool 2002-03-16 00:00:43 +00:00
  • b17dd0c435 Note about debian #28416 Martin Pool 2002-03-15 14:01:43 +00:00
  • 3669201179 Add debian bug # Martin Pool 2002-03-15 13:42:42 +00:00
  • a5c48193c7 Keep stderr and stdout properly separated (Debian #23626) Martin Pool 2002-03-15 13:38:12 +00:00
  • 4366275bab Doc: Debian uses "nogroup" instead of group "nobody", so our defaults are not so good. Martin Pool 2002-03-15 12:53:21 +00:00
  • c579310a00 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) Martin Pool 2002-03-15 12:45:10 +00:00
  • 96553aa7ef Typo. Martin Pool 2002-03-15 06:29:22 +00:00