Commit Graph

  • da0405080e The call to test_skipped if makepath failed didn't work, presumably because makepath is builtin and there's some problem with it causing /bin/sh to exit on cygwin. Parens around the call to makepath should help. David Dykstra 2003-01-10 18:32:59 +00:00
  • 0c0a3e2dd3 Clean up better after the testsuite check programs. Patch from J.W. Schultz. David Dykstra 2003-01-10 15:16:23 +00:00
  • ad301e487c Skip the longdir test if the long directory can't even be created, such as on cygwin (maybe only on certain filesystems?). David Dykstra 2003-01-10 15:06:10 +00:00
  • b5ae4aba38 Reset the io_error_fd right before the generator kills off the receiver (because the death of the receiver will close the fd and cause the generator to fail in any subsequent IO). Wayne Davison 2003-01-10 08:32:09 +00:00
  • 8d2aad49e3 AI_NUMERICHOST is not defined on AIX. David Dykstra 2003-01-09 21:30:24 +00:00
  • bc2b4963a0 Support IPv6 addresses with "hosts allow" and "hosts deny". Patch from Hideaki Yoshifuji. David Dykstra 2003-01-09 21:14:10 +00:00
  • ee7118a816 Fixed bug that caused rsync to lose exit status of its child processes. Based on patch submited by David R. Staples. Todd Vander Does contributed the following test which showed the problem: > mkdir /tmp/nowrite > chmod -w /tmp/nowrite > rsync /etc/group /tmp/nowrite || echo $status mkstemp .group.cUaaeY failed rsync error: partial transfer (code 23) at main.c(518) 23 > rsync -e ssh loki:/etc/group /tmp/nowrite || echo $status mkstemp .group.1rayeY failed > rsync -e ssh loki:/etc/group /tmp/nowrite && echo $status mkstemp .group.fbaGiY failed 0 The remote copy should have returned non-zero exit code like the local copy. David Dykstra 2003-01-09 19:04:06 +00:00
  • 95dd949c09 Added .svn/ to the cvs_ignore_list and some trailing slashes to the other dirs in the list. Wayne Davison 2003-01-09 03:55:57 +00:00
  • 9326552e66 Added .svn/ to the --cvs-exclude list and some trailing slashes to the other dirs in the list. Wayne Davison 2003-01-09 03:53:24 +00:00
  • 1e34e4b7cd Add "void" to some function definitions so that all declarations in proto.h have full parameter lists. This helps unbreaking compilation on SCO UNIXWare. Jos Backus 2002-12-24 07:42:04 +00:00
  • 06464f55e2 Change all relevant occurrences of `rsync'' and $rsync_bin'' to the canonical form `$RSYNC'' (set in testsuite/rsync.fns). This prevents any stray rsync binaries in the user's PATH from being picked up by the test scripts and ensures that the newly built rsync binary is used always. Jos Backus 2002-12-24 07:25:25 +00:00
  • 1b85e3f1a0 When a file shows up as not existent during an rsync run, always check to see if it excluded before reporting an error. Previously it was only checking for the exclusion if copy_links was enabled, but the error can also occur if a file disappears during an rsync run. Suggested by Eugene V. Chupriyanov and Bo Kersey. David Dykstra 2002-12-11 18:48:27 +00:00
  • eac9dc63e3 Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on the new rsync being in $PATH; it may pick up an old version, invalidating the result of the tests. This is what the other tests do already. Jos Backus 2002-11-05 18:35:59 +00:00
  • 30e8c8e1e4 When using daemon mode over a remote shell program and not running as root, default the config file to just "rsyncd.conf" in the current directory instead of /etc/rsyncd.conf. Also, fix problems with logging messages when running daemon mode over a remote shell program: it was pretty much doing the opposite of what it should have, sending early error messages to the log and later messages to the client. Switched it around so the very early error messages go to the client and the later ones go to the log. David Dykstra 2002-08-30 23:27:26 +00:00
  • d53d7795ee Change wording of --compare-dest option to refer to the --link-dest option. David Dykstra 2002-08-30 15:12:47 +00:00
  • 59c95e4243 Add --link-dest option from J.W. Schultz. David Dykstra 2002-08-29 14:44:55 +00:00
  • f8a94f0de8 Patch from J.W. Schultz to have --include-from and --exclude-from on filename "-" read from standard input. David Dykstra 2002-08-29 14:37:20 +00:00
  • 3b5f6214a6 * Don't call getnameinfo() if we've already populated the addr_buf. * Moved some structures in client_name() so that they remain in-scope for the entire function (since we set pointers to their storage location). * Allow the dot-counting loop to increment to 4 instead of stopping at 3. Wayne Davison 2002-08-02 17:11:39 +00:00
  • 542ad675b9 Put in better method of checking whether or not daemon over --rsh mode is in place: simply check the "am_server" global variable, which is not set true when the daemon is listening for connections (daemon_main is not called in main.c if am_server is set). David Dykstra 2002-08-02 15:39:43 +00:00
  • 1e736b8ff7 Fix client_name to work on when INET6 is enabled but using a 4-part IPv4 IP address. Tested on Linux, but only with an IPv4 ssh. Somebody who has IPv6 enabled on ssh needs to test it yet. David Dykstra 2002-08-02 15:05:03 +00:00
  • a6d8c3f336 Fix last change to use correct IPv6 structure names when using INET6. Doesn't yet look up names correctly on Linux with INET6 enabled, however; needs further work but I don't have time right now. David Dykstra 2002-08-01 21:57:23 +00:00
  • bb4aa89c10 Don't pass "-l user" to the remote shell if we're starting a server-daemon and the command already has a "-l user" option. Wayne Davison 2002-08-01 20:46:59 +00:00
  • 09021eabb5 Fix to correctly identify remote IP address and host name when using -e ssh and :: together. Uses $SSH_CLIENT to locate the IP address (was attempting to before but it didn't always work) and then uses inet_pton() on that and getnameinfo() to find the name. David Dykstra 2002-08-01 19:17:00 +00:00
  • 8d69d57113 Documented that the rsync:// URL syntax is now legal in the destination. Wayne Davison 2002-08-01 17:55:40 +00:00
  • eaa4c150ab Mention the new rsync:// URL-in-the-destination syntax. Wayne Davison 2002-08-01 17:55:11 +00:00
  • a125c82ad2 Allow the rsync:// URL syntax in the destination field. Wayne Davison 2002-08-01 17:53:38 +00:00
  • 93eff16a6a Document more recent changes. Wayne Davison 2002-08-01 17:53:07 +00:00
  • d2d9fe184d Mention the recent commits. Wayne Davison 2002-08-01 16:50:46 +00:00
  • 2d4ca358db Slight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A REMOTE SHELL PROGRAM from within the --rsh option. David Dykstra 2002-08-01 16:21:20 +00:00
  • 39993af514 The function passed to start_accept_loop() now takes 2 fd ints (for the daemon via remote-shell support). Wayne Davison 2002-08-01 00:37:08 +00:00
  • bef4934045 Document the new server-daemon via remote-shell mode. Wayne Davison 2002-08-01 00:37:06 +00:00
  • 1312d9fc47 If daemon_over_rsh is set, we limit the generated options to just --server and --daemon. Wayne Davison 2002-08-01 00:37:01 +00:00
  • 75aeac44e8 Handle the new server-daemon via remote-shell mode. Wayne Davison 2002-08-01 00:36:59 +00:00
  • 68f40ebba9 Moved the end of start_socket_client() into a new function called start_inband_exchange() and made several functions take two fds (for the daemon via remote-shell support). The start_daemon() function is no longer static and now works on non-socket fds. Wayne Davison 2002-08-01 00:36:56 +00:00
  • 973007daac Changed auth_server() to take two fds (for the daemon via remote-shell support). Wayne Davison 2002-08-01 00:36:54 +00:00
  • 8060514230 Stefan Nehlsen's fix of a timeout problem on large files. (Modified to work with the latest CVS source.) Wayne Davison 2002-07-31 21:20:07 +00:00
  • b1a2f37a6e Mention the popt upgrade. Wayne Davison 2002-07-27 18:33:54 +00:00
  • 7c66b86028 Check for the float.h header file (for popt). Wayne Davison 2002-07-27 18:33:30 +00:00
  • cc248aae9b Updated to version 1.6.4. Wayne Davison 2002-07-27 18:32:25 +00:00
  • ca23c51aeb - Fixed a crash in flist_find() when the last item in the flist has been removed as a duplicate. - Got rid of a compiler warning about mixed signed/unsigned types in a conditional expression. Wayne Davison 2002-07-27 18:01:21 +00:00
  • fca9a9b0f0 Document in --owner and "use chroot" that --numeric-ids is implied when use chroot is yes. David Dykstra 2002-06-27 17:51:25 +00:00
  • 1ea15dbe05 Added Solaris PkgInfo build script from Jens Apel <jens.apel@web.de> John H Terpstra 2002-06-22 16:52:15 +00:00
  • 8e34cd41f0 Close previously opened file descriptor when mkstemp fails in recv_files(). Every other failure condition in that function was alreadying doing this, and I saw a case with a lot of "mkstemp...No space left on device" messages started becoming "mkstemp...Too many open files" messages because of this bug. Not that it makes a whole lot of difference, since nothing gets copied because the disk was out of space. David Dykstra 2002-05-28 15:42:51 +00:00
  • 9ef1cc7cdf Clarify the relationship of max connections and lock file. David Dykstra 2002-05-16 21:07:23 +00:00
  • 411acbbc2a Better notes about handling IPv6 on old machines Martin Pool 2002-05-14 05:44:51 +00:00
  • 32e83406c4 Fix little mistake Martin Pool 2002-05-14 05:31:11 +00:00
  • 7e28fca126 Note about lchmod. Martin Pool 2002-05-14 05:25:46 +00:00
  • e4ffb53900 Fix the rsync home page URL to drop a trailing "/rsync". David Dykstra 2002-05-13 18:34:37 +00:00
  • 7c2d381c28 Clarify that exclude/include options in rsyncd.conf apply only to files sent from the server or deleted on the server. David Dykstra 2002-05-13 18:22:28 +00:00
  • bde47ca7c5 Note that using the old sockets API probably will not work sufficiently on some ipv6 systems. Martin Pool 2002-05-13 07:54:47 +00:00
  • ea7f8108b0 Make the -e text a little less chatty, and mention the legality of command-line options in the RSYNC_RSH section. Wayne Davison 2002-05-11 08:31:55 +00:00
  • 98393ae2e2 Mention that the -e COMMAND can contain options. Wayne Davison 2002-05-10 19:56:23 +00:00
  • 759ac87019 Submit enhancement from Michael Zimmerman to allow --suffix to be used with --backup-dir. David Dykstra 2002-05-09 21:44:46 +00:00
  • a1e0e45e01 Indicate that the exclude options in rsyncd.conf only apply when receiving files to a server and not when sending files to it. David Dykstra 2002-05-09 19:03:40 +00:00
  • 54170a084d Tweaked the --rsh option's description. Wayne Davison 2002-05-06 19:05:05 +00:00
  • 1bbf83c07d - Improved the references to rsh to better indicate that rsync may be configured to use some other remote shell by default. - Fixed the mention of ssh's preferred IO-blocking mode. Wayne Davison 2002-05-06 19:02:44 +00:00
  • ccd2b499ed Mention that --delete-after now implies --delete. Wayne Davison 2002-05-06 18:47:57 +00:00
  • 1de50993a7 Made the --delete-after option imply --delete. Wayne Davison 2002-05-03 22:59:17 +00:00
  • 786c36876b Mentioned that --delete-after and --delete-excluded imply --delete. Wayne Davison 2002-05-03 22:58:01 +00:00
  • 8bd1a73e14 Add note about resolving Debian gid problem. Martin Pool 2002-04-26 00:55:34 +00:00
  • c7d692c3c3 Notes about handling machines lacking getaddrinfo(). Martin Pool 2002-04-24 01:13:26 +00:00
  • f9b9e2f067 Note from Alberto Accomazzi that rsync urls are broken for upload Martin Pool 2002-04-19 05:33:36 +00:00
  • dafe63ca98 Doc. Martin Pool 2002-04-16 01:38:21 +00:00
  • f49a7b227f When -e is specified along with an rsyncd url, the client should get a warning but it should not be treated as an error. (Bill Nottingham) Martin Pool 2002-04-15 07:50:18 +00:00
  • f5e4eadb74 --no-blocking-io might be broken in the same way as --no-whole-file; somebody needs to check. Martin Pool 2002-04-15 05:05:57 +00:00
  • 717eb9b883 Note about testing "refuse options" Martin Pool 2002-04-13 12:17:47 +00:00
  • 5ba268efa8 *** empty log message *** Martin Pool 2002-04-13 03:52:48 +00:00
  • 25ff30e804 Notes on testing, release, and todo items from the Debian paper. Martin Pool 2002-04-12 05:05:44 +00:00
  • bdae761ee1 reformat Martin Pool 2002-04-12 04:22:52 +00:00
  • 5af50297be Note about manual revision. Martin Pool 2002-04-11 02:35:25 +00:00
  • 32f761755e Try to fix ctype issues by always calling these functions as Martin Pool 2002-04-11 02:25:53 +00:00
  • c4fea82ff9 Doc. Martin Pool 2002-04-11 02:21:41 +00:00
  • 6ded1170ac Doxygen Martin Pool 2002-04-11 02:18:51 +00:00
  • 991f90f296 Receiving an @ERROR line from the server is (I think) always fatal, so the client should exit upon receiving one and not be surprised that the socket closes. Martin Pool 2002-04-11 02:16:34 +00:00
  • c979dad54a Fix old typo. Martin Pool 2002-04-11 02:11:50 +00:00
  • 136ac7ecec Receiving an @ERROR line from the server is (I think) always fatal, so the client should exit upon receiving one and not be surprised that the socket closes. Martin Pool 2002-04-11 01:56:35 +00:00
  • 3e8369b6dc Correction from Nelson Beebe: argument to functions such as isspace() must be an int, not a char. This could cause sign-extension problems. Martin Pool 2002-04-09 06:32:07 +00:00
  • a7dc44d27d Doc. Martin Pool 2002-04-09 06:18:13 +00:00
  • 07a874fd9b Correction from Nelson Beebe: argument to functions such as isspace() must be an int, not a char. This could cause sign-extension problems. Martin Pool 2002-04-09 06:15:13 +00:00
  • e35080cede long int and signedness fix from Nelson Beebe Martin Pool 2002-04-09 06:11:06 +00:00
  • ce8149b6fe long int fix from Nelson Beebe Martin Pool 2002-04-09 06:03:50 +00:00
  • a86179f429 Fix type error. Martin Pool 2002-04-09 05:32:52 +00:00
  • 56cf38ac98 Add RERR_OK == 0 Martin Pool 2002-04-09 05:29:26 +00:00
  • b0f451eb3b Doc _exit_cleanup. Martin Pool 2002-04-09 05:26:46 +00:00
  • d0829892c6 Doc start_socket_client Martin Pool 2002-04-09 05:23:07 +00:00
  • fdf88d7574 Doc start_socket_client Martin Pool 2002-04-09 05:20:30 +00:00
  • 595f2d4d97 Notes about supplementary groups and -z. Martin Pool 2002-04-09 05:14:59 +00:00
  • cae95647a4 Doc. Martin Pool 2002-04-09 05:07:15 +00:00
  • a254fd9798 Doc. Martin Pool 2002-04-09 05:03:45 +00:00
  • 805edf9d7d A bit more support for IO phase names. Martin Pool 2002-04-09 05:00:03 +00:00
  • eca2adb4b3 OK, we can now get phase messages if we fail in send_file_entry Martin Pool 2002-04-09 04:50:25 +00:00
  • 4eea7793ea Doc Martin Pool 2002-04-09 04:49:42 +00:00
  • 67684d038d long int fix from Nelson Beebe Martin Pool 2002-04-09 04:49:23 +00:00
  • 98b332edea Fix typo. Martin Pool 2002-04-09 04:41:03 +00:00
  • e681e82066 Rather than a loop subtracting 1e6 to convert usecs to secs/usecs, just use div/mod. Martin Pool 2002-04-09 04:33:32 +00:00
  • 08571358b1 Factor out bwlimit sleep code from writefd_unbuffered into its own function. Martin Pool 2002-04-09 04:29:46 +00:00
  • 8901a07fdb Clarify "error writing %d bytes" message. Martin Pool 2002-04-09 04:23:18 +00:00
  • 880da0072e Clean up docs. Martin Pool 2002-04-09 04:20:36 +00:00
  • a83600cc82 Change error message "partial transfer" to "some files could not be transferred". Martin Pool 2002-04-08 09:10:50 +00:00
  • dd0628f85f Note code cleanups Martin Pool 2002-04-08 09:09:03 +00:00