Commit Graph

  • ac1d2d3384 Added "debug_type" to the exclude_list_struct. Wayne Davison 2004-04-22 09:58:24 +00:00
  • acfcfa7053 No need to pass a debug string to check_exclude() anymore. Wayne Davison 2004-04-22 09:58:21 +00:00
  • 8ef81dd452 No need to pass a debug string to check_exclude() anymore. When we free an exclude list, make sure we don't clear the debug_type string. Wayne Davison 2004-04-22 09:58:18 +00:00
  • 67340e9523 Initialize the new debug_type string in each exclude list and output it in a couple extra debug messages. When we free an exclude list, make sure we don't clear the debug_type string. Wayne Davison 2004-04-22 09:58:15 +00:00
  • a7ceddae34 Changed check_exclude()'s prototype. Wayne Davison 2004-04-22 09:58:11 +00:00
  • 24e1569f8b The debug output for add_exclude() now needs to limit the pattern to print only "pat_len" chars. Wayne Davison 2004-04-22 08:41:03 +00:00
  • de31639fff A couple minor text improvements. Wayne Davison 2004-04-19 17:52:39 +00:00
  • 8b46340924 Mentioned the better handling of option paths when a daemon is not running with chroot enabled. Wayne Davison 2004-04-18 06:29:06 +00:00
  • d008bcb5cd Made the device-changes section agree with the latest code. Wayne Davison 2004-04-17 19:58:12 +00:00
  • 0484b5b0b7 Preparing for release of 2.6.1pre-2 v2.6.1pre2 Wayne Davison 2004-04-17 18:40:16 +00:00
  • f01b6368a5 Mention that --from0 does not affect --cvs-exclude's reading of the .cvsignore files. Wayne Davison 2004-04-17 18:12:33 +00:00
  • 40d38dc0be In add_exclude_file(), if we're word-splitting, stop reading a "line" at any whitespace (so that we don't overflow the line buffer). Wayne Davison 2004-04-17 17:55:45 +00:00
  • 33a2361cc2 The inode and dev values in the idev struct are now uint64. Wayne Davison 2004-04-17 17:14:16 +00:00
  • 4124540d61 Changed the dev handling for -H back to using an opaque 64-bit integer instead of trying to transfer it as separate major & minor values. Since the value is not interpreted by the receiving side (just compared for equality), this is a safer way to go. Wayne Davison 2004-04-17 17:14:12 +00:00
  • 5f38126817 Use "uint64" instead of INO64_T (which is now gone). Wayne Davison 2004-04-17 17:07:23 +00:00
  • b05b3c9b48 Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old code would generate a string that started with "//" instead of "/"). Wayne Davison 2004-04-17 17:06:03 +00:00
  • a03a9f4efe Don't say "skipped" if the file is just not being transferred (i.e. when other updates, such as owner/permissions/etc. might be made). Wayne Davison 2004-04-15 18:32:24 +00:00
  • 3e55030372 Mention exclude improvements. Wayne Davison 2004-04-15 18:23:52 +00:00
  • 273c0420d0 Got rid of a couple useless lines. Wayne Davison 2004-04-15 18:22:56 +00:00
  • 5774786fa5 Moved some externs. Wayne Davison 2004-04-15 16:55:23 +00:00
  • 1a9ec1fd1c Got rid of zlib/dummy ("dummy" is in the zlib .cvsignore, where it should be). Wayne Davison 2004-04-15 06:54:14 +00:00
  • b2aa573b1c Our exclude lists are now comprised of a base structure with a head and a tail pointer pointing to a linked list of items (rather than an array of pointers that has to be reallocated all the time). Wayne Davison 2004-04-14 23:33:40 +00:00
  • 63d0331991 Added a "next" pointer to "exclude_struct" and added a new structure for exclude lists, exclude_list_struct, that holds the head/tail pointers for the list. Wayne Davison 2004-04-14 23:33:37 +00:00
  • bf6dcd1713 Updated the exclude-list code to handle the new linked-list structure format. Wayne Davison 2004-04-14 23:33:34 +00:00
  • 495723bb26 Updated the exclude-list code to handle the new linked-list structure format. Wayne Davison 2004-04-14 23:33:34 +00:00
  • 911cb0662c Updated stub version of check_exclude(). Wayne Davison 2004-04-14 22:49:54 +00:00
  • 5387514eaf Added a description arg to check_exclude(). Wayne Davison 2004-04-14 21:59:45 +00:00
  • 61414c83ce The check_exclude() and report_exclude_result() functions now take a description string that describes what kind of an include/exclude is happening (which only gets output when verbose is set to 2 or more). Wayne Davison 2004-04-14 21:59:41 +00:00
  • 43a9d0e7c2 Improved the exclude testing by adding tests that exercise --cvs-exclude and --delete-excluded. Wayne Davison 2004-04-14 20:50:32 +00:00
  • df5cd107a5 Moved (and expanded) a verbose message from clientserver.c to socket.c to solve an old FIXME comment. Wayne Davison 2004-04-14 16:51:48 +00:00
  • abca4eba67 Fixed a potential problem parsing the "!" token from a word-split string. Wayne Davison 2004-04-13 19:07:21 +00:00
  • 96d3590a08 A few more improvements to get_exclude_tok() and add_exclude(). Wayne Davison 2004-04-13 18:35:08 +00:00
  • 8429aa9e0e Added an example for --link-dest. Wayne Davison 2004-04-13 00:32:58 +00:00
  • 79d4053048 Updated with latest news and some spelling mistakes corrected. Wayne Davison 2004-04-12 18:03:08 +00:00
  • 753b6b4692 Replaced MISSING_OK, MISSING_FATAL, ADD_INCLUDE, and ADD_EXCLUDE with some new XFLG_* values (for the add_exclude*() function). Wayne Davison 2004-04-12 17:42:35 +00:00
  • f8f726449b - add_exclude() now takes a flag int and can optionally word-split items and/or ignore +/- prefixes. - add_exclude_file() changed to take the same flags as add_exclude(). - add_exclude_line() was removed since add_exclude() can now do its job. - make_exclude() now takes a size-limited string without a +/- prefix. - add_cvs_excludes() was changed to word-split the items that come from a .cvsignore file, and to ignore all +/- prefixes in all the ignore sources. Since CVS doesn't check if its ignore items are directories, the dir-names (e.g. SCCS, CVS, etc.) no longer have a trailing slash (making our excludes match CVS's ignores more exactly). Wayne Davison 2004-04-12 17:42:32 +00:00
  • 357406ecb2 Use the new XFLG_* flags to call the add_exclude*() functions. Wayne Davison 2004-04-12 17:42:29 +00:00
  • 3915fd7583 No need to cast st.st_rdev to DEV64_T anymore. Wayne Davison 2004-04-12 16:52:43 +00:00
  • 9c5e91f848 - Use dev_t instead of DEV64_T. - Changed rdev_high to rdev_major. - Use major(), minor(), and makedev() to manipulate device numbers. - Send the major and minor values separately in protocol 28 and beyond. Wayne Davison 2004-04-12 16:52:40 +00:00
  • af107f6c08 - Got rid of DEV64_T and changed the internal device variables to dev_t. - Changed XMIT_SAME_HIGH_RDEV to XMIT_SAME_RDEV_MAJOR. - Added XMIT_RDEV_MINOR_IS_SMALL. Wayne Davison 2004-04-12 16:52:37 +00:00
  • a3dbb20a0e Fixed a bug where an exclude name that got sent over the wire could get an extra "- " or "+ " parsed off the start of the name (i.e. we have to quote excluded names that start with those strings with an extra "- " at the start). Wayne Davison 2004-04-10 10:31:11 +00:00
  • a3779426b6 UNUSED() misbehaves on HP-UX, not AIX. Wayne Davison 2004-04-09 22:25:33 +00:00
  • 2f5ca63d92 AIX doesn't like our UNUSED() macro, so let's eliminate it for them. Wayne Davison 2004-04-09 21:51:34 +00:00
  • 0e1d98ae92 Silence compiler warnings on Solaris. Wayne Davison 2004-04-09 20:22:44 +00:00
  • 04575bcab5 Missed one void-pointer-arithmetic case. Wayne Davison 2004-04-09 20:17:01 +00:00
  • 71b291d71b AIX's cc was complaining about the void* arithmetic. Wayne Davison 2004-04-09 19:53:50 +00:00
  • decba3ae73 Removed debug code. Wayne Davison 2004-04-09 19:18:34 +00:00
  • f8ed564c9f Changed sysmacros.h to sys/sysmacros.h. Wayne Davison 2004-04-09 19:04:03 +00:00
  • 47ba39bef6 Added some test code to assist in the remote debugging of the build farm's Solaris machines. Wayne Davison 2004-04-09 18:36:01 +00:00
  • 71f7051489 Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS. Wayne Davison 2004-04-09 18:10:03 +00:00
  • 3c3791e8be Use AC_HEADER_MAJOR for better makedev/major/minor determination. Wayne Davison 2004-04-09 18:09:16 +00:00
  • c39d6514ab Include <sys/mkdev.h> if it exists. Wayne Davison 2004-04-09 17:59:50 +00:00
  • 1cb6f3bf4d Added sys/mkdev.h to the searched-for headers. Wayne Davison 2004-04-09 17:56:58 +00:00
  • f09dc86ab6 Added a couple extra character devices to be copied. Wayne Davison 2004-04-09 00:36:45 +00:00
  • f26ac1e8cb If we're listing a device, output the major and minor device numbers. Wayne Davison 2004-04-09 00:33:34 +00:00
  • 84a3efa0ab Simplify the setting of rdev & rdev_high in send_file_entry(). Wayne Davison 2004-04-08 23:15:39 +00:00
  • 00ed4b5bf3 Fixed a bug in the sending of rdev when the high-bits match. Wayne Davison 2004-04-08 23:05:36 +00:00
  • e2e053bbd7 Explicitly cast our ~0xFF mask using ~(DEV64_T)0xFF, just to be sure (sign-extention would have probably made the former work OK). Wayne Davison 2004-04-08 21:51:49 +00:00
  • f8b33ab379 Mention the rsync-daemon fix for --sufix=''. Wayne Davison 2004-04-07 23:13:02 +00:00
  • 5df1fcf245 If --daemon was specified, exit the option-parsing code before adjusting various default values (the real defaults will get set when the client's options arrive). Wayne Davison 2004-04-07 23:09:14 +00:00
  • b1ad6a3260 Added a couple missing items. Wayne Davison 2004-04-05 15:05:46 +00:00
  • 6442ccc606 Decided against "Source root" in the exclude/include examples. Wayne Davison 2004-04-03 20:47:54 +00:00
  • b21813060c Mentioned the CoW improvement and got rid of a bug-fix mention that was for a bug introduced during the 2.6.1 developement. Wayne Davison 2004-04-03 18:13:51 +00:00
  • 706c75307a Use getaddrinfo() to figure out if a numeric address is IPv4 or IPv6. Wayne Davison 2004-04-01 21:39:35 +00:00
  • 2b284ee33d Last of the cleanup before the patching starts. Wayne Davison 2004-04-01 21:08:24 +00:00
  • 4cfa6156e3 A couple more minor twiddles. Wayne Davison 2004-04-01 20:56:50 +00:00
  • c1e7217fcb Updated the sizeof syntax and trimmed some trailing whitespace. Wayne Davison 2004-04-01 20:53:39 +00:00
  • 4b2f6a7c37 Decided to use "nobody" instead of "guest". Wayne Davison 2004-04-01 18:05:40 +00:00
  • a8726d2a06 Some more IOERR_VANISHED support. Wayne Davison 2004-04-01 18:04:59 +00:00
  • b5ebe6d9c7 Improved the include/exclude example section some more. Document the new username default of "guest" if neither USER or LOGNAME is set in the environment. Wayne Davison 2004-03-31 18:53:57 +00:00
  • ef383c0d32 The auth_client function must not return without outputting something on the socket, so a NULL or empty username now defaults to "guest". Wayne Davison 2004-03-31 18:52:38 +00:00
  • 8dcf93356e Don't complain about a null --suffix if we're the server/sender (since we might not have received the --backup-dir path from the client). Wayne Davison 2004-03-31 17:02:22 +00:00
  • ce5f2732e4 I'm no longer maintaining this. Tell people to use the lists instead. Martin Pool 2004-03-31 02:48:47 +00:00
  • 3e89da86df The --files-from option needs to allow a server-sender to sometimes have just 1 arg on the command-line. Wayne Davison 2004-03-30 02:08:07 +00:00
  • f5450e791d Try to avoid running on a system that allows us to create devices without being root (like cygwin) because rsync won't copy the devices if it is not root. Wayne Davison 2004-03-29 17:02:31 +00:00
  • cb984e620e In sigchild_handler(), finish with waitpid() before reinitializing the SIGCHLD handling. Wayne Davison 2004-03-29 16:30:53 +00:00
  • be92ac6c36 Added one more example to the new include/exclude section to show how --relative works with a non-absolute path. Wayne Davison 2004-03-27 20:04:04 +00:00
  • 5dc6e9c9ca Mention that certain options treat an absolute path as relative to the module's "path" dir, even when chroot is off. Wayne Davison 2004-03-27 19:47:27 +00:00
  • 0b79c324ca Improved the "relative to the destination dir" description for several options. Wayne Davison 2004-03-27 19:46:28 +00:00
  • f39b6638f6 Got rid of debug-output statement. Wayne Davison 2004-03-27 19:42:13 +00:00
  • a4b6f30579 Try to make the complexities of includes/excludes a little more clear. Wayne Davison 2004-03-27 18:25:41 +00:00
  • 7be73df4e7 Optionally sanitize the args in parse_arguments() using the new alloc_sanitize_path() function. Wayne Davison 2004-03-27 09:46:42 +00:00
  • 14b61c63f0 Added alloc_sanitize_path(). Wayne Davison 2004-03-27 09:44:49 +00:00
  • 75a64762c2 The args are now sanitized in parse_arguments() instead of here. Wayne Davison 2004-03-27 09:44:01 +00:00
  • 028fdddb49 Fixed a crash bug when hlink_list is NULL and a link_u.links pointer in one of the file_struct nodes is not. Wayne Davison 2004-03-26 16:46:20 +00:00
  • f86b0f2e7b Fixed a typo and made a sentence read better. Wayne Davison 2004-03-26 15:51:51 +00:00
  • 285fba0759 Preparing for release of 2.6.1pre-1 v2.6.1pre1 Wayne Davison 2004-03-24 21:59:07 +00:00
  • 92b9eb978e Moved a few externs and made a couple formatting tweaks. Wayne Davison 2004-03-23 16:50:40 +00:00
  • 1e82e2cea6 Got rid of an ancient (and no longer relevant) comment. Wayne Davison 2004-03-23 16:36:00 +00:00
  • a7ed6ca618 A few formatting tweaks in delete_file(). Wayne Davison 2004-03-23 16:16:15 +00:00
  • b4b90120ff Fixed the test for sin_len as noted by Shinichi Maruyama. Changed the define name generated for this test and the sa_len test. Wayne Davison 2004-03-16 01:26:39 +00:00
  • 16f72adc49 Changed HAVE_SOCKADDR_SIN_LEN to HAVE_SOCKADDR_IN_LEN. Wayne Davison 2004-03-16 01:26:31 +00:00
  • 3d06165389 Check robust_rename()'s return value using < 0. Wayne Davison 2004-03-13 20:18:03 +00:00
  • fd4893155d Mention the changes in the "patches" dir. Wayne Davison 2004-03-10 08:32:38 +00:00
  • 67e78a8231 Use CHMOD_BITS instead of ~_S_IFMT. Wayne Davison 2004-03-07 20:29:59 +00:00
  • 6b320e4045 Improved an entry. Wayne Davison 2004-03-06 20:07:24 +00:00
  • 7e5cb90983 Other files use S_IWUSR instead of S_IWRITE, so use S_IWUSR and S_IRUSR. Wayne Davison 2004-03-06 07:45:52 +00:00
  • 8120a98f47 Define S_IRUSR if it doesn't already exist. Wayne Davison 2004-03-06 07:43:55 +00:00
  • 8f3f8eec08 Updated to version from autoconf 2.59 (2003-10-03). Wayne Davison 2004-03-06 07:00:47 +00:00
  • 386b93dc60 Updated to version from autoconf 2.59 (2003-08-18). Wayne Davison 2004-03-06 07:00:16 +00:00