Commit Graph

  • 494895fb4b Initialize xattr data in a couple spots in the hlink code, which avoids a crash when the xattr pointer's memory happens to start out non-zero. Also fixed the itemizing of an alt-dest file's xattrs when hard-linking. Wayne Davison 2008-09-26 21:10:58 -07:00
  • ac68345a34 Don't send a bogus "-" option to an older server if there were no short options specified. Wayne Davison 2008-09-26 21:09:41 -07:00
  • 6a9ade2ded Beginning work on a 3.0.5 release. Wayne Davison 2008-09-26 21:07:56 -07:00
  • 0a23e33630 Properly ignore source args on a --read-batch command. Wayne Davison 2008-09-26 20:45:49 -07:00
  • 8ab02ccd52 More batch-mode fixes to handle redos properly (and without hanging). Wayne Davison 2008-09-26 20:21:27 -07:00
  • e0c572c5c6 Moved the flist_ndx_{push,pop}() routines from io.c into util.c. Wayne Davison 2008-09-26 19:45:08 -07:00
  • 315c2152d0 Initialize xattr data in a couple spots in the hlink code, which avoids a crash when the xattr pointer's memory happens to start out non-zero. Also fixed the itemizing of an alt-dest file's xattrs when hard-linking. Wayne Davison 2008-09-23 20:15:19 -07:00
  • 6d301fa3de Don't send a bogus "-" option to an older server if there were no short options specified. Wayne Davison 2008-09-23 19:35:36 -07:00
  • af2dea6033 Fixed skipping of unneeded updates in a batch file when incremental recursion is active. Added test. Wayne Davison 2008-09-23 19:27:14 -07:00
  • 7fdb3bdab9 Remove bogus "non-empty" qualifier in '*' discussion. Wayne Davison 2008-09-14 19:57:02 -07:00
  • 794d033981 A couple instant-rsyncd improvements: - Prompt the user for the parameters when missing. - Allow the creation of a module without a user+password. Wayne Davison 2008-09-11 08:42:27 -07:00
  • 45574a73c1 Add instant-rsyncd to support/ . Matt McCutchen 2008-08-14 17:56:57 -04:00
  • 26e21efc5a Convey the cleaned-up module-path to the user in all cases. Fixed a just-introduced problem with a relative module-path. Wayne Davison 2008-09-11 06:14:00 -07:00
  • 433c6753a8 Fix the %P logfile escape inside a chroot. Wayne Davison 2008-09-10 16:45:06 -07:00
  • 46b1361b41 Adding 3.0.4 release line to OLDNEWS. Wayne Davison 2008-09-06 09:50:49 -07:00
  • d596d389fe Preparing for release of 3.0.4 v3.0.4 Wayne Davison 2008-09-06 09:32:26 -07:00
  • bc2337717e A few more improvements and a mention of the latest fix. Wayne Davison 2008-09-06 08:03:52 -07:00
  • 9e7acc86c3 Adding human_readable var. Wayne Davison 2008-09-03 16:10:45 -07:00
  • 56c7ed9983 Changed some "rsync" commands into proper "$RSYNC" commands. Wayne Davison 2008-09-03 12:15:36 -07:00
  • 3df40f044a Changed some "rsync" commands into proper "$RSYNC" commands. Wayne Davison 2008-09-03 12:14:13 -07:00
  • 5dd14f0c33 Split up the ifuncs.h file into 3 .h files. Wayne Davison 2008-09-01 19:09:21 -07:00
  • 2a147e9fcb Don't define an array with no size. Wayne Davison 2008-09-01 19:01:48 -07:00
  • 7634fc8eb6 A little tidying up to follow my preferred style. Wayne Davison 2008-09-01 17:08:26 -07:00
  • daa8d92094 Several fixes for merge file handling: - Free a mergelist's parent_dirscanned filters the last time it is popped or as soon as the filters are discarded due to the "n" modifier. Aside from not leaking memory, this is needed to clean up any mergelists defined during the parent_dirscan to avoid crashing by trying to restore nonexistent state for them in pop_local_filters. - Make push_local_filters save the current mergelist_cnt, and make pop_local_filters assert that it has the correct number of mergelists before restoring their state. - Assert that mergelists get deactivated in strict LIFO order to catch any glitches as soon as they happen. Free linked lists of filters in reverse order to make that the case. - Add a bunch of mergelist-related debug output (--debug=filter2). Matt McCutchen 2008-09-01 17:01:19 -07:00
  • adc2476fa2 Output numbers in 3-digit groups by default (e.g. 1,234,567). Also improved the human-readable output functions, including adding the ability to output negative numbers. Wayne Davison 2008-09-01 12:53:43 -07:00
  • d11a5b80c1 Made human_num() and human_dnum() able to output negative numbers. Wayne Davison 2008-09-01 13:08:23 -07:00
  • 34c3ca8f35 Verify that SUBPROTOCOL_VERSION is set correctly when making a nightly tar file release. Fixed the opening comments. Wayne Davison 2008-08-31 11:55:09 -07:00
  • 4f282b0b92 Added extra file-changing logic to ensure that the various files that mention the protocol number have the right value, that the check-in date for a protocol-change release is specified, and that a pre-release with a protocol change doesn't have SUBPROTOCOL_VERSION set to 0. Prompt for releasing a branch if -b option was not used and we're on a branch. Wayne Davison 2008-08-31 10:01:44 -07:00
  • deea1f70bd Got rid of the check_for_io_err code, as it could cause a hang. The io_error issue will be fixed in a better way in 3.1.0. Wayne Davison 2008-08-31 07:27:11 -07:00
  • 8b3e60523a Improved the fix that ensures that the generator gets notified about an I/O error for the incremental directory that generated the error. The PROTOCOL_VERSION was bumped to 31 to implement this. Wayne Davison 2008-08-31 09:03:50 -07:00
  • 1d891835e7 Improved rwrite() to handle a stderr exception without playing games with the msgs2stderr value. Wayne Davison 2008-08-24 14:07:10 -07:00
  • 0b78944600 Some minor improvements to the flushing code to try to make it even more solid. Wayne Davison 2008-08-24 12:56:33 -07:00
  • a91e678324 Some minor improvements to the flushing code to try to make it even more solid. Wayne Davison 2008-08-24 12:53:22 -07:00
  • 79daa59618 Make the !flist_eof assumption explicit before the check_for_io_err code calls wait_for_receiver(). Wayne Davison 2008-08-24 12:54:49 -07:00
  • 25a22d8501 Make the !flist_eof assumption explicit before the check_for_io_err code calls wait_for_receiver(). Wayne Davison 2008-08-24 12:33:22 -07:00
  • 72de4140d5 Added /support/savetransfer to .gitignore. Wayne Davison 2008-08-17 09:28:50 -07:00
  • fac9e234ae Added /support/savetransfer to .gitignore. Wayne Davison 2008-08-17 09:28:06 -07:00
  • f3d87ee972 An improved RERR_PARTIAL message. Wayne Davison 2008-08-17 09:20:50 -07:00
  • 94a4a125bc An improved RERR_PARTIAL message. Wayne Davison 2008-08-17 09:23:28 -07:00
  • e982d59146 Changed flist_for_ndx() to optionally die with an error if the index isn't found. Wayne Davison 2008-08-14 07:40:56 -07:00
  • 9bed85542c Changed flist_for_ndx() to optionally die with an error if the index isn't found. Wayne Davison 2008-08-14 07:32:18 -07:00
  • c78e4ea905 Made an error of readlink_stat() use the right function name. Wayne Davison 2008-08-10 07:32:54 -07:00
  • 5b979530a7 Made an error of readlink_stat() use the right function name. Wayne Davison 2008-08-10 07:31:45 -07:00
  • 0b7bce2c7b Make sure that the hlink node->data allocation doesn't fail. Wayne Davison 2008-08-08 07:48:41 -07:00
  • 7ec8baaa7e Make sure that the hlink node->data allocation doesn't fail. Wayne Davison 2008-08-08 07:47:31 -07:00
  • 8c2c008984 Improved a couple NEWS items. Wayne Davison 2008-08-05 18:43:51 -07:00
  • 719a29e1cf Preparing for release of 3.0.4pre2 v3.0.4pre2 Wayne Davison 2008-08-02 14:06:31 -07:00
  • 87678cefd1 Tweaked the symlink iconv buffer size and fixed a comment. Wayne Davison 2008-08-02 13:45:50 -07:00
  • 4a95d61251 Tweaked the symlink iconv buffer size and fixed a comment. Wayne Davison 2008-08-02 13:45:15 -07:00
  • 7c7462cd30 When using --iconv, if a server-side receiver can't convert a filename, it now outputs the name back to the client without mangling the charset. Wayne Davison 2008-08-02 10:26:17 -07:00
  • fc088e30c8 When using --iconv, if a server-side receiver can't convert a filename, it now outputs the name back to the client without mangling the charset. Wayne Davison 2008-08-02 10:25:17 -07:00
  • e34ad4e925 Refer to the symlink's contents as "symlink data", not "symlink name". Wayne Davison 2008-08-02 10:20:51 -07:00
  • aef51b4c68 Refer to the symlink's contents as "symlink data", not "symlink name". Wayne Davison 2008-08-02 10:18:10 -07:00
  • f303b749f2 Added logic to the receiving side to ensure that the --delete-during code will not delete in a directory prior to receiving an I/O error for that directory (or not receiving it, as the case may be). Wayne Davison 2008-08-02 09:14:36 -07:00
  • 7790ee3684 Added logic to the receiving side to ensure that the --delete-during code will not delete in a directory prior to receiving an I/O error for that directory (or not receiving it, as the case may be). Wayne Davison 2008-08-02 09:03:49 -07:00
  • 91fd15b8b6 Skip new symlink conversion step if the remote rsync is not new enough to do symlink content conversions. Wayne Davison 2008-08-02 07:06:15 -07:00
  • ed12c8eb21 Skip new symlink conversion step if the remote rsync is not new enough to do symlink content conversions. Wayne Davison 2008-08-02 07:04:54 -07:00
  • 6e5b682273 The --iconv option now converts the content of a symlink too. Wayne Davison 2008-08-01 19:15:17 -07:00
  • 91dd3d0d48 The --iconv option now converts the content of a symlink too. Wayne Davison 2008-08-01 19:12:33 -07:00
  • 902ee53ea4 Fixed a problem with checking for the '.' dir in the first file list that is transferred. This fixes a glitch where a failed --iconv conversion on the receiving side could prevent deletions from happening in the root-dir of the transfer. Wayne Davison 2008-08-01 19:03:59 -07:00
  • 95d1d2a9a4 Fixed a problem with checking for the '.' dir in the first file list that is transferred. This fixes a glitch where a failed --iconv conversion on the receiving side could prevent deletions from happening in the root-dir of the transfer. Wayne Davison 2008-08-01 19:00:21 -07:00
  • c9f540f37d Changed the iconv-related message that was being output as the lone --info=misc2 message into a --debug=iconv message so that all iconv info will be output when requesting iconv debugging. Wayne Davison 2008-08-01 18:15:28 -07:00
  • 0479eb7601 Fixed a couple minor problems in util.c: - Make sure that handle_partial_dir() never returns a truncated fname. - Make robust_rename() return that it failed to do a cross-device copy if the partial-dir could not be created. Wayne Davison 2008-08-01 18:04:24 -07:00
  • 459abd75f5 Properly handle a failure to create a partial directory, which is especially important for --delay-updates, particularly when --remove-source-files was also specified. Wayne Davison 2008-08-01 18:03:57 -07:00
  • a808346dbe Fixed a couple minor problems in util.c: - Make sure that handle_partial_dir() never returns a truncated fname. - Make robust_rename() return that it failed to do a cross-device copy if the partial-dir could not be created. Wayne Davison 2008-08-01 18:00:18 -07:00
  • fa181223d8 Properly handle a failure to create a partial directory, which is especially important for --delay-updates, particularly when --remove-source-files was also specified. Wayne Davison 2008-08-01 17:53:43 -07:00
  • 342bfb5e23 Output an FERROR* for a general io_error, and an FWARNING for other io_error flags. Wayne Davison 2008-07-31 07:59:45 -07:00
  • 9ed569486f Output an FERROR* for a general io_error, and an FWARNING for other io_error flags. Wayne Davison 2008-07-31 07:55:59 -07:00
  • 2fa069d85f Mention a missing sender-side hash improvment that went out in 3.0.0. Wayne Davison 2008-07-30 08:33:35 -07:00
  • 1fe0d14263 Mention a missing sender-side hash improvment that went out in 3.0.0. Wayne Davison 2008-07-30 08:33:05 -07:00
  • a25aed50e6 Make hard-linking work when a device has an st_dev of 0. Wayne Davison 2008-07-29 17:59:08 -07:00
  • c8b823f9d8 Make hard-linking work when a device has an st_dev of 0. Wayne Davison 2008-07-29 18:06:26 -07:00
  • 45c37e737f Mention some mount options that can interfere with --link-dest. Wayne Davison 2008-07-28 18:25:18 -07:00
  • 302e4346c2 Mention some mount options that can interfere with --link-dest. Wayne Davison 2008-07-28 18:24:25 -07:00
  • 8e5eafccdf Back-porting some manpage improvements. Wayne Davison 2008-07-28 17:07:38 -07:00
  • 41adbcec9f Added a client --munge-links option that works like the daemon "munge symlinks" parameter. Wayne Davison 2008-07-28 16:35:03 -07:00
  • 582831a447 - Don't require a daemon config &directive to use an equal sign. - Improved some daemon-config error messages. Wayne Davison 2008-07-27 16:05:18 -07:00
  • 312b68417f Made include_config() more efficient, and fixed a memory leak. Wayne Davison 2008-07-27 15:05:53 -07:00
  • 2206abf884 Added a command-line override for daemon config parameters: --dparam=PARAMETER=VALUE (-M PARAMETER=VALUE). Wayne Davison 2008-07-27 12:13:35 -07:00
  • fcd613d6c7 - Got rid of unused pstring/P_GSTRING/P_SEP/P_SEPARATOR code. - Made pointer-adding code a little better. Wayne Davison 2008-07-27 12:06:26 -07:00
  • 8a3ddcfc81 Added &include and &merge config-file directives that allow the daemon's config file incorporate the contents of other files. Wayne Davison 2008-07-26 20:03:45 -07:00
  • c9604e2115 Changed the module array to use an item_list structure. Wayne Davison 2008-07-26 19:57:02 -07:00
  • b583594ac7 Change the references to "service" to be either "section" or "module". Wayne Davison 2008-07-26 19:11:32 -07:00
  • 36828daef1 Reorder the static functions to avoid the need for forward declarations. Wayne Davison 2008-07-26 17:47:02 -07:00
  • 8880d8ec5e Since the loadparm.c file is changing, I'm reformatting it to use the rsync style. Wayne Davison 2008-07-26 17:42:09 -07:00
  • e88b92bade Preparing for release of 3.0.4pre1 v3.0.4pre1 Wayne Davison 2008-07-24 17:03:26 -07:00
  • f8722dba56 Fixed the --fake-super test in the xattrs testsuite when there are root-level xattrs on the files (e.g. selinux values). Wayne Davison 2008-07-24 07:46:16 -07:00
  • 56fc9f70d3 Enhanced the release scripts to be able to handle a branch release. Wayne Davison 2008-07-23 23:21:42 -07:00
  • ee03cb99d9 Fixed the timeout/flush loop-check logic to work properly with incremental recursion. Wayne Davison 2008-07-23 23:37:11 -07:00
  • 92d706a274 Don't interrupt the make if a generated build file didn't really change. Wayne Davison 2008-07-23 23:28:57 -07:00
  • 581c830c56 A couple xattr fixes for --fake-super. Wayne Davison 2008-07-23 23:12:39 -07:00
  • 9e58ef45f3 If the user specifies --protocol=29, rsync will avoid sending an -e option to the server (which is only useful for protocols 30 and above anyway). This gives the user an easy way to talk to a restricted server that has overly restrictive option-checking. Wayne Davison 2008-07-23 23:09:15 -07:00
  • 05bd05a7a1 Pass --branch option to patch-update script. Wayne Davison 2008-07-23 17:03:03 -07:00
  • 89b6b4ce4b We only need to deal with local patch branches now. Wayne Davison 2008-07-23 14:32:58 -07:00
  • 68cdc3b791 Fixed a potential alignment issue in the IRIX ACL code when allocating the initial struct acl object. Also, cast mallocs to avoid warnings. Wayne Davison 2008-07-22 21:35:21 -07:00
  • 209371b891 Fixed a bug in match_hard_links() where an empty directory would try to allocate 0 bytes of memory (which can fail on some OSes). Wayne Davison 2008-07-22 21:34:20 -07:00
  • 6fd2662982 Allow a release from a non-master branch. Wayne Davison 2008-07-22 09:11:34 -07:00
  • 1fdf0302c0 Start the 3.0.4 branch. Wayne Davison 2008-07-22 09:05:00 -07:00
  • aacd188034 Fixed a potential alignment issue in the IRIX ACL code when allocating the initial struct acl object. Also, cast mallocs to avoid warnings. Wayne Davison 2008-07-22 08:31:17 -07:00
  • bb640d3221 Explicitly cast a -1 that is being assigned to a size_t. Wayne Davison 2008-07-21 23:21:09 -07:00