Commit Graph

  • 2154309a54 Optimized the implied-directory code to avoid putting so many duplicate dirs into the file list. Wayne Davison 2003-03-21 22:10:44 +00:00
  • afb6e9450d - Use popt to better effect for the two options that can be both set and unset by the user. - Even more whitespace cleanup. Wayne Davison 2003-03-21 19:17:23 +00:00
  • dfa3248380 - Simplified the whole-file option handling. - Fixed some whitespace issues. Wayne Davison 2003-03-21 18:58:50 +00:00
  • 2cda256088 - Simplified the whole-file option handling. - Cleaned up some whitespace issues. Wayne Davison 2003-03-21 18:53:00 +00:00
  • d9c7edf63f - Fixed lots of line-indentation problems, including a really huge section of non-batch-mode code that was indented at the same level as its surrounding "if" statement. - Moved the heavily-used am_* flags into global extern vars instead of externing them again and again in individual functions. - Got rid of line-ending whitespace. Wayne Davison 2003-03-21 18:33:48 +00:00
  • a151343943 Cleanup: Added header files to dependancies. J.W. Schultz 2003-03-21 07:42:19 +00:00
  • 85ed0aa396 Typo corrections. Thanks to Paul Slootman <paul@debian.org> J.W. Schultz 2003-03-21 07:27:31 +00:00
  • 3019f95f37 Removing --csum-length option documentation since there is no such option. J.W. Schultz 2003-03-21 04:39:11 +00:00
  • 5702bc12b3 Apply patch from Steve Bonds to repair this test. Paul Green 2003-02-19 16:22:50 +00:00
  • b0d791bb35 Patch from Roderick Schertler (roderick at argon.org) to ignore non-POSIX directory mode bits that are used by AIX. Paul Green 2003-02-18 18:07:36 +00:00
  • 3903928ca0 Remove RedHat-specific .spec files in favor of the .spec files maintained under packaging/lsb. Paul Green 2003-02-18 16:50:25 +00:00
  • 827c37f631 The sender no longer removes the duplicate names from the file list -- we let the receiver do that, since they are the one that requests names and we want to be sure the sender has any name the receiver may ask for. Wayne Davison 2003-02-12 09:15:23 +00:00
  • b45b059a3d Back out one of the changes in log.c revision 1.62, and always send errors to the client after multiplexing is enabled. David Dykstra 2003-02-11 19:13:51 +00:00
  • f39281ae56 Patch from jw schultz to reword "link" to "connection" in a couple of spots. Paul Green 2003-02-10 14:51:09 +00:00
  • e2bea9eb8d Update packaging spec files per patch submitted by Horst von Brand. In the future, we need to be sure to keep *.spec and *.spec.tmpl identical...the release macro produces *.spec from *.spec.tmpl. Paul Green 2003-02-05 18:41:53 +00:00
  • 931a979904 Restored changes accidentally backed out by Dave Dykstra in previous revision. Paul Green 2003-01-29 21:04:28 +00:00
  • 3fccfafd30 Apply fix from Horst von Brand. See comments in rsync.spec. Paul Green 2003-01-29 20:52:59 +00:00
  • 7a6fd4c1c7 preparing for release of 2.5.6 v2.5.6 David Dykstra 2003-01-28 05:28:42 +00:00
  • 8395d24616 Add header for 2.5.6 release. David Dykstra 2003-01-28 05:13:16 +00:00
  • 7d085960eb Remove the Cygwin msleep(100) before the generator kills the receiver, because it caused the testsuite/unsafe-links test to hang. David Dykstra 2003-01-28 05:05:53 +00:00
  • 3884317181 Change the default of --modify-window back to 0 on Cygwin. David Dykstra 2003-01-28 03:11:57 +00:00
  • 089a2435f8 Ack! I had accidentally ifdefed out the kill from the generator to the receiver process for every platform except Cygwin. David Dykstra 2003-01-28 03:03:55 +00:00
  • 8ed16deb24 Change so the delay before generator signals receiver is only done on Cygwin. David Dykstra 2003-01-28 02:51:03 +00:00
  • a577af9067 Added a TODO item about temporary file names bumping up against the maximum name length. (I have an unfinished patch that will address this). Paul Green 2003-01-27 16:33:47 +00:00
  • 59af13651b Move the sleep to workaround the default modify-window of 1 on Cygwin to the beginning of "checkit" rather than the end of "hands_setup" because sometimes files are modified just before checkit is called and the copy finishes within one second so they're considered to be the same time. I don't think this would be a problem in real life, so just change the test. David Dykstra 2003-01-27 04:41:30 +00:00
  • 787568f371 Insert a 100ms sleep just before sending the USR2 signal to the child receiver process to prevent some hangs on Cygwin. Anthony Heading discovered the workaround first and suggested 30ms, and Greger Cronquist had better luck with 100ms. David Dykstra 2003-01-27 03:52:42 +00:00
  • f0019fc506 Remove the "Connection reset by peer" from TODO David Dykstra 2003-01-27 03:36:54 +00:00
  • 9f639210ca Prevent the "Connection reset by peer" messages often seen from Cygwin. Result of a lot of discussion over the last year and a half. Based on a patch from Randy O'Meara, cleaned up a bit by Max Bowsher. David Dykstra 2003-01-27 03:35:08 +00:00
  • deec574421 Update date on man page. David Dykstra 2003-01-27 03:13:46 +00:00
  • 04657e42d5 Update rsyncd.conf documentation to be right for rsync server mode over a remote shell. David Dykstra 2003-01-27 03:07:18 +00:00
  • 1b88775534 Change erroneous references to a --config-file option to the correct --config option. David Dykstra 2003-01-27 02:48:14 +00:00
  • 7f6537557d Change news item about handling of text mode in files to just permitting any of the standard line termination styles. David Dykstra 2003-01-26 20:49:24 +00:00
  • 518233ca79 Got rid of recent O_TEXT* and O_BINARY* changes. Wayne Davison 2003-01-26 20:11:16 +00:00
  • bc72130d71 Got rid of O_TEXT_STR and added code to strip '\r' from the end of the lines we read. Wayne Davison 2003-01-26 20:10:23 +00:00
  • 855decd3a7 Added back the O_BINARY #ifdef. Wayne Davison 2003-01-26 20:09:02 +00:00
  • 0090cbdba6 Got rid of O_TEXT_STR change. Wayne Davison 2003-01-26 20:07:55 +00:00
  • 73ff720972 File I/O already handles '\r', so we can remove the O_TEXT flags. Wayne Davison 2003-01-26 19:37:54 +00:00
  • c561e1378d Remove a couple items I know are no longer needed. David Dykstra 2003-01-26 04:04:47 +00:00
  • aa2c47d835 Better fix for infinite recursion; don't return from exit_cleanup unless the nesting is already pretty deep, because there are normal cases where exit_cleanup is nested shallowly. Patch from Marc Espie, posted by Brian Poole. David Dykstra 2003-01-26 03:53:34 +00:00
  • 536b84680b Open config files in text mode when O_TEXT is defined. This helps on Cygwin when the config files are on a filesystem that is mounted in binary mode. Patch from Ville Herva. David Dykstra 2003-01-26 03:46:54 +00:00
  • 7508b795bf Tests that use hands_setup to make a test file directory and right afterward make a copy were failing on cygwin because the default --modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of hands_setup so that hopefully the tests will succeed because the copy will be made more than 1 second away from the original. David Dykstra 2003-01-26 03:34:19 +00:00
  • 76ee1d18bf Don't try to run daemon tests as "nobody". Wayne Davison 2003-01-25 03:46:57 +00:00
  • 379bc86547 Getting rid of recent "chown" since we decided to forego trying to run the daemon tests as "nobody". Wayne Davison 2003-01-25 03:45:40 +00:00
  • 066696644f Change default of --modify-window on Cygwin from 2 to 1 because that's all that's needed on FAT filesystems. NTFS filesystems can do with a window of 0, but it shouldn't hurt because it's highly unlikely that any given file will be modified within one second of the time that rsync last copied it. David Dykstra 2003-01-24 22:07:22 +00:00
  • 755bcd3722 Restore trailing newline character at the end of the file. Paul Green 2003-01-23 17:18:20 +00:00
  • 1985aa9666 Mentioned the fact that config.sub and config.guess got updated. Paul Green 2003-01-22 22:59:35 +00:00
  • f4663a36da Updated config.sub and config.guess to latest revision. Paul Green 2003-01-22 22:24:53 +00:00
  • 521e6fdcfc Mention test-case fixes. Wayne Davison 2003-01-21 20:25:44 +00:00
  • 61ab574e38 Moved the chown from the download test to the upload test. Wayne Davison 2003-01-21 20:19:53 +00:00
  • 660cb6a085 Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we can, and don't fail if we can't). Wayne Davison 2003-01-21 20:19:53 +00:00
  • 4274208833 Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we can, and don't fail if we can't). Wayne Davison 2003-01-21 19:30:51 +00:00
  • 34db05b421 Put the UID and GID that rsyncd will run as into variables. Wayne Davison 2003-01-21 19:28:29 +00:00
  • 1657be22a3 Separated a cat "..." command out from inside a double-quoted string so that we don't run afoul of some shells quoting quirks. (As Brian Poole suggested.) Wayne Davison 2003-01-21 19:27:11 +00:00
  • 3636b9ffaa Change the name on the --modify-window default for Cygwin to Lapo Luchini. David Dykstra 2003-01-21 14:22:49 +00:00
  • e3cd264571 Change version to working version 2.5.6pre3cvs David Dykstra 2003-01-21 04:23:43 +00:00
  • 69555b0943 Change version to 2.5.6pre2 David Dykstra 2003-01-21 04:00:56 +00:00
  • 522c05cf9a Declare preserve_perms for latest syscall.o. Wayne Davison 2003-01-21 01:35:23 +00:00
  • f0b4fdaf5e Ignore errors from chmod when --preserve-perms/-p/-a are not set. Gnu cp behaves the same way. David Dykstra 2003-01-21 00:58:50 +00:00
  • ac6ce98375 Added a couple missing NEWS items. Wayne Davison 2003-01-20 23:49:22 +00:00
  • 1b3cadaa39 Re-activate the piece of code that creates intervening directories when --relative-paths is used. The code was accidentally skipped starting in CVS version 1.32 of receiver.c. Noticed by Craig Barratt. David Dykstra 2003-01-20 23:32:17 +00:00
  • 61ca7d596c Update description of hosts allow for IPv6. From Bert Vermeulen. David Dykstra 2003-01-20 23:10:22 +00:00
  • 688d573295 Make the default for --modify-window be 2 on cygwin. David Dykstra 2003-01-20 23:09:24 +00:00
  • ec6e0bf0c0 Backed out Paul Green's IRIX patch since it didn't seem to be a part of the Makefile fix and I like the old EXE syntax better. Wayne Davison 2003-01-20 18:26:14 +00:00
  • 184dede92f Save the value of the test for getaddrinfo defines in the config cache. David Dykstra 2003-01-20 17:25:26 +00:00
  • d2cc0323fb Also need to include lib/getnameinfo when the getaddrinfo defines don't exist. David Dykstra 2003-01-20 16:59:18 +00:00
  • 3a1eefd331 Oops, lib/getaddrinfo wasn't pulled in when the system doesn't define AI_PASSIVE. David Dykstra 2003-01-20 16:27:34 +00:00
  • 824f1c7944 Only look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined by system headers. This fixes compile errors on Irix 6.5. David Dykstra 2003-01-20 15:04:16 +00:00
  • 7bc8218d81 Fix bug that causes messages like rsync: stack overflow in function match_address on openbsd. Patch from Brian Poole <raj@cerias.purdue.edu>. David Dykstra 2003-01-20 13:46:28 +00:00
  • a405cda63c Add unsafe-byname tests with symlink destinations ending in '..'. David Dykstra 2003-01-20 12:42:42 +00:00
  • 7afa3a4a48 Optimized unsafe_symlink() to avoid malloc/free calls. Wayne Davison 2003-01-19 21:37:11 +00:00
  • c80b3d8c3f Added "extern" to io_{read,write}_phase line (they were being multiply defined). Wayne Davison 2003-01-19 05:53:07 +00:00
  • ef6122c622 Got rid of trailing whitespace and tweaked a few things that might possibly be affecting the IRIX build (but probably not). Wayne Davison 2003-01-18 19:11:55 +00:00
  • 75fb17b891 Define DBL_EPSILON if it doesn't exist. Wayne Davison 2003-01-18 19:00:07 +00:00
  • 2abbf2498f Trying out Paul Green's IRIX patch to see if it fixes the syntax error in the Makefile. Wayne Davison 2003-01-18 18:52:50 +00:00
  • b91b50c01f Fixed the bug in clean_flist() where it did not get rid of all duplicate names if there were more than 2 identical names in a row. Wayne Davison 2003-01-18 18:00:23 +00:00
  • 06891710f2 Change rsync help for -a to show that it is equivalent to -rlptgoD. I've had to go to the man page many times for that information and I finally got sick of it. David Dykstra 2003-01-16 21:02:43 +00:00
  • b765ec32b9 Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov. David Dykstra 2003-01-16 20:09:31 +00:00
  • a70d070cc5 Make unsafe_symlink() take const args so that we don't get any compiler warnings when calling it with a const char *. Wayne Davison 2003-01-15 17:49:44 +00:00
  • 1f1fbe187e Add news item about fix of --copy-unsafe-links David Dykstra 2003-01-15 16:41:51 +00:00
  • fc63847406 Fix bug in --copy-unsafe that made it totally broken, and re-enable the tests that tested it. As far as I can tell, it was always broken since the day I put it in years ago. In my investigation into this I was unable to figure out what in the world I was thinking back then, to introduce a global variable with the wrong information in it rather than using a parameter that was already available in readlink_stat function. That still bothers me a bit but I decided to stop worrying about it. David Dykstra 2003-01-15 16:14:07 +00:00
  • f58677d123 Don't use the return value from sprintf because it doesn't work on Sunos4. David Dykstra 2003-01-14 21:37:08 +00:00
  • 7ab1538861 Now that the 2.5.6pre1 snapshot has been made, change the version to 2.5.6pre2cvs. David Dykstra 2003-01-13 17:21:12 +00:00
  • 7ad0f94de9 Change version to 2.5.6pre1 David Dykstra 2003-01-13 16:40:15 +00:00
  • 8af534a52c Changed the alloca warning message. Wayne Davison 2003-01-12 22:45:47 +00:00
  • 7447419266 Use the old kludge of using malloc() if alloca() is missing. Wayne Davison 2003-01-12 21:49:44 +00:00
  • 5216de37a4 Reduced the severity of the warning about missing alloca to a warning, and changed the test to the common form of prefixing an x to both sides of an equivalence because it didn't even notice a problem on the cray when it was instead using test -n. Also noticed an error in the test for ANSI c, doing a "$xac..." = xno" when it should have been "x$ac..." = xno, so I fixed that too. David Dykstra 2003-01-12 04:02:25 +00:00
  • ccc0d1eb1d Oops, had the sense of the test for the existence of alloca() backwards. David Dykstra 2003-01-12 03:28:13 +00:00
  • 7fc0890881 Make configure bomb if the included popt is needed but alloca is not available, as apparently is the case on Cray UNICOS. The AC_FUNC_ALLOCA autoconf documentation talks about having an included alloca.c and periodically calling alloca(0) to garbage collect when C_ALLOCA is defined, but I don't know where to get the code or if there's anybody that cares enough about the UNICOS port for it to be worth the trouble. David Dykstra 2003-01-12 03:11:38 +00:00
  • b17f1d76c0 Cast the return from alloca to work better on UNICOS. David Dykstra 2003-01-11 19:01:31 +00:00
  • 451b5fc969 Cast the return of alloca to remove a fatal error on Cray UNICOS. David Dykstra 2003-01-11 14:39:41 +00:00
  • 1e678fcab1 Yet another try at getting this to skip on cygwin. Wayne Davison 2003-01-11 08:19:24 +00:00
  • 48bcc6ee2b Hopefully this version will skip correctly on cygwin. Wayne Davison 2003-01-11 07:39:49 +00:00
  • 32734c7c3c Try a different tact to get cygwin to skip this test. Wayne Davison 2003-01-11 07:22:40 +00:00
  • aaf375d0a5 The inet_pton() man page says we need to pass in a pointer to a struct in_addr, which means passing &sin.sin_addr instead of &sin.sin_addr.s_addr. Also changed the AF_INET6 version to pass &sin6.sin6_addr. Hopefully this will fix UNICOS and not break anyone else. Wayne Davison 2003-01-11 02:05:56 +00:00
  • 9680f811f6 Cast poptGetOptArg() to remove a compiler warning. Wayne Davison 2003-01-11 01:29:30 +00:00
  • bda41fa509 + The prototype for isc_net_pton() should have been inet_pton(). + Define IN_LOOPBACKNET if it is not already defined. Wayne Davison 2003-01-10 20:09:58 +00:00
  • 7ea84b6890 Only refer to S_ISVTX if S_ISVTX is defined. Wayne Davison 2003-01-10 20:08:43 +00:00
  • cc234d944a + Fixed a comment that referred to isc_net_pton() instead of inet_pton(). + Only prototype inet_pton6() if INET6 is defined. Wayne Davison 2003-01-10 20:08:12 +00:00
  • ac84096d1f Don't use '#' in the dsttmp filename. Wayne Davison 2003-01-10 19:58:51 +00:00
  • a1cc591b29 Paul Green's changes to add $(EXEEXT) and $(CPPFLAGS) as appropriate. Wayne Davison 2003-01-10 19:58:16 +00:00