Commit Graph

  • d02984bbb7 Doc. Martin Pool 2002-01-24 04:19:41 +00:00
  • 0f9555207a Fix const Martin Pool 2002-01-24 04:07:07 +00:00
  • 885448d74c Unbreak the old behavior of using UNKNOWN as a hostname if any of the addr->name->addr translations fail, because people might count on this in "hosts deny" lines. Martin Pool 2002-01-24 04:03:06 +00:00
  • b14545b3ff Fix inverted sense of error check. Martin Pool 2002-01-24 03:31:28 +00:00
  • 9a5a86734f Refactor client_name() into smaller functions. Martin Pool 2002-01-24 03:28:20 +00:00
  • d1d1505045 Doc. Martin Pool 2002-01-24 03:03:20 +00:00
  • 144ce1dc21 Bump version to 2.5.2pre2. Martin Pool 2002-01-24 03:01:42 +00:00
  • aa126974ba log_formatted: Fill the log buffer with nuls to make sure we cannot accidentally leave the string unterminated. Martin Pool 2002-01-24 02:41:38 +00:00
  • 707de53457 Another harmless size_t warning. Martin Pool 2002-01-24 02:33:45 +00:00
  • 10f83cf43d Doc. v2.5.2pre1 Martin Pool 2002-01-23 08:08:48 +00:00
  • 59ee743c5f More size_t fixes. Martin Pool 2002-01-23 08:04:54 +00:00
  • d54765c442 Just for variety we have some socklen_t fixes too. Martin Pool 2002-01-23 07:57:43 +00:00
  • 91262d5d3e Refactor code in send_sums to remove repeated ternaries. Martin Pool 2002-01-23 07:54:13 +00:00
  • 1c09c743b1 indent -kr -i8 Martin Pool 2002-01-23 07:52:52 +00:00
  • 06ce139fcc Fix more ints that ought to be size_t's. Martin Pool 2002-01-23 07:48:35 +00:00
  • fae5bb3183 Doc. Martin Pool 2002-01-23 07:42:30 +00:00
  • 6fe25398d6 Fix another int that ought to be a size_t. Martin Pool 2002-01-23 07:36:23 +00:00
  • 909ce14fc4 indent -kr -i8 Martin Pool 2002-01-23 07:34:26 +00:00
  • 935b920120 Another signedness fix to quieten Sun cc warning. Martin Pool 2002-01-23 07:32:29 +00:00
  • b31427cd4a Skip this for now; it's a known bug Martin Pool 2002-01-23 07:28:38 +00:00
  • e2e3379d79 Bump version to 2.5.2pre1. Martin Pool 2002-01-23 07:22:03 +00:00
  • 6b1ef85dd8 Note batch-mode changes. Martin Pool 2002-01-23 07:18:58 +00:00
  • 92325ada0c Note about proxy authentication and SOCKS. Martin Pool 2002-01-23 07:12:57 +00:00
  • 1707e0f9e2 Indent. Martin Pool 2002-01-23 06:48:13 +00:00
  • 7ff701e816 Update thankyou list. Martin Pool 2002-01-23 05:59:10 +00:00
  • 2e3c141795 Note that batch mode is currently experimental. Martin Pool 2002-01-23 05:53:58 +00:00
  • 76f79ba748 Patch from Jos Backus -- Fix breakage from dev_t to DEV64_T in batch mode. Martin Pool 2002-01-23 05:51:06 +00:00
  • 9dd891bb28 Signedness security patch from Sebastian Krahmer <krahmer@suse.de> -- in some cases we were not sufficiently careful about reading integers from the network. Martin Pool 2002-01-23 04:57:18 +00:00
  • 99f106d1cf If using gcc, then also turn on -W to get even more warnings. Martin Pool 2002-01-23 03:52:06 +00:00
  • 3816cae745 Don't need to reread configuration on SIGHUP because we always do that on new connections. Martin Pool 2002-01-21 01:57:13 +00:00
  • 759c0627e1 Aack! Since released version 2.5.0, the --whole-file option was accidentally changed to --whole. Change it back. Anybody who wants to use this option with any version of rsync will have to switch to using -W. David Dykstra 2002-01-15 21:25:55 +00:00
  • e03dfae507 Change gratuituous strlcat's into strlcpy, since we already know the length of the existing string. Martin Pool 2002-01-15 11:50:32 +00:00
  • c7677b892a Clearer doc. Martin Pool 2002-01-15 11:32:30 +00:00
  • da7b63972d Add --enable-profile to turn on gprof. This is not perfect, because it seems to only write to ./gmon.out, and that causes trouble when there are several rsync processes in the same directory. But you can make it work. Martin Pool 2002-01-15 11:20:26 +00:00
  • 499957d9ba Update Martin Pool 2002-01-15 10:47:59 +00:00
  • 582250008b The Ted T'so school of program optimization: make progress visible and people will think it's faster. Martin Pool 2002-01-15 10:43:51 +00:00
  • a9b31409d5 Remove unused variable. Martin Pool 2002-01-15 10:04:48 +00:00
  • 98355b8086 Oops, getaddrinfo returns an error code (not -1) for error. -Wall is good. Martin Pool 2002-01-15 10:04:11 +00:00
  • 70ed474b38 Define _GNU_SOURCE so that we get all necessary prototypes. Martin Pool 2002-01-15 09:53:27 +00:00
  • 4775934364 If using GCC, try to turn on -Wall. I want to be clean with respect to -Wall. Martin Pool 2002-01-15 09:43:21 +00:00
  • 25f2cb3d6b Fix for <http://rsync.samba.org/cgi-bin/rsync/incoming?id=3750> Martin Pool 2002-01-14 00:16:51 +00:00
  • 154f9a3aca Ignore testtmp directories. Martin Pool 2002-01-13 23:57:13 +00:00
  • b9df3bf20c DOc. Martin Pool 2002-01-11 08:37:42 +00:00
  • 6abd193fe3 Always use 64-bit ino_t and dev_t internally, so that we can detect hardlinks if coming from a larger platform. Add heaps of comments explaining why this is so. Martin Pool 2002-01-11 08:25:32 +00:00
  • 362099a512 More comments about IPv6 stuff. Martin Pool 2002-01-11 08:24:34 +00:00
  • fdfc3dc9f3 When checking what was copied, use specific -d -f -L flags to test rather than -e. (Perhaps Solaris doesn't have test -e?) Martin Pool 2002-01-11 08:08:34 +00:00
  • 4937459225 The current version of rsync is expected to fail to eliminate all duplicates from list. Martin Pool 2002-01-11 08:02:43 +00:00
  • be2f866b4c Add concept of expected-failure. Martin Pool 2002-01-11 08:01:05 +00:00
  • f08aacf7d6 Give cleaner output from "make check" Martin Pool 2002-01-11 07:41:50 +00:00
  • 4fa6112efe Bump version number. Martin Pool 2002-01-11 07:30:50 +00:00
  • 1623ba6889 Improved duplicates test: check that each file is copied once and exactly once. Martin Pool 2002-01-11 07:29:53 +00:00
  • 766526c791 Check whether code to eliminate duplicate filenames works (hint: it does not.) Martin Pool 2002-01-11 07:29:02 +00:00
  • 5c15e29f2b Better mallinfo() output in --stats Martin Pool 2002-01-11 07:26:39 +00:00
  • 0413e1605f Update copyright Martin Pool 2002-01-11 07:25:54 +00:00
  • 0e5a1f8352 Doc Martin Pool 2002-01-11 07:24:31 +00:00
  • e5a2b8544d Look for mallinfo() and use it to display heap usage information in --stats Martin Pool 2002-01-11 07:16:11 +00:00
  • 736a6a291c In protocol version 26, always send 64-bit ino_t and dev_t. We also need to try to use 64-bit ino_t internally *even if* this platform does not have 64-bit inums itself, because we need to find duplicate inums when coming from a larger platform with --hardlinks. Martin Pool 2002-01-11 07:15:16 +00:00
  • 6e69cff118 Autoindent Add copyright Martin Pool 2002-01-11 07:11:43 +00:00
  • cf72f20426 Improved test framework and test for hardlink handling Martin Pool 2002-01-11 07:11:23 +00:00
  • d479210cee Bump version Martin Pool 2002-01-11 07:10:25 +00:00
  • b781537597 Merge ChangeSet@1.12: Add test case for -H Martin Pool 2002-01-11 07:09:53 +00:00
  • ea1438dad8 Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H Martin Pool 2002-01-11 07:09:22 +00:00
  • d2e9d069b4 Merge ChangeSet@1.10: Documentation about flist scalabilityTODO Martin Pool 2002-01-11 07:07:49 +00:00
  • 58379559cc Merge ChangeSet@1.9: Documentation about flist scalability Martin Pool 2002-01-11 07:07:30 +00:00
  • b3e6c81565 Merge ChangeSet@1.4: Documentation about flist scalability Martin Pool 2002-01-11 07:05:30 +00:00
  • a6a3c3df45 Merge ChangeSet@1.4: Documentation about future development. Martin Pool 2002-01-11 07:04:37 +00:00
  • 6e3d4c4045 Oops, fix date. v2.5.1 Martin Pool 2002-01-03 07:18:17 +00:00
  • ca60b701ee preparing for release of 2.5.1 rsync-bugs 2002-01-03 07:11:10 +00:00
  • e24c0b98d7 Cleanup. Martin Pool 2002-01-03 07:08:35 +00:00
  • f389ac80a9 Removed debugging statement that was added to sig_int() by the rsync+ patch integration. It was causing the format of the daemon log to be messed up because of the leading \n. David Dykstra 2001-12-20 15:33:13 +00:00
  • 50f2f002d9 Suggestion from David Stein Martin Pool 2001-12-20 01:23:28 +00:00
  • 9ec7528475 Typo Martin Pool 2001-12-18 06:48:56 +00:00
  • a8e2a43a09 Get rid of global_opts struct as suggested by Dave -- too many problems with initialization. Martin Pool 2001-12-18 06:47:40 +00:00
  • eb06fa95e4 Documentation fixes based on mail from Edward Welbourne, and an attempted explanation of rsync's symbolic-link handling. Martin Pool 2001-12-18 06:45:28 +00:00
  • 1db8b61de7 Add an "unsafe" symlink to the symlink test case so we can see what happens. Martin Pool 2001-12-18 06:26:26 +00:00
  • 38c66db8d6 Note about hardlink performance. Martin Pool 2001-12-18 06:25:31 +00:00
  • f8be7d4219 Refactor code for setting local address on outgoing connections. If a local address is specified, then try all addrinfo records for it. Martin Pool 2001-12-18 06:21:33 +00:00
  • 13e29995f5 Get rid of global_opts struct as suggested by Dave -- too many problems with initialization. Martin Pool 2001-12-18 05:54:57 +00:00
  • 7c583c7316 Note rsyncd-over-ssh and documentation TODOs. Martin Pool 2001-12-18 01:33:56 +00:00
  • 9fecec5e85 Fix from Jeff Garzik for inet_ntop prototype errors on some Linux distributions: we were failing to define HAVE_INET_NTOP, so our prototype in rsync.h came through. Martin Pool 2001-12-18 01:32:27 +00:00
  • 9e696bd468 Update README so that Paulus doesn't get bug reports anymore :-) Martin Pool 2001-12-18 01:07:20 +00:00
  • 6ab6d4bfc1 When INET6 is not defined, meaning that IPv6 is not supported, need to initalize the global_opts.af_hint to AF_INET or systems such as Linux that have a native getaddrinfo() because they support IPv6 will attempt to create IPv6 sockets. This brings up a problem with the new global_opts structure; in order to initialize them to a value other than 0, we need to explicitly initialize them all in an order that matches the order in rsync.h. I think that's more inconvenient & error prone than keeping global variables. David Dykstra 2001-12-14 18:25:51 +00:00
  • cb1bcc7ebb open_socket_in was attempting to try all the protocols returned from getaddrinfo(), but only if a corresponding call to socket() returned one of three *NOSUPPORT errno codes. A Redhat 6.2 system was observed returning EINVAL instead so it never went on to try IPv4. This update adds EINVAL to the list. Question: why not always continue through the list regardless of what errno is? David Dykstra 2001-12-14 18:00:54 +00:00
  • 19ba7d6318 Verbose. Martin Pool 2001-12-14 05:55:21 +00:00
  • 7753ca1f49 Only show test output if it failed. Martin Pool 2001-12-14 05:54:24 +00:00
  • d52a796c39 Be less verbose. Martin Pool 2001-12-14 05:52:25 +00:00
  • 60514d457c Fix quoting. Martin Pool 2001-12-14 05:44:04 +00:00
  • 5bc00efe42 Perhaps Solaris sh wants us to explicitly exit 0, rather than just using the last return code? Martin Pool 2001-12-14 05:27:42 +00:00
  • c45f3133bc More error messages. Martin Pool 2001-12-14 05:19:15 +00:00
  • fb47591de0 Typo. Martin Pool 2001-12-14 05:17:52 +00:00
  • 514d129c49 Make scratch directory properly. Martin Pool 2001-12-14 05:01:48 +00:00
  • db843fc12d Doc. Martin Pool 2001-12-14 02:18:31 +00:00
  • 63787382d8 Clearer error messages. Martin Pool 2001-12-14 02:16:20 +00:00
  • 85d4d142d8 Clearer error messages. Martin Pool 2001-12-14 02:14:58 +00:00
  • 3cd2af41e4 Add a test that when none of -l, -L, -a are specified symlinks are not copied at all. Martin Pool 2001-12-14 02:01:46 +00:00
  • b214eda4f0 Clean scratch directory between each test run. Martin Pool 2001-12-14 01:52:43 +00:00
  • 0771727d41 Readlink(2) does not nul-terminate the output buffer, so we were getting corrupt output when listing more than one symlink. Martin Pool 2001-12-14 01:48:48 +00:00
  • a5d74a1876 Fix contact details. Martin Pool 2001-12-14 01:09:23 +00:00
  • 23bf32f767 Don't define DEBUG with --enable-debug, because that makes zlib emit strange messages Martin Pool 2001-12-09 21:48:13 +00:00
  • 87a819edee IRIX cc cares that the operands to the ternary have the same type. v2.5.1pre3 Martin Pool 2001-12-05 13:48:41 +00:00