Commit Graph

  • ef0bc0abff Mention the --bwlimit change. Wayne Davison 2004-05-28 19:42:06 +00:00
  • 71e586304b Improvements to make --bwlimit work better. Wayne Davison 2004-05-27 22:09:31 +00:00
  • 3c74c3a358 Set a new variable, bwlimit_writemax, based on the value of the bwlimit option. Wayne Davison 2004-05-27 21:51:53 +00:00
  • edad5898f2 Got rid of a superfluous call to gettimeofday(). Wayne Davison 2004-05-24 22:59:16 +00:00
  • fa0c1939ed The various include/exclude options are not used on the server side, so if someone is trying something funny, just quit. Wayne Davison 2004-05-24 18:38:05 +00:00
  • 9a5ade185c Made full_fname()'s char-pointer arg const. Wayne Davison 2004-05-24 08:10:22 +00:00
  • f1dd0f27cb - Properly quote the $excl references. - Moved the creation of our .cvsignore exclude file. Wayne Davison 2004-05-24 00:16:07 +00:00
  • f9e5a0cde2 Improved the depth calculation in sanitize_path() so that it properly handles a trailing slash, a leading slash, and an empty string. Wayne Davison 2004-05-23 23:46:56 +00:00
  • ead751c62b Moved a couple lines. Wayne Davison 2004-05-22 19:29:53 +00:00
  • 0058c58edd A few minor improvements to the existing items. Wayne Davison 2004-05-22 19:24:24 +00:00
  • 221ddb9456 Fixed a typo in the sending of the --checksum-seed option to the server. Wayne Davison 2004-05-22 06:09:22 +00:00
  • 65e2487096 Fixed the comment for get_exclude_tok(). Wayne Davison 2004-05-22 05:32:20 +00:00
  • 0501f36390 Tweaked the alloc/realloc code in flist_expand(). Wayne Davison 2004-05-21 23:22:14 +00:00
  • 96981b9cff Tell rsync to preserve permissions. Wayne Davison 2004-05-21 10:06:09 +00:00
  • f51e87f5ad Another new option. Wayne Davison 2004-05-21 10:00:21 +00:00
  • cb213f1c1b Got rid of a compiler warning (which was only output by certain compilers). Wayne Davison 2004-05-21 09:59:49 +00:00
  • c8d895de26 Added the --checksum-seed option. Wayne Davison 2004-05-21 09:44:32 +00:00
  • e51094b721 - Improved option_error() to make sure that the user sees the error in daemon mode. - Got rid of some repetitious outputting of the same error-message. Wayne Davison 2004-05-21 09:41:38 +00:00
  • b03bded70b Document a couple more changes. Wayne Davison 2004-05-21 09:29:17 +00:00
  • ee1df1ccae If --backup was specified without a --backup-dir, don't preserve the directory timestamps. Wayne Davison 2004-05-21 08:43:03 +00:00
  • bc6ebcd248 Moved a few externs. Wayne Davison 2004-05-21 08:40:25 +00:00
  • ba582f753a Changed sum_init() to take a seed value as an arg instead of always using checksum_init. This fixes an authentication problem in server mode (as pointed out by Craig Barratt). Wayne Davison 2004-05-21 08:27:04 +00:00
  • cbd85b472e - Mention the change to the daemon-mode's exclude handling. - Mention the new "write only" daemon-config option. - Fixed another entry to refer to the right files. Wayne Davison 2004-05-19 22:20:56 +00:00
  • 7a92ded39a Added the "write only" option to the daemon config file. Wayne Davison 2004-05-19 22:19:19 +00:00
  • 831f05df51 A few minor text improvements. Wayne Davison 2004-05-18 09:54:52 +00:00
  • 0d94a6a66c Added a little more quoting. Wayne Davison 2004-05-18 09:47:42 +00:00
  • 3e35c34b6b Output a message when we skip a server-excluded file. Wayne Davison 2004-05-18 08:50:17 +00:00
  • 03a9ca0a97 Document the latest changes. Wayne Davison 2004-05-18 01:13:14 +00:00
  • 6f481bb0e0 - Use fromdir, todir, and tmpdir instead of FROM, TO, and TMP. - Added chkdir. - Quote the dir expansions to avoid problems with spaces. - Added "exclude = foobar.baz" the the rsync.conf file we create. Wayne Davison 2004-05-18 00:41:55 +00:00
  • f98cc5685d Test that a config-file-specified exclude works right. Wayne Davison 2004-05-18 00:41:51 +00:00
  • 9135621ff9 Quote the dir expansions to avoid problems with spaces. Wayne Davison 2004-05-18 00:41:49 +00:00
  • 8624daa7f8 - Use fromdir and todir instead of FROM and TO. - Quote the dir expansions to avoid problems with spaces. Wayne Davison 2004-05-18 00:41:46 +00:00
  • 3051c46dc3 - Use $suitedir to find rsync.fns. - Use tmpdir instead of TMP. Wayne Davison 2004-05-18 00:41:43 +00:00
  • e920830ec5 Use $suitedir to find rsync.fns. Wayne Davison 2004-05-18 00:41:40 +00:00
  • 7892e5ac77 - Use $suitedir to find rsync.fns. - The values of fromdir, todir, and chkdir are already set. Wayne Davison 2004-05-18 00:41:38 +00:00
  • b0e9bafc78 - Use $suitedir to find rsync.fns. - The values of fromdir and todir are already set. Wayne Davison 2004-05-18 00:41:35 +00:00
  • 44aa070770 Removing obsoleted test.sh file (we used the runtests.sh framework for some time now). Wayne Davison 2004-05-18 00:32:36 +00:00
  • 97f9dcae6a If the server has excluded a file, we now exclude it from being uploaded as well as downloaded. Wayne Davison 2004-05-18 00:14:10 +00:00
  • 8cbf495a57 Renamed free_exclude_list() to clear_exclude_list(). Wayne Davison 2004-05-16 23:54:12 +00:00
  • c1b29492c5 Moved the setting of ret->match_flags up a little in make_exclude(). Wayne Davison 2004-05-16 14:08:34 +00:00
  • 669a31924e - Save some memory in each exclude_struct item by dumping the "include" and "directory" ints and using bits in the match_flags value instead. - Added defines for the new match-flag values, including a new one that lets get_exclude_tok() properly return an indication that it parsed the list-clearing token. Wayne Davison 2004-05-16 07:28:24 +00:00
  • 5e972dcf34 - Switched the "include" and "directory" ints into bits in match_flags. - Made some length vars unsigned. Wayne Davison 2004-05-16 07:28:21 +00:00
  • 8fcdc444df - Improved rsyserr() to prefix RSYNC_NAME (as the TODO requested), to construct the string in a better manner, and to have a buffer big enough to hold a full MAXPATHLEN filename plus some error text. - Fixed some comments referring to vsprintf() returning -1 -- our configuration process now ensures that we replace such a function with our own lib version. Wayne Davison 2004-05-15 19:31:16 +00:00
  • 619d21ffc9 - Complain about an exclude that was too long and then dump it (used to be silently truncated). - Include extra space in our exclude-reading buffers so that we can fit a 2-char prefix and a trailing slash and still handle a MAXPATHLEN name. Wayne Davison 2004-05-15 19:31:13 +00:00
  • d62bcc17f3 Changed rprintf() calls that included strerror() to use rsyserr(). Wayne Davison 2004-05-15 19:31:10 +00:00
  • 982e05bbd5 Changed rprintf() calls that included strerror() to use rsyserr(). Wayne Davison 2004-05-15 19:31:10 +00:00
  • a3c8b36863 Added rsyserr(). Wayne Davison 2004-05-15 19:31:05 +00:00
  • 630e3c408b Whitespace tweaks. Wayne Davison 2004-05-15 19:09:42 +00:00
  • 1082b52bd4 Changing if (!write_batch) in front of send_exclude_list() to if (!read_batch) -- fixes hang. Wayne Davison 2004-05-15 18:51:21 +00:00
  • 914f3066bb Added a "gen" rule to remake various generated files: configure, config.h.in, proto.h, rsync.1, and rsyncd.conf.5 . Wayne Davison 2004-05-15 00:48:11 +00:00
  • de91e75724 In the debug output, distinguish between a user-requested clearing of the exclude list and the popping of the local exclude list that occurs when we finish each subdir. Wayne Davison 2004-05-14 21:23:41 +00:00
  • 384431886a Changed PERMS_SKIP_TIME to PERMS_SKIP_MTIME. Wayne Davison 2004-05-13 18:51:22 +00:00
  • 82b302d928 Got rid of some useless externs. Wayne Davison 2004-05-13 18:41:17 +00:00
  • 4ecc9e6b64 The finish_transfer() call takes an arg that specifies if we should set the modtime or not on the finished file. It calls set_perms(), which now takes a flag arg that allows us to specify if we want to skip the modtime modification. Wayne Davison 2004-05-13 07:08:25 +00:00
  • 55e50d890b If the file did not transfer correctly, only save it if --partial was specified. We also skip the setting of the modtime too on a partial copy (that way the partial file won't be confused with an up-to-date copy of the original). Wayne Davison 2004-05-13 07:08:22 +00:00
  • 6e86c951d7 Call finish_transfer() with its new arg. Also put the externs at the top and got rid of some trailing whitespace. Wayne Davison 2004-05-13 07:08:18 +00:00
  • c41b52c487 Use the new PERMS_REPORT flag when calling set_perms(). Wayne Davison 2004-05-13 06:55:01 +00:00
  • 5c6fc4a6a3 Added PERMS_REPORT and PERMS_SKIP_TIME. Wayne Davison 2004-05-13 06:53:23 +00:00
  • edecdad54d If we got a read-error on a file, make sure that the whole-file checksum we send to the receiver is wrong (so they won't save the bogus file). Wayne Davison 2004-05-13 06:46:20 +00:00
  • 5291364f1d Don't force the modtime on our backup dirs -- the dirs in the backup hierarchy should have their own timestamps. Wayne Davison 2004-05-13 06:34:03 +00:00
  • 41cc97ae64 In send_files(), changed the name of the map_struct variable from "buf" to "mbuf" (so that it wouldn't be so similar to the "buff" variable nor use a name that is more typically a char* buffer). Wayne Davison 2004-05-11 19:53:16 +00:00
  • bf2b7ddfc5 Use memset() to initialize a new map_struct. Wayne Davison 2004-05-11 19:46:56 +00:00
  • eb0cbdaa90 Got rid of an unused extern. Wayne Davison 2004-05-11 17:25:16 +00:00
  • 0d0142e812 Got rid of unused externs. Wayne Davison 2004-05-11 17:25:01 +00:00
  • a43e21e05c Let's just remove all the UNUSED() macros for now. Wayne Davison 2004-05-08 22:49:58 +00:00
  • 4135d091a6 Changed the non-globbing version of glob_expand_one() so that it checks the maxargs argument instead of leaving it unused. Wayne Davison 2004-05-08 20:03:39 +00:00
  • 534407b1f4 One more attempt to get HP-UX's cc to build popt successfully. Wayne Davison 2004-05-08 19:50:22 +00:00
  • 18cc8c7ef1 Improved a comment and got rid of some trailing whitespace. Wayne Davison 2004-05-08 19:37:28 +00:00
  • 58c9b4b7f6 Tweaked the sizeof syntax and some multi-statement lines. Wayne Davison 2004-05-08 19:26:53 +00:00
  • cde719f49f Changed the order of the msgcode enum so that new items now get added at the start (which avoids the need for trailing-comma changes on old entries when new ones are added). Wayne Davison 2004-05-08 18:48:09 +00:00
  • 38cab94d9a - Improved the get_secret()'s function comments, made it accept a line that doesn't end with a newline, and optimized it a bit. - Improved getpassf() to work if the line does not end with a newline. Wayne Davison 2004-05-08 18:18:42 +00:00
  • 6ed6d7f5a8 Improved the function comments for read_line() and slightly tweaked its code. Also changed "IO" to "I/O" in various comments. Wayne Davison 2004-05-08 18:03:43 +00:00
  • e40a46de71 Document the -4, -6, --ipv4, --ipv6 options. Wayne Davison 2004-05-07 00:18:37 +00:00
  • c5bf99a1c2 Correct a typo. Wayne Davison 2004-05-06 21:29:36 +00:00
  • 2c7d63c765 - Updated the comments for open_socket_in(). - Changed open_socket_in() to return an array of ints with a trailing -1 value to indicate the end of the list. - Use the out_of_memory() routine to complain about no memory. - Undid the recent IPV6_V6ONLY change, as I think it would prevent the use of IPv6 sockets on some older systems. - If we get an EADDRINUSE error and this is not the first socket in the list, suggest that the user try --ipv4 or --ipv6. - When forking, the child now closes all the open bound sockets, not just one of them (I'm not talking about the fd from accept(), obviously). Wayne Davison 2004-05-06 21:26:46 +00:00
  • 3dd22903ac Introduced long-option names for -4 and -6. Wayne Davison 2004-05-06 21:08:01 +00:00
  • d8d36af452 If we need to set IPV6_V6ONLY but setsockopt() fails, close the socket and skip it. Wayne Davison 2004-05-05 22:17:48 +00:00
  • e610e50f9c Added missing extern for read_batch. Wayne Davison 2004-05-05 17:15:03 +00:00
  • 935c64173f Don't force the whole-file option when using read-batch. Wayne Davison 2004-05-05 16:23:49 +00:00
  • 377dbd2075 Calls to make_bak_dir() should only happen when we fail to create a file/dir/etc. with errno == ENOENT. Wayne Davison 2004-05-04 03:10:45 +00:00
  • 93272700d2 A slight refinement to my last patch. Wayne Davison 2004-05-03 01:24:10 +00:00
  • d508258ad8 Fixed crash bug that can affect --delete in certain circumstances. Wayne Davison 2004-05-03 01:18:07 +00:00
  • f57b2e6150 Got rid of a TODO comment that was fixed long ago. Wayne Davison 2004-05-02 17:04:14 +00:00
  • af45f9e27e Renamed variable STRIP to INSTALL_STRIP to avoid an accidental match with an environment variable in OpenBSD. Wayne Davison 2004-05-02 16:52:52 +00:00
  • 4c4d61b046 Got rid of trailing comma in an enum. Wayne Davison 2004-05-02 16:34:33 +00:00
  • 7561c3e132 Moved some news items under new headings. Wayne Davison 2004-04-30 21:10:58 +00:00
  • 1514ad2a80 Changed the order that ssh and rsh are mentioned. Wayne Davison 2004-04-30 20:39:29 +00:00
  • d8195637d4 Additional testing confirmed the limited scope of the sources affected by the -R sorting bug. v2.6.2 Wayne Davison 2004-04-30 19:14:52 +00:00
  • c8d771a0fb Preparing for release of 2.6.2 Wayne Davison 2004-04-30 18:03:33 +00:00
  • 9130776c4e Mention the last few tweaks that made it into 2.6.2. Wayne Davison 2004-04-30 17:53:51 +00:00
  • 9eac94a4dd Improved the program that checks for broken large-file locking. Wayne Davison 2004-04-30 17:38:22 +00:00
  • 6e06d2f31a Don't rely on the local shell's wildcard expansion to make the test work right -- it might not be quite as compatible as we need. Wayne Davison 2004-04-30 17:24:49 +00:00
  • 6a6d21136a Only refer to AI_NUMERICHOST if it is defined. Wayne Davison 2004-04-30 16:10:45 +00:00
  • f28bd83346 Fixed a few typos. Wayne Davison 2004-04-30 15:46:41 +00:00
  • 96fb478eae Mention the desire to improve how a daemon returns errors. Wayne Davison 2004-04-29 21:12:46 +00:00
  • 8752b3fcd8 Describe the changes for 2.6.2. Wayne Davison 2004-04-29 21:09:33 +00:00
  • 55ffed7e42 Preparing for release of 2.6.2pre1 v2.6.2pre1 Wayne Davison 2004-04-29 20:36:22 +00:00
  • e00df64bae Got rid of unused check for sys/sysctl.h. Wayne Davison 2004-04-29 19:40:17 +00:00
  • 080ddf58ae Fixed a sorting problem when an entry has an empty (but not NULL) dirname (which I had thought impossible, but it appears to occur with --relative in some instances). Wayne Davison 2004-04-29 19:37:15 +00:00
  • 4ce48a5bfd Restore old behavior of logging most daemon errors instead of sending them to the user. This should eventually be improved to duplicate some of these messages to the user to keep them informed about what went wrong. Wayne Davison 2004-04-29 19:34:31 +00:00