Commit Graph

  • 6773a7798f Oops, fix bash syntax Martin Pool 2001-11-27 07:09:47 +00:00
  • 2d4c8e5945 The size of anything but a regular file is probably not worth thinking about. Martin Pool 2001-11-27 07:07:36 +00:00
  • 087173c887 When producing a ls-style permissions string, also handle sticky/setuid/setgid bits the same way as GNU ls. Martin Pool 2001-11-27 07:05:33 +00:00
  • 57835c00ad Use tls rather than the OS's ls(1) so that we have more chance of reproducible results. Martin Pool 2001-11-27 06:51:51 +00:00
  • 4ed886ae6e Also list permissions, ownership, size, and mtime. Martin Pool 2001-11-27 06:45:47 +00:00
  • 740819ef7b Split code to generate "rwx-----" strings into lib/permstring.c so it can be reused in tls. Martin Pool 2001-11-27 06:43:17 +00:00
  • 829230689e Build getaddr/nameinfo into lib/. Martin Pool 2001-11-27 06:41:38 +00:00
  • 77ba4cc2f9 make clean can rm config.cache but not config.h, or it wil jam. Martin Pool 2001-11-27 06:39:02 +00:00
  • e94989fe4d Try to fix LIBOBJ detection of ntop/pton. Martin Pool 2001-11-27 06:17:33 +00:00
  • c11b88061f Fix missing parameter in log call. Martin Pool 2001-11-27 06:01:05 +00:00
  • 647c5433f8 Make clean should also remove the autoconf cache etc. Martin Pool 2001-11-27 05:35:14 +00:00
  • 8f694072a5 Add Paul Vixie's implementation of inet_ntop and inet_pton for platforms that don't have them. Martin Pool 2001-11-27 05:22:23 +00:00
  • 9a689986c6 Look in -lresolv for inet_ntop Martin Pool 2001-11-27 04:53:08 +00:00
  • 3174b31d96 Check for inet_ntop and inet_pton, which may be missing. Martin Pool 2001-11-27 03:49:53 +00:00
  • 4eb61975b7 Explain IPv6 merge. Martin Pool 2001-11-27 02:28:36 +00:00
  • 76e26e1042 Better fix for case of excluded symlinks that point nowhere when using --copy-links. The readlink_stat() does need to be done in the normal case before checking the exclude patterns because it needs to know whether or not a file is a directory in order to properly handle a trailing slash in an exclude pattern. This fix makes make_file() go ahead and call readlink_stat() but then if the latter returns an ENOENT and copy_links is on then it will only print an error if the path is not excluded. David Dykstra 2001-11-26 19:15:53 +00:00
  • 9069dfd005 Fix rename of global option Martin Pool 2001-11-26 08:21:30 +00:00
  • 2be5d2daad Remove kame cruft Martin Pool 2001-11-26 08:21:14 +00:00
  • 22cd0063e5 Attempted clean up some of the IPv6 tests. Martin Pool 2001-11-26 08:20:13 +00:00
  • 3d2e458a4d Fix a small memory leak that was causing an Insure warning. Martin Pool 2001-11-26 07:58:47 +00:00
  • a57568d716 Oops, no C++ comments. Martin Pool 2001-11-26 07:47:59 +00:00
  • 61f543cade Kill a function for jra. Martin Pool 2001-11-26 07:11:55 +00:00
  • b8771f9615 Try to be better about handling the results of getaddrinfo(): when opening an inbound socket, we might get several address results, e.g. for the machine's ipv4 and ipv6 name. Martin Pool 2001-11-26 07:10:06 +00:00
  • d5d4b28220 Put the new address family option into an options struct. We have too many globals already. Martin Pool 2001-11-26 04:52:19 +00:00
  • a037edaccd Silly autoconf Martin Pool 2001-11-26 01:49:33 +00:00
  • 356bbb8351 Check for -lnsl, -lsocket, etc, *before* looking for getaddrinfo, because on Solaris (for one) it's not in libc. Martin Pool 2001-11-26 01:15:12 +00:00
  • 1f0fa9318a Remove highly suspicious redefinition of sockaddr structure -- there seems no point using anything but the platform's native definition, and if we can't get that from the system headers we're hosed anyhow. Martin Pool 2001-11-26 00:41:11 +00:00
  • 15c1707887 Remove check for buggy getaddrinfo for the time being -- it's unclear how this is supposed to help. Martin Pool 2001-11-26 00:23:29 +00:00
  • 9dec7aa9c1 Make some of the headers used by the KAME getaddrinfo implementation be conditional -- they are missing on e.g. Solaris. Not sure if this will fix it. Martin Pool 2001-11-25 09:30:36 +00:00
  • bc3d7454e0 Fix KAME patch to use proper autoconf AC_MSG macros rather than just echo/exit. Martin Pool 2001-11-24 05:38:35 +00:00
  • 56901bc7c3 Call this pre3. Martin Pool 2001-11-24 05:33:35 +00:00
  • 5c7f570b16 IPv6 is off by default. Martin Pool 2001-11-24 05:31:40 +00:00
  • 4f6e5fe323 IPv6 is off by default -- it seems to break header files on too many systems. Martin Pool 2001-11-24 05:30:27 +00:00
  • 7d682ffea7 Note IPv6 and nohang patches. v2.4.7pre2 Martin Pool 2001-11-24 05:13:12 +00:00
  • cef40af209 Get rid of rule disliked by Sun Make. Martin Pool 2001-11-24 05:06:07 +00:00
  • a358449ab1 Set rsync version in configure.in Martin Pool 2001-11-24 04:57:41 +00:00
  • 8ef6b72514 Fix Makefile syntax problem when LIBOBJS is defined. Martin Pool 2001-11-24 04:33:07 +00:00
  • 620bbabc61 Try to get IPv6 support, unless --disable-ipv6 is explicitly specified. Martin Pool 2001-11-24 04:29:37 +00:00
  • 7ef6aa6405 Improved error messages. Martin Pool 2001-11-24 04:22:20 +00:00
  • 7ad1d4fd66 Rebuild if headers changed. Martin Pool 2001-11-24 04:16:18 +00:00
  • bf5c2bf604 More autoconf fixes. Martin Pool 2001-11-24 04:12:54 +00:00
  • b8fe70a516 Ignore trash Martin Pool 2001-11-23 07:37:26 +00:00
  • 06963d0fca Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnames or literal IP addresses to rsync, and if your platform supports them they will be used. Also there are -4 and -6 command-line options to choose the default address type. Thankyou! Martin Pool 2001-11-23 07:35:49 +00:00
  • b964901f7d Fix to make_file() to exit earlier if a file is excluded, because doing readlink_stat() on an excluded file can be a problem when using the --copy-links option (also known as -L) and the excluded file is a symlink that points nowhere. David Dykstra 2001-11-16 19:19:44 +00:00
  • b52c1d9d3a Document chroot confusion. Martin Pool 2001-11-09 06:58:39 +00:00
  • a24e12e6dd More notes. mbp_bk_export0 Martin Pool 2001-09-12 14:35:39 +00:00
  • 3c6cd53b23 Think think. Martin Pool 2001-09-12 14:20:44 +00:00
  • 4f69fe59c7 Start to wrap up all thoughts on what should happen for rsync 3. Martin Pool 2001-09-12 08:51:24 +00:00
  • d2e02b7d96 Fix from Marc Espie to make included-popt work with VPATH builds. Martin Pool 2001-09-12 08:46:29 +00:00
  • a57873b710 fixed check for timeout in generator Andrew Tridgell 2001-09-09 04:42:09 +00:00
  • 30ce7e8a64 64-bit files depends on the size of OFF_T, not off64_t Andrew Tridgell 2001-09-09 04:41:14 +00:00
  • f0af1e5ec6 debian stable screws up largefile support for fcntl locking. This adds a test for the screwup and disables largefile support Andrew Tridgell 2001-09-08 12:48:50 +00:00
  • f7ca98bdc4 Doc. Martin Pool 2001-09-07 07:57:10 +00:00
  • 7df0935a51 Add a little implementation of ls(1) so that we can look at all and only the attributes of files that rsync is meant to synchronize. Martin Pool 2001-09-07 07:52:34 +00:00
  • f22ee86517 Add a little implementation of ls(1) so that we can look at all and only the attributes of files that rsync is meant to synchronize. Martin Pool 2001-09-07 07:52:09 +00:00
  • 8f98c608b9 Remove test trace stuff. Martin Pool 2001-09-07 07:50:31 +00:00
  • 32c58f06e0 Try to exit 0 if nothing fails. Martin Pool 2001-09-07 07:49:34 +00:00
  • 040f7b6595 Update copyright notice. Martin Pool 2001-09-07 07:35:08 +00:00
  • d2476f0db3 Debug exit status -- on Sun1/cc all the tests pass, but make sees an exit status of 1. ??? Martin Pool 2001-09-06 13:12:28 +00:00
  • 952cf8f4f3 Oops, some machines don't have which. Martin Pool 2001-09-06 13:07:52 +00:00
  • a138e47560 Oops, some machines don't have which. Martin Pool 2001-09-06 13:04:48 +00:00
  • 7d6916547f See if head(1) works -- broken on some systems? Martin Pool 2001-09-06 06:34:24 +00:00
  • 6cd7888e46 You cannot do "export VAR=VALUE" all on one line; the export must be separate from the assignment. (SCO SysV) Martin Pool 2001-09-06 06:30:09 +00:00
  • 1d54358e52 Fix selective definition of *snprintf. (Welcome to mbp's breakage world.) Martin Pool 2001-09-06 06:27:02 +00:00
  • 4c80c473ed More testsuite cleanups. Now I hope we cope without 'cp -a', though we still need 'cp -p'. Martin Pool 2001-09-06 06:21:15 +00:00
  • 571a4b2654 BSD machines don't seem to have head(1). Martin Pool 2001-09-06 06:06:13 +00:00
  • 501972bf72 Split the 'longdir' test into its own script, and make it work without 'mkdir -p'. Martin Pool 2001-09-06 05:57:27 +00:00
  • 99cdaff70d Add a makepath() function to cope with machines that do not have 'mkdir -p'. (Stone knives and bearskins...) Martin Pool 2001-09-06 05:52:40 +00:00
  • c36b5017b8 Doc. Martin Pool 2001-09-06 05:50:48 +00:00
  • a4cf6bec19 Fix comment. Martin Pool 2001-09-06 04:56:55 +00:00
  • 0154b302ce Fiddle umask again. Martin Pool 2001-09-06 04:56:02 +00:00
  • ec99e9da81 Clean up output a little. Martin Pool 2001-09-06 02:30:06 +00:00
  • e052b21f32 Set umask so that symlinks will have the right permissions on BSD. Martin Pool 2001-09-06 02:26:21 +00:00
  • b2f0246498 For log messages containing ridiculously long strings that might overflow a buffer rsync no longer aborts, but rather prints an ellipsis at the end of the string. (Patch from Ed Santiago.) Martin Pool 2001-09-04 03:12:55 +00:00
  • c1659c79ef Clean up from rsync+ patch; fix compiler warning. Martin Pool 2001-08-31 09:27:35 +00:00
  • 4a7cb3e8a8 Fix sh syntax for FreeBSD. Martin Pool 2001-08-31 09:26:34 +00:00
  • 0de40240bb If we're using built-in *printf functions, then provide prototypes. Martin Pool 2001-08-31 09:23:06 +00:00
  • d79c77caca Cope on machines without INADDR_LOOPBACK. Martin Pool 2001-08-31 08:22:00 +00:00
  • 2b106d0b3a Ignore test tmp dir. Martin Pool 2001-08-31 08:16:23 +00:00
  • 8fef024528 Run the daemon test using faked tcp connections. Martin Pool 2001-08-31 08:13:57 +00:00
  • 6963e540db Grammar fix. Martin Pool 2001-08-31 08:12:35 +00:00
  • 3ef526f5fa Add comment about handling of 'use chroot' Martin Pool 2001-08-31 08:08:42 +00:00
  • eecd22ff7b Merge in the LIBSMB_PROG idea from samba, so that you can do Martin Pool 2001-08-31 07:06:13 +00:00
  • add7e8fb6b Doc. Martin Pool 2001-08-31 06:48:35 +00:00
  • f6e09367a7 Option should be --recursive, not --recurse. (This is what it was in --help and 2.4.6.) Martin Pool 2001-08-31 06:29:45 +00:00
  • 3aae15ecfb Fix rsyncd.conf generation. Martin Pool 2001-08-31 05:49:16 +00:00
  • f5ad6eb18d Fix message. Martin Pool 2001-08-31 05:48:19 +00:00
  • 7f1b717ac7 Show rsync version before doing anything else. Martin Pool 2001-08-31 05:45:49 +00:00
  • 55bdb41632 Skip SSH tests if $rsync_enable_ssh_tests is not set Martin Pool 2001-08-31 05:41:45 +00:00
  • 7c06e407ec The --compare-dest option was not listed as accepting a string parameter like it was supposed to. There should probably be a testsuite test for --compare-dest. David Dykstra 2001-08-30 16:24:03 +00:00
  • c13ad7ec47 fix bashism Martin Pool 2001-08-30 08:28:53 +00:00
  • d2094cc33d Split out generic functions for starting rsyncd. Martin Pool 2001-08-30 07:14:57 +00:00
  • c3469aed19 Notes on an interactive shell for rsync. Martin Pool 2001-08-30 07:11:46 +00:00
  • 232ce2b2c8 Start testing daemon functionality Martin Pool 2001-08-30 07:10:45 +00:00
  • 882582b307 Run all scripts in the testsuite/ directory, not just named ones. I'd like to make this script not rsync-specific if possible. Martin Pool 2001-08-30 07:10:20 +00:00
  • ebaa0489b4 Abandoned Martin Pool 2001-08-30 06:56:57 +00:00
  • 1a1c244dc3 Obsolete Martin Pool 2001-08-30 06:54:59 +00:00
  • 320989b05d On BSD, this seemed to always exit after test failure. Try different shell syntax. Martin Pool 2001-08-30 06:54:15 +00:00
  • 9d682a8dc1 More debug output for testing SSH. Martin Pool 2001-08-30 06:51:58 +00:00
  • 37c3cf430d Try using diff -c' not diff -u' because the latter seems to be broken on SCO2. Martin Pool 2001-08-30 06:35:48 +00:00