Commit Graph

  • 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
  • cabd60fdce - Changed some sprintf() calls to snprintf() calls. - Changed two last strcpy() calls to strlcpy() calls. Wayne Davison 2006-10-13 23:38:14 +00:00
  • 10944395bf Changed sprintf() calls to snprintf() calls. Wayne Davison 2006-10-13 23:35:53 +00:00
  • 204f4f4d09 Changed strcpy() calls into memcpy() calls. Wayne Davison 2006-10-13 23:17:37 +00:00
  • c9bce0b8f8 Changed strcpy() calls into strlcpy() calls, just to be extra safe. Wayne Davison 2006-10-13 23:17:33 +00:00
  • deee574b11 Added a paranoid length check. Wayne Davison 2006-10-13 23:17:30 +00:00
  • 55410368e5 - Changed strcpy() calls into strlcpy() calls, just to be extra safe. - Added a default: exit_cleanup() case to a switch. - Made the check_name() function take a buffer size arg. Wayne Davison 2006-10-13 23:17:27 +00:00
  • e4fdf1debe - Use precompiler conditionals in to_wire_mode() and from_write_mode() to get rid of code that is not needed on the current system. - Silence a code-checker warning in send_file_entry(). - Silence a code-checker warning in make_file(). - Fixed a bug in f_name_cmp() that could compare an empty filename incorrectly (which might only happen if we transformed a dot-dir into an empty name). (Thanks, code checker!) Wayne Davison 2006-10-13 17:07:13 +00:00
  • 1580899c1d More temporary name juggling to get all code analyzed. Wayne Davison 2006-10-13 17:02:39 +00:00
  • f863b76300 Changed one more exit_cleanup() call into EXIT_OR_RETURN(). Wayne Davison 2006-10-13 14:28:56 +00:00
  • 5e1ec06f09 Temporarily reorder the OBJS line so that the IBM code checker can analyze some of the other programs (since it runs out of time analyzing them all). Wayne Davison 2006-10-13 14:17:22 +00:00
  • 36e2ea6068 Use new FNONE value when setting/comparing enum logcode vars. Wayne Davison 2006-10-13 07:48:35 +00:00
  • f4164b73b4 - Use the new FNONE enum instead of a literal 0 value. Wayne Davison 2006-10-13 07:38:21 +00:00
  • 9ef506a2b2 If in_exit_cleanup is set, some of our functions return instead of calling exit_cleanup() (which is a safer way to avoid an infinite loop when the exit code uses the log functions than allowing the _exit_cleanup() function to return back into our code). Wayne Davison 2006-10-13 07:38:18 +00:00
  • b1b54199ef - When exiting, set the flag "in_exit_cleanup". - Mark _exit_cleanup() with NORETURN. - Don't ever return from _exit_cleanup(). Wayne Davison 2006-10-13 07:38:15 +00:00
  • 33394b769d Mark out_of_memory() and overflow_exit() with NORETURN. Wayne Davison 2006-10-13 07:38:11 +00:00
  • 011e85a5e3 - Added FNONE to the "enum logcode" values. - Added a NORETURN define to mark a function that never returns. Wayne Davison 2006-10-13 07:38:05 +00:00
  • d5dcb6f775 Silence some IBM checker warnings and made a slight optimization to get_tmpname(). Wayne Davison 2006-10-13 07:18:29 +00:00
  • 0c25dedf31 Simplified the function-finding regex, and made it more versatile (so we don't need to keep adding variable-type strings). Wayne Davison 2006-10-13 06:50:56 +00:00
  • 6105464b79 Indented the function comments with "* ". Wayne Davison 2006-10-13 06:49:44 +00:00
  • 4d51f0db79 Don't use a bool directly in an int comparison. Wayne Davison 2006-10-13 06:27:59 +00:00
  • ff530f04a0 Function fcntl() only takes 2 args when using F_GETFL. Wayne Davison 2006-10-13 06:26:02 +00:00
  • e8b21fe406 Cast pat_len to an int when using it as a field width. Wayne Davison 2006-10-13 06:24:24 +00:00
  • 71cb9df386 Some OSes can't chmod -t for a file, so I changed the logic of our to to substitute a chmod that will work everywhere. Wayne Davison 2006-10-13 04:59:53 +00:00
  • f97c2d4a9b - Clarified the "dont compress" option. - Cleaned up some trailing whitespace. Wayne Davison 2006-10-13 01:37:44 +00:00
  • b8a6dae038 Updated the man pages to work with version 2.x of yodl. Wayne Davison 2006-10-13 01:24:57 +00:00
  • 969f7ed5b7 Fixed an infinite loop in parse_rule() when a filter rule is too longer for MAXPATHLEN. Also fixed a couple spots nearby that were erroneously treating pointer "cp" as a '\0'-terminated string. Wayne Davison 2006-10-13 01:22:48 +00:00
  • e825409a84 Preparing for release of 2.6.9pre1 v2.6.9pre1 Wayne Davison 2006-10-12 03:45:53 +00:00
  • b8d29fd8e6 Added a line for 2.6.9. Wayne Davison 2006-10-12 03:44:44 +00:00
  • 200f2d98db Make sure we tweak the right RSYNC_VERSION line in configure. Wayne Davison 2006-10-12 03:32:18 +00:00
  • 1a7f3d99c5 Removed the changes in symlink handling in non-chroot daemon mode as they were not yet safe (I'll consider similar changes for the next release). Wayne Davison 2006-10-12 03:01:18 +00:00
  • e80876700c Got rid of changes that aren't going to make it into 2.6.9. Wayne Davison 2006-10-12 03:01:12 +00:00
  • ec55b4f2fb Changed the indent for one else ... if section. Wayne Davison 2006-10-12 03:01:01 +00:00
  • 798cde474f Some minor improvements to parse_merge_name(). Wayne Davison 2006-10-12 02:14:47 +00:00
  • 558d482c47 Renumbered tests after adding one in the middle. Wayne Davison 2006-10-11 00:51:50 +00:00
  • 418b6a2703 Handle the itemizing of of the "." dir when it is newly created. Wayne Davison 2006-10-11 00:04:48 +00:00
  • 1ef5bf3cfd If new_root_dir is set, itemize the output of the "." dir as a directory-creation event. Wayne Davison 2006-10-11 00:04:44 +00:00
  • 2a94207ad6 Added a new variable, new_root_dir, that is set if we created the destination directory. Wayne Davison 2006-10-11 00:04:41 +00:00