Commit Graph

  • 0abe148fd9 - Use double quotes for a quoted string. - Some bf(...) tweaks. Wayne Davison 2006-11-14 07:55:47 +00:00
  • 39411fa876 Added: also tweak single-/double-quotes and em-dashes. Wayne Davison 2006-11-14 07:54:26 +00:00
  • 662fd70b54 Changed name of tweak_manpage script. Wayne Davison 2006-11-14 07:48:56 +00:00
  • cd87e2f59a Turned the char * vars flist_dir and lastdir into const char * vars. Wayne Davison 2006-11-13 00:27:10 +00:00
  • 2c70847654 Turned the char * args to push_dir() and pop_dir() into const char *. Wayne Davison 2006-11-13 00:27:04 +00:00
  • eaf895e6ef Turned the char *dir.root var in struct file_struct into a const char *. Wayne Davison 2006-11-13 00:27:00 +00:00
  • 149a78e33f Ignore a time-setting error on a symlink (which is only attempted on a system with lutimes() anyway). Wayne Davison 2006-11-12 21:18:26 +00:00
  • 88897638a9 Tweaked a couple comments. Wayne Davison 2006-11-11 17:09:32 +00:00
  • c575f8ce87 Document the new p (perishable) filter modifier. Wayne Davison 2006-11-11 17:01:58 +00:00
  • 5303941021 If ignore_perishable is set, increment a count of all excluded items found by make_file(). Wayne Davison 2006-11-11 16:44:22 +00:00
  • c0f1e57b51 Added the MATCHFLAG_PERISHABLE flag. Wayne Davison 2006-11-11 16:43:13 +00:00
  • ccdb23bb90 - Added the 'p' (perishable) flag to the filter rules, as suggested by Matt. - If ignore_perishable is set, we ignore all perishable rules. - Mark all default-cvsignore rules as perishable (e.g. excludes such as *.o CVS .svn/ will not prevent a directory from being deleted). Wayne Davison 2006-11-11 16:39:57 +00:00
  • 146c2c368c - Restored some of Matt's suggested logic that I left out, as it is needed to get --dry-run to output appropriately. - Got rid of DR_PINNED from the enum delret. - Set a flag when we're deleting outside the transfer hierarchy and initialize a counter that flist.c will use to count excluded files. Wayne Davison 2006-11-11 16:39:02 +00:00
  • 60cc01a6c6 When make_file() gets a stat() error on a file, the check-for- exclusion-before-reporting-an-error code allows a dir-specific rule to match the unknown file, not just a non-dir rule. Wayne Davison 2006-11-11 15:34:31 +00:00
  • f5761a342b - Make delete_dir_contents() use less stack by recursing directly to itself, and then calling delete_item() w/o DEL_RECURSE. - Fixed the return value handling of delete_dir_contents(). Wayne Davison 2006-11-11 14:45:00 +00:00
  • caf8299e2e Tweaked an exit_cleanup() value. Wayne Davison 2006-11-11 08:01:40 +00:00
  • c6fadc0ee1 My adaptation of Matt's cleanup of the delete_item() code. The new code splits out part of the directory deletion into its own function, delete_dir_contents(), and it outputs more warnings when something could not be deleted. Wayne Davison 2006-11-11 07:03:57 +00:00
  • 2dc3db2a3e Docment that --max-delete=0 now works. Wayne Davison 2006-11-11 05:09:22 +00:00
  • 771d0add8f Die if we sent --max-delete=0 to a receiving side that is too old. Wayne Davison 2006-11-11 05:09:17 +00:00
  • e5e85283a9 Allow --max-delete=0 (zero used to be ignored). Wayne Davison 2006-11-11 05:09:14 +00:00
  • 21068d8e87 Increased the PROTOCOL_VERSION to 30. Wayne Davison 2006-11-11 05:09:10 +00:00
  • 4d2ea5a838 Mention another internal change. Wayne Davison 2006-11-10 15:39:03 +00:00
  • 9ba53f26a3 Test --del too. Wayne Davison 2006-11-10 15:36:15 +00:00
  • 3aeedbfd11 Fixed the hard-linking of symlinks test (we need to use a symlink to a non-existent file for the test to work right). Wayne Davison 2006-11-10 07:49:02 +00:00
  • 989b0b8802 Changed how we deal with the alternate-dest directory because some systems change the time on a directory that gets moved. Wayne Davison 2006-11-10 07:37:51 +00:00
  • b2e4811db2 Changed two more references to "st" to "real_st" in the dir-handling code. Wayne Davison 2006-11-10 07:17:20 +00:00
  • b467495cd0 - Fixed a problem where the real stat struct for a newly-created root-of-transfer directory could get overwritten by the check for basis dirs. - Fixed a potential problem where the stat struct for a new dir could get passed uninitialized to delete_in_dir(). Wayne Davison 2006-11-10 07:13:21 +00:00
  • 3b8ed84245 If the OS can't hard-link a symlink, tweak the expected output when using --link-dest. Wayne Davison 2006-11-10 06:27:35 +00:00
  • 3a72cc2929 Mention latest bug fixes. Wayne Davison 2006-11-10 05:07:08 +00:00
  • c202424a03 Changed to reflect new (more correct) output of what updating is happening. Wayne Davison 2006-11-10 05:07:05 +00:00
  • 083f75ee42 Improved to test --link-dest (when hard-linking of devices works). Wayne Davison 2006-11-10 05:07:02 +00:00
  • 45760f5f05 Allow all itemize types to change all-dots (no changes) into spaces. Wayne Davison 2006-11-10 05:06:59 +00:00
  • 116a4769c1 - Improved try_dests_non() so that it works with all non-regular files (including dirs). - Changed the directory-creating code to call try_dests_non() when a --*-dest option is used. - Revamped the device/special-files code to have the same logic as the symlink code, making it both simpler and more correct. - All the above makes us output changes for all items consistently when a --*-dest option is used. - Fixed an output bug in try_dests_reg() and try_dests_non() when -ii is enabled (we use to fail to output unchanged files). Wayne Davison 2006-11-10 05:06:56 +00:00
  • 1e4f5f6342 Added flag ITEM_MATCHED. Wayne Davison 2006-11-10 05:06:53 +00:00
  • a19d285ae3 Changed strcat() calls to strlcat(). Wayne Davison 2006-11-10 03:34:51 +00:00
  • 564782ba95 Disable POPT_WCHAR_HACK for now. Wayne Davison 2006-11-09 02:55:32 +00:00
  • 2dc7b8bd0e Got rid of type-casting into isFOO() and toFOO() functions by using static inline functions that take a signed char pointer. Wayne Davison 2006-11-09 02:39:29 +00:00
  • e0930845ce Improved the vmefail() code. Wayne Davison 2006-11-09 02:37:38 +00:00
  • cf81788366 Fixed a problem with the xstrdup() change. Wayne Davison 2006-11-09 02:36:03 +00:00
  • 89a0e3a927 Get rid of the last strcpy() call by using an static inline function. Wayne Davison 2006-11-09 02:34:17 +00:00
  • a8facdc090 Use a new isSpace() inline function to call isspace() safely when using a signed character pointer. Wayne Davison 2006-11-09 02:14:38 +00:00
  • c5e29261f3 Need to include lib/snprintf.o when building wildtest. Wayne Davison 2006-11-09 01:58:28 +00:00
  • 1acb2e15b4 Changed _ABS to be defined as MY_ABS. Wayne Davison 2006-11-09 01:55:17 +00:00
  • 06898c80d9 Got rid of code to twiddle _ABS. Wayne Davison 2006-11-09 01:54:59 +00:00
  • 684576ff45 Moved definition of DBL_EPSILON. Wayne Davison 2006-11-09 01:51:57 +00:00
  • 574a24a2ec Try a full prototype for alloca() for those systems that need it. Wayne Davison 2006-11-09 01:34:36 +00:00
  • 9775d6ab66 - Define snprintf() when needed. - Improved the compatibility of the standard includes. Wayne Davison 2006-11-09 01:26:27 +00:00
  • 2b916250d8 The Mac version of GCC can now handle __attribute__ . Wayne Davison 2006-11-09 01:07:35 +00:00
  • 2955529bb4 Rolling over the NEWS file for the next version. Wayne Davison 2006-11-09 01:06:30 +00:00
  • d094b5eb3c Change the version for new CVS work. Wayne Davison 2006-11-09 00:59:58 +00:00
  • bc93ee842f - Upgraded popt to version 1.10.2. - Modified all sprintf() and strcpy() calls to use snprintf() and strlcpy(). Wayne Davison 2006-11-09 00:57:55 +00:00
  • 0c6d79528a Preparing for release of 2.6.9 v2.6.9 Wayne Davison 2006-11-07 04:41:35 +00:00
  • 556e03a3c9 Modified to recognize FreeBSD's setfacl command. Wayne Davison 2006-11-04 00:18:49 +00:00
  • e4887738bb Updated to the version dated 2006-07-02. Wayne Davison 2006-11-02 02:01:25 +00:00
  • 0f5c1c193a Need to include netinet/tcp.h to get TCP_NODELAY defined. Wayne Davison 2006-10-31 19:21:57 +00:00
  • ab6dcad61c Mention the addition of the fake-super.diff patch. Wayne Davison 2006-10-28 21:22:26 +00:00
  • b6855ddc9c Don't put backslashes before the dashes in " -- ". Wayne Davison 2006-10-27 17:51:21 +00:00
  • 0cbb958f34 Mention the fix for bug #4079. Wayne Davison 2006-10-27 17:29:09 +00:00
  • 418da6d952 Mention WIFEXITED() change. Wayne Davison 2006-10-26 19:19:23 +00:00
  • 51d133d686 Mention Mac OS X xattr work. Wayne Davison 2006-10-26 17:22:15 +00:00
  • cbb95d3d24 Preparing for release of 2.6.9pre3 v2.6.9pre3 Wayne Davison 2006-10-26 17:06:41 +00:00
  • d9126a861f Run tweak_manpage_dashes on the man pages we generate. Wayne Davison 2006-10-24 16:17:31 +00:00
  • b4768a1397 Undo temporary changes used for build-farm testing of ACL patch. Wayne Davison 2006-10-24 15:09:57 +00:00
  • 47b032e97f Added a define for WIFEXITED() that is used if one is missing. Wayne Davison 2006-10-24 03:31:30 +00:00
  • 50dfd5b4fe Document the --no-motd option. Wayne Davison 2006-10-24 00:56:46 +00:00
  • 1de02c273d Document the --no-motd option, with a caveat on how it can also hide the module listing. Wayne Davison 2006-10-24 00:36:46 +00:00
  • 9ce7fc3887 Obey the new --no-motd option. Wayne Davison 2006-10-24 00:36:42 +00:00
  • dc1f7b9ea3 Added the --no-motd option to silence just the text output at the start of a daemon transfer. Wayne Davison 2006-10-24 00:36:38 +00:00
  • ee7cf95b13 Post-process manpages with the tweak_manpage_dashes perl script. Wayne Davison 2006-10-24 00:33:32 +00:00
  • 492fc3536d Run patch with -t so that it doesn't ask any questions. Wayne Davison 2006-10-24 00:24:56 +00:00
  • 5e61bdb4d5 A perl script that does appropriate backslash escaping of '-' chars in manpages. Wayne Davison 2006-10-24 00:09:18 +00:00
  • f964ac5eee - Fixed an error-handling path in try_dests_reg(). - Added a comment. Wayne Davison 2006-10-22 22:36:36 +00:00
  • c55b39afad Use "test" instead of "[ ... ]" for better portability. Wayne Davison 2006-10-22 07:29:21 +00:00
  • a27463a9a2 Added missing cleanup of empty ACL files. Wayne Davison 2006-10-22 07:18:21 +00:00
  • 590eb6c02d Change the unpatch code for NetBSD. Wayne Davison 2006-10-22 04:26:59 +00:00
  • 0d7a6b4906 Temporary changes to have the build-farm configure and build the ACL version of rsync (patched in via patches/acls.diff). Wayne Davison 2006-10-22 03:17:45 +00:00
  • b4f0287197 Mention the fix that lets a push now override the partial-dir exclude. Wayne Davison 2006-10-18 05:20:05 +00:00
  • 8d6386809e The server should not be adding an assumed filter rule based on the partial-dir setting (since the client is sending us the rules). Wayne Davison 2006-10-18 05:15:35 +00:00
  • 230328a30a Added a risk filter for the partial-dir since we use --delete-after. Wayne Davison 2006-10-18 05:14:10 +00:00
  • 5819d6b14a Stop disabling the RSYNC_PARTIAL_DIR environment variable now that there is a newer rsync on samba.org. Wayne Davison 2006-10-18 04:46:26 +00:00
  • 7b4a40ed70 Make sure the new link_dest_used value gets zeroed on init. Wayne Davison 2006-10-17 18:49:04 +00:00
  • f210dcadf4 - Fixed a compile problem ("len" not defined) in inet_ntop4(). - Replaced sprintf() with snprintf() in inet_ntop6(). Wayne Davison 2006-10-16 18:11:24 +00:00
  • 178a1d2048 - Die if we can't edit the release date into NEWS or OLDNEWS. - Don't remove any *pre*diff* files until the final release. Wayne Davison 2006-10-15 21:44:15 +00:00
  • a4b4e0770b Improved a comment. Wayne Davison 2006-10-15 15:57:27 +00:00
  • 2a6e35db31 Improved a couple existing items. Wayne Davison 2006-10-15 15:49:31 +00:00
  • e3794138d8 Use the new case_N.h file to make sure that our cleanup_step case statements never get out of sequence when the code changes. Wayne Davison 2006-10-15 15:43:26 +00:00
  • fdd10da6f7 A helper file for cleanup.c. Wayne Davison 2006-10-15 15:42:01 +00:00
  • 5f12a07bff Now that samba.org has a modern rsync, we can go back to using hard-links on the moved files and use rsync to effect the hard- links on the remote system (which will make a future transfer more efficient in the absense of --detect-renamed). Wayne Davison 2006-10-15 05:04:59 +00:00
  • 6a4a1d0cb0 Preparing for release of 2.6.9pre2 v2.6.9pre2 Wayne Davison 2006-10-14 20:35:17 +00:00
  • 434c40986d Use the MAX_RENAMES_DIGITS define in the relevant snprintf(). Wayne Davison 2006-10-14 20:31:33 +00:00
  • 8ee6857702 Improved the description of the code-checker work.. Wayne Davison 2006-10-14 20:30:43 +00:00
  • 721ddc903f Updated the news about the exit_cleanup() improvement. Wayne Davison 2006-10-14 20:01:22 +00:00
  • 154c345db0 Improved the _exit_cleanup() function to handle potential recursions back to the function via the calls that it is making. The new code treats each recursion back into the function as an opportunity to take up where we left off (skipping whatever step just failed). Wayne Davison 2006-10-14 19:58:52 +00:00
  • 25f637a334 Got rid of EXIT_OR_RETURN() macro again -- switching to a better recursion-prevention heuristic in _exit_cleanup(). Wayne Davison 2006-10-14 18:51:21 +00:00
  • 2356d73bb4 The cleanup code that handles moving the temp file to the partial file needed to check that cleanup_fname was not NULL to prevent any possibility of a recursion starting into that code again. Wayne Davison 2006-10-14 02:29:29 +00:00
  • 4968423e71 Mention the latest fixes and internal changes. Wayne Davison 2006-10-14 02:02:47 +00:00
  • 99eba67585 Got rid of the recent paranoid length check because it didn't help to silence a code-checker warning. Wayne Davison 2006-10-14 01:17:36 +00:00
  • 5abe03d6e8 Restore build order back to normal. Wayne Davison 2006-10-14 01:15:16 +00:00
  • 83078af5b0 Changed sprintf() calls to snprintf(). Wayne Davison 2006-10-13 23:46:32 +00:00
  • 185aa5b0e5 Turned an sprintf() call into snprintf(). Wayne Davison 2006-10-13 23:42:52 +00:00