Commit Graph

  • 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
  • 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