Commit Graph

  • 9c07d25345 Tidied up a few things in preparation for changes. Wayne Davison 2004-01-02 17:20:21 +00:00
  • 7352b8736b Moved the is_in_group() function to uidlist.c. Wayne Davison 2004-01-02 16:52:29 +00:00
  • 5b540e86a4 Set the file's gid to -1 if we don't have permissions to set it. Wayne Davison 2004-01-02 16:51:54 +00:00
  • 6744b62ddd Fixed --link-dest's check for identicalness to ignore the uid if non-root, and to ignore a gid of -1. Wayne Davison 2004-01-02 16:50:06 +00:00
  • e90b8acec3 Silence some compiler warnings. Wayne Davison 2004-01-02 08:50:25 +00:00
  • 925c517f19 Improved the setting of cleanup_got_literal so that we know if the current file received some literal data yet or not. Wayne Davison 2004-01-02 08:38:35 +00:00
  • cc964a518c Use the new f_name_to() call instead of strlcat() an f_name(). Wayne Davison 2004-01-02 08:36:58 +00:00
  • 3309507dd3 Some minor changes to some if statements. Wayne Davison 2004-01-02 08:33:57 +00:00
  • 5e7dbaca50 Use buffered I/O to read the exclude list. Wayne Davison 2004-01-02 08:31:12 +00:00
  • 76c2194714 Applying my updated version of Craig Barratt's buffered I/O patch. Wayne Davison 2004-01-02 08:29:49 +00:00
  • 968c8030cf Some name tweaks. Wayne Davison 2004-01-02 08:19:26 +00:00
  • 446e239e2c Use the f_name_to() function to avoid having to strdup() the name that f_name() returns. Also used in a call to recv_generator() to keep the name safe for the duration of the call. Wayne Davison 2004-01-02 08:18:53 +00:00
  • e7bc9b64a3 Use f_name_to() when producing a name for the recv_generator() call. This prevents things like the hard-link code from losing the name before we're finished with it. Wayne Davison 2004-01-02 08:05:20 +00:00
  • 8018edd3aa Optimized f_name(), generating: (1) f_name_cmp(), which optimizes comparing two file_struct elements without copying them first, and (2) f_name_to() which lets us supply the destination buffer for a f_name() call (to allow it to persist without an extra copy). Wayne Davison 2004-01-02 07:57:02 +00:00
  • 64c3523a6f Got rid of /* dw */ comments. Wayne Davison 2004-01-02 07:42:20 +00:00
  • 310c9f30f0 Optimized hard_link_one() to not call f_name() so many times. Wayne Davison 2004-01-02 07:34:49 +00:00
  • 5c1b7bfd2a No need to conditionally-compile EINTR code -- no other files do this. Wayne Davison 2004-01-02 07:31:02 +00:00
  • faf11086d8 More twiddling of the wildcard verbage. Wayne Davison 2004-01-02 07:11:32 +00:00
  • 52fa4d7893 Improved the itemized discussion under the wildcard changes. Wayne Davison 2004-01-01 22:37:13 +00:00
  • de0551020b Allow function return values to start with "const". Wayne Davison 2004-01-01 21:10:50 +00:00
  • c1456d83a7 Tweaked the date. v2.6.0 Wayne Davison 2004-01-01 19:00:11 +00:00
  • 1cbbaea957 Preparing for release of 2.6.0 Wayne Davison 2004-01-01 11:36:16 +00:00
  • f6aeaa74d1 One more tweak to --modify-window verbage. Wayne Davison 2003-12-30 18:17:16 +00:00
  • 6839140eb5 Shorten some of the lines in the --help output. Wayne Davison 2003-12-30 18:16:25 +00:00
  • 915dd20705 Shortened a few lines, plus a couple minor tweaks. Wayne Davison 2003-12-30 17:44:01 +00:00
  • c53217a2b8 Changed the VERSION section to refer to 2.x instead of 2.0. Wayne Davison 2003-12-29 09:58:06 +00:00
  • b2ac00eb16 Preparing for release of 2.6.0pre2 v2.6.0pre2 Wayne Davison 2003-12-28 21:11:38 +00:00
  • 45ddbf6204 Make the upper copyright year "2004". Wayne Davison 2003-12-28 20:48:06 +00:00
  • 276877cf77 Aged news from NEWS to OLDNEWS. Wayne Davison 2003-12-27 00:14:21 +00:00
  • 6b45fcf160 Undid previous change. Wayne Davison 2003-12-26 23:04:01 +00:00
  • 49c24eccd4 A change that wasn't needed. Wayne Davison 2003-12-26 22:59:53 +00:00
  • 0d7d3763f2 Use %{version} to refer to the current version. Wayne Davison 2003-12-24 17:48:25 +00:00
  • 241dc65eee Getting rid of klunky *.tmpl files. Wayne Davison 2003-12-24 17:46:46 +00:00
  • 860bdd4571 Mention the new-backup-dir mode change. Wayne Davison 2003-12-24 01:46:38 +00:00
  • 55bf051bbc Getting rid of an extra newline that accidentally crept into the code. Wayne Davison 2003-12-24 01:46:07 +00:00
  • 423dba8ea1 Simplified an internal function's name to remove a potentially cryptic suffix. Wayne Davison 2003-12-24 01:14:16 +00:00
  • 517c7b4dee Updated the copyright year. Wayne Davison 2003-12-20 18:00:13 +00:00
  • 18ced14631 Output a warning about the new remote-shell default if the --with-rsh option wasn't used. Wayne Davison 2003-12-20 17:57:47 +00:00
  • ce67256218 Output a newline before the heap statistics. Wayne Davison 2003-12-20 16:57:24 +00:00
  • 9e83fa99fe - Mention the extra newlines in the verbose/stats output. - Made some spelling corrections. Wayne Davison 2003-12-20 16:56:51 +00:00
  • 256a9e376c Added a couple missing items from John Van Essen. Wayne Davison 2003-12-20 16:51:13 +00:00
  • ef5075e092 Quiet a compiler warning. Wayne Davison 2003-12-19 22:19:54 +00:00
  • 65653a6596 Mention the change we made to help ssh cleanup the tty on Ctrl-C. v2.6.0pre1 Wayne Davison 2003-12-19 20:21:17 +00:00
  • d5a0b48379 Do a small msleep() in the sig_int() handler before shutting down. This kluge allows things like SIGINT to find our children before we go throwing around SIGUSR1's at them. Wayne Davison 2003-12-19 06:52:02 +00:00
  • 314a74d731 Got rid of the RSYNC_RSH_IO stuff for now. Wayne Davison 2003-12-17 09:29:35 +00:00
  • 90e22f4b51 Backed out the RSYNC_RSH_IO support for now. Wayne Davison 2003-12-17 09:28:45 +00:00
  • ab304c268c Removed hardlink reporting bug from TODO list -- seems to be fixed. J.W. Schultz 2003-12-17 00:52:01 +00:00
  • 16a3fec02d Added keword base reporting to TODO features list. J.W. Schultz 2003-12-17 00:49:50 +00:00
  • abb0b532f8 Reorganized and cleaned up TODO list. J.W. Schultz 2003-12-17 00:47:39 +00:00
  • 43cd760fc1 - Changed the places that talked about rsh being the default shell. - Document the new RSYNC_RSH_IO environment variable. Wayne Davison 2003-12-16 23:07:19 +00:00
  • 9af87151ec We now support an environment variable named RSYNC_RSH_IO which lets the user set the blocking-IO value for the shell specified by RSYNC_RSH. Wayne Davison 2003-12-16 23:06:25 +00:00
  • 8dd99390f5 Added RSYNC_RSH_IO_ENV. Wayne Davison 2003-12-16 23:04:59 +00:00
  • e636af6b23 Mention change to ssh. Wayne Davison 2003-12-16 19:48:25 +00:00
  • e3217f1448 Tweaked an obsolete comment. Wayne Davison 2003-12-16 18:02:15 +00:00
  • 66b711633f Improved the default-blocking-I/O code to discern rsh from ssh properly. Wayne Davison 2003-12-16 18:02:03 +00:00
  • f40f2fc8ce Made the default remote-shell be "ssh" (override with --with-rsh=FOO). Wayne Davison 2003-12-16 18:01:06 +00:00
  • e6f9e388cf Moved the information on the single-use ssh key so that the --server option wasn't being mentioned early in the rsync manpage (which has confused at least one user trying to figure out the --daemon mode command-line syntax). Wayne Davison 2003-12-15 20:10:21 +00:00
  • 3c1e2ad956 Document new error code 24. Wayne Davison 2003-12-15 19:49:38 +00:00
  • e6d2799170 Updated version. Wayne Davison 2003-12-15 19:04:04 +00:00
  • 2cfbf4bc0e Changed the version to 2.6.0pre1. Wayne Davison 2003-12-15 19:00:20 +00:00
  • f7731f1fc2 Removed some obsolete items. Wayne Davison 2003-12-15 18:45:27 +00:00
  • 7d3f8ae2df Make sure we only use blocking-I/O if blocking_io is > 0. Wayne Davison 2003-12-15 18:45:07 +00:00
  • a60fdd63f4 Changed version to 2.6.0. Wayne Davison 2003-12-15 18:25:10 +00:00
  • 3a7dec59bc Changed version to 2.6.0 in preparation for new release. Wayne Davison 2003-12-15 18:22:12 +00:00
  • 880ae34190 Got rid of setgroups() caveat for OSX -- we fixed that a while back. Wayne Davison 2003-12-15 18:20:06 +00:00
  • d00daf1f3f Mentioned the vanished-file warning enhancement. Wayne Davison 2003-12-15 08:44:55 +00:00
  • 17fadf7d40 Twiddled some whitespace and multi-line comments. Wayne Davison 2003-12-15 08:14:27 +00:00
  • 06c28400fa New "io_error" variable handling for RERR_VANISHED support. Wayne Davison 2003-12-15 08:10:31 +00:00
  • 6e35c72fdb Return new RERR_VANISHED code, as appropriate. Wayne Davison 2003-12-15 08:08:44 +00:00
  • e2d22fee53 Added new IOERR_* defines. Wayne Davison 2003-12-15 08:07:38 +00:00
  • 1bca1de6cc Handle new RERR_VANISHED error. Wayne Davison 2003-12-15 08:06:52 +00:00
  • e0ed4e4087 Added RERR_VANISHED. Wayne Davison 2003-12-15 08:04:14 +00:00
  • 4a7319be12 Neatened up some whitespace issues and made multi-line comments more consistent. Wayne Davison 2003-12-15 01:45:01 +00:00
  • 55d5937dd6 Simplified the setting of the reading_remotely variable in function read_filesfrom_line() now that remote_filesfrom_file is set more often. Wayne Davison 2003-12-15 00:54:44 +00:00
  • 63596e1c4a If we're the server and --files-from is "-", set remote_filesfrom_file to "-" as well (since the data is coming over the socket from the remote side). Wayne Davison 2003-12-15 00:53:07 +00:00
  • 603e6b05c7 Neatened up the indentation. Wayne Davison 2003-12-12 17:13:22 +00:00
  • dfad66a838 Sanity check s2length on recept. J.W. Schultz 2003-12-06 21:35:34 +00:00
  • 58cadc8608 Merged in the security fixes from 2.5.7. Wayne Davison 2003-12-06 21:07:27 +00:00
  • 594fe5e1cc preparing for release of 2.5.7 v2.5.7 rsync-bugs 2003-12-04 04:27:22 +00:00
  • 9fb21d2882 Buffer management fix. Martin Pool 2003-12-04 04:23:29 +00:00
  • b11b50bcd0 Added reminder to update rsync.yo manpage when adding to exit codes. J.W. Schultz 2003-10-25 20:02:45 +00:00
  • a73de5f3ba Added exit code 0. Wayne Davison 2003-10-25 17:53:57 +00:00
  • 84c3645cea Updated exit codes as Jon Jensen and J.W. suggested. Wayne Davison 2003-10-25 16:21:41 +00:00
  • 2a88a8cd30 Fixed an operator-precedence problem in the batch-mode code. Wayne Davison 2003-10-13 23:46:08 +00:00
  • 8a97fc2e1b Tried to improve the documentation surrounding a trailing-slash source-dir transfer. Wayne Davison 2003-10-07 20:33:08 +00:00
  • 7a2fd68b96 Tweaked the just-added error message to use my new full_fname() function. Also removed some trailing whitespace from lines. Wayne Davison 2003-09-16 05:33:09 +00:00
  • 6a7cc46cb2 Detect and report when open or opendir succeed but read and readdir fail caused by network filesystems issues and truncated files. Thanks to David Norwood and Michael Brown J.W. Schultz 2003-09-16 02:49:59 +00:00
  • aa6dc37ccb Mention my recent changes. Wayne Davison 2003-09-11 05:00:52 +00:00
  • ea42541fe0 Improved file-related error messages by using the new full_fname() function. Wayne Davison 2003-09-11 04:53:05 +00:00
  • b7b2741f3a Tweaked an error message. Wayne Davison 2003-09-11 04:53:01 +00:00
  • eb61be192d Added a new function, full_fname(), that makes a filename more complete for error messages. If the path is in a module, we ensure that the "path" setting (from the config file) is not revealed, while still reminding the user that the path is relative to the module's root. Wayne Davison 2003-09-11 04:48:15 +00:00
  • 9b9114e8cd Include a few new stubs to handle the new full_fname() function. Wayne Davison 2003-09-11 04:48:13 +00:00
  • 857e38bb45 Got rid of some "/* dw */" comments and fixed some line's indentation. Wayne Davison 2003-09-11 04:48:09 +00:00
  • 4ea812445d Got rid of some "/* dw */" comments. Wayne Davison 2003-09-11 04:48:07 +00:00
  • e80a765412 If lp_path() returns "/", set exclude_path_prefix to "" (because the exclude code doesn't want any trailing slashes). Wayne Davison 2003-09-11 04:00:19 +00:00
  • 15089022d4 Make sure that the new slash-stripping P_PATH code doesn't turn a "/" into an empty string. Wayne Davison 2003-09-11 03:49:53 +00:00
  • f69204adad Changed main() definition to avoid an extra prototype being put into the proto.h file. Wayne Davison 2003-09-10 08:27:34 +00:00
  • 459a83c9cc Make sure that the "path" value has any trailing slashes removed. Wayne Davison 2003-09-10 08:08:14 +00:00
  • 6464bdbe13 Got rid of trailing whitespace. Wayne Davison 2003-09-10 07:31:58 +00:00
  • 4f3e9a0fba Added the new --protocol option. Wayne Davison 2003-09-09 15:58:56 +00:00