Commit Graph

  • 20bf7f847f Undefined __attribute__ in some circumstances. Wayne Davison 2004-04-28 17:35:08 +00:00
  • b66d00853b Fixed the use of an uninitialized variable in map_uid() and map_gid(). Wayne Davison 2004-04-28 17:31:31 +00:00
  • 8b602edda4 In copy_file(), check len < 0 before checking the close() return values. Wayne Davison 2004-04-27 19:59:37 +00:00
  • 9f27cd8ca6 Check the return code from close() and output an error if it fails. Wayne Davison 2004-04-27 19:51:33 +00:00
  • b084f9e092 Got rid of a debug-output statement. v2.6.1 Wayne Davison 2004-04-27 16:41:33 +00:00
  • 4220e1098e Preparing for release of 2.6.1 Wayne Davison 2004-04-27 03:55:37 +00:00
  • c30468169a - Tweaked the bullet char so that vim can auto-format the items more easily (and then used vim to re-flow the items). - Added a mention about the daemon security fix. - Added the 2.6.1 release date. Wayne Davison 2004-04-27 03:53:28 +00:00
  • c0d9e8c76b - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Got rid of HP-UX kludge (since it didn't help). Wayne Davison 2004-04-27 01:36:16 +00:00
  • 90a973fe8a Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. Wayne Davison 2004-04-27 01:36:10 +00:00
  • 7f0feb4dd6 - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Don't parse comment lines in add_exclude_file() when XFLG_WORD_SPLIT is set. Wayne Davison 2004-04-27 01:36:06 +00:00
  • 33a5432ea6 Got rid of HP-UX kludge (since it didn't help). Wayne Davison 2004-04-27 01:36:00 +00:00
  • 968ff560d2 Made a comment clearer. Wayne Davison 2004-04-27 01:00:58 +00:00
  • cd59be1d5e One more try at getting the HP-UX system in the build farm to compile popt. Wayne Davison 2004-04-25 20:36:41 +00:00
  • 8b2869c0d2 Don't use __attribute__((__unused__)) on HP-UX w/o gcc. Wayne Davison 2004-04-25 16:10:09 +00:00
  • 82a51ea53d Improved the debug string for the local_exclude_list. Wayne Davison 2004-04-24 08:00:39 +00:00
  • 20af605eba Improved the EXCLUDE PATTERNS section some more. Wayne Davison 2004-04-24 06:16:04 +00:00
  • a6536635e3 Fixed a comment. Wayne Davison 2004-04-23 08:09:13 +00:00
  • adddd075eb Mention how --update behaves when the type of the file differs on the source and destination systems. Wayne Davison 2004-04-23 05:14:39 +00:00
  • a0c823b22b Recently added caveat is no longer true. Wayne Davison 2004-04-23 01:33:35 +00:00
  • 9fdb334e85 Restore the old include behavior where a command-line include could override a .cvsignore exclude. Wayne Davison 2004-04-22 22:17:15 +00:00
  • f89e890b87 Got rid of a wrong paragraph. Wayne Davison 2004-04-22 21:35:45 +00:00
  • 1c666c3fcb Got rid of a bunch of cruft. Wayne Davison 2004-04-22 21:17:58 +00:00
  • 2a383be0f1 Updated the default list of cvs-excluded files and added some extra info on how the option interacts with other include/exclude rules. Wayne Davison 2004-04-22 18:17:30 +00:00
  • 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