summaryrefslogtreecommitdiff
path: root/flist.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Add IS_MISSING_FILE(statbuf) macro.Wayne Davison2014-01-191-3/+3
|
* Mention right option when using --delete-delay.Wayne Davison2013-06-161-1/+2
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Fix --delete-missing-args when --relative is active.Wayne Davison2011-10-221-2/+6
|
* Move implied_dot_dir=1, just to be safe.Wayne Davison2011-08-271-1/+1
|
* Fix sending of "." attributes for implied-dot-dir.Wayne Davison2011-08-271-8/+13
|
* Check if sender file changed before allowing a remove.Wayne Davison2011-06-181-8/+0
| | | | Fixes bug 7691.
* Move var declaration for older C compilers.Wayne Davison2011-04-031-1/+2
|
* Avoid changing file_extra_cnt during deletion.Matt McCutchen2011-01-291-2/+5
| | | | | | | | | | | The I/O code can receive incremental file-list chunks during deletion, and their OPT_EXTRA fields would get corrupted when file_extra_cnt is incremented. Instead of temporarily enabling uid_ndx to find out whether the user owns a file, have make_file() set a flag for that purpose. Applied with a few minor tweaks by Wayne. Fixes bug 7936.
* Some minor variable and flag cleanup.Wayne Davison2011-01-291-5/+3
|
* Older protocols should send 1-incremented dev numbers.Wayne Davison2010-06-261-2/+4
|
* Avoid a double-increment of a file's st_dev valueWayne Davison2010-05-291-5/+5
| | | | while supporting older rsyncs that send dev == 0.
* Removing now-redundant path-size check from send_if_directory().Wayne Davison2010-03-311-6/+0
|
* Fix directory-length overflow bug (7057).Wayne Davison2010-03-261-6/+14
|
* Pass the 'f' compatibility flag to the server (via -e)Wayne Davison2009-12-211-6/+25
| | | | so that 3.0.7 knows we support the safer flist-xfer method.
* Fix a hang when dealing with really large numbers of filesWayne Davison2009-10-291-0/+1
| | | | in an incremental recursion scan.
* Get rid of some unneeded externs.Wayne Davison2009-10-271-1/+0
|
* A few more --files-from fixes, and an enhanced testsuite for it.Wayne Davison2009-10-241-9/+7
|
* Fixed some backward-compatibility issues with --files-from.Wayne Davison2009-10-241-1/+12
|
* Give iconvbufs() an ICB_INIT flag.Wayne Davison2009-10-231-5/+5
|
* A major overhaul of I/O routines, creating perform_io().Wayne Davison2009-10-171-4/+13
| | | | | | | | | | | | | | | | | | Files-from data is now sent as multiplexed I/O so that it can mingle with any messages (such as debug output). Requires protocol 31. Protocol 31 no longer disables output verbosity in a couple instances that used to cause protocol issues. Got rid of MSG_* messages that have implied raw data that follows after them. We instead send a negative index value as a part of the raw data stream, which is guaranteed to be output together with the following data. This only affects the (in-progress) protocol 31 and the (self- contained) communication stream from the receiver to the generator. Added --debug=IO and improved --debug=FLIST. Some --debug=IO output requires --msgs2stderr to be used to see it (i.e. sending a message about sending a message would send another message, ad infinitum).
* Put file descriptor arg at the start of the arg list for consistency.Wayne Davison2009-09-121-7/+6
|
* Add support for transferring & setting nsec time values.Wayne Davison2009-09-071-2/+40
|
* Have --fake-super turn a symlink into a file whenWayne Davison2009-09-021-1/+1
| | | | NO_SYMLINK_XATTRS is defined.
* Have the sender use dead time to pad out the file list.Wayne Davison2009-08-221-5/+6
|
* Add conditional support for excluding types of files from xattr ops.Wayne Davison2009-08-081-0/+1
|
* Use typedefs for the filter structures.Wayne Davison2009-05-231-3/+3
|
* Change sending/receiving/storing of the rdev value for special files.Wayne Davison2009-04-261-11/+21
| | | | | | | | Since the value is not needed, protocol 31 no longer sends it, while older protocols are optimized so the sender just sends a valid rdev value as efficiently as possible. The receiver no longer caches an rdev value for special files, and the generator will always pass a 0 rdev value to do_mknod() for special files. Fixes bug #6280.
* Fixed improper deletion of mount-point hierarchies.Wayne Davison2009-03-311-1/+1
| | | | Fixes bug #6240.
* My version of Matt's improvements related to missing source args:Wayne Davison2009-03-131-6/+13
| | | | | | | - Implement --ignore-missing-args. - In the absence of --*-missing-args, a missing source arg is an FERROR_XFER, but doesn't need to be an IOERR_GENERAL. - Revise the man page.
* Make missing args governed by protect filters, not hide.Wayne Davison2009-03-131-1/+1
|
* Don't let --chmod tweak a 0 mode value (which marks a missing arg).Wayne Davison2009-03-061-2/+2
|
* Added the --delete-missing-args option to delete specifiedWayne Davison2009-02-281-7/+20
| | | | files on the receiver that don't exist on the sender.
* Made --progress use ir-chk instead of to-chk when the incrementalWayne Davison2009-02-281-2/+5
| | | | | | recursion scan is still active. Mention the output change more prominently in the NEWS file. Updated the --progress output in the manpage, with mention of the new "ir-chk" string's meaning.
* Handle a link_stat() failure with errno ENOENT as a vanished file.Wayne Davison2009-02-141-7/+19
|
* Ensure that the sender turns off any msg_fd_in use earlier.Wayne Davison2009-02-041-0/+2
| | | | | | This avoids a problem where an extra message from the sender could give the generator time to start sending data that will not be understood by the sender's use of read_msg_fd().
* Do not try to send a symlink with a 0-length value.Wayne Davison2009-02-041-0/+8
| | | | This avoids a transfer error in the receiver.
* Use a varint when sending the error_code.Wayne Davison2009-01-171-3/+3
|
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Added init_stat_x() to avoid duplication of acl/xattr init code.Wayne Davison2009-01-031-2/+1
|
* Allow opendir() in send_directory() to fail with ENOENT.Wayne Davison2008-12-271-0/+2
|
* Adding the --usermap/--groupmap/--chown options.Wayne Davison2008-11-151-2/+7
|
* Add flist_find_ignore_dirness() and change delete_in_dir() to use it.Matt McCutchen2008-11-101-19/+22
| | | | | | This fixes an issue with -K noticed by eric casteleijn, avoids some inconsistent itemizing when a file/dir is replaced by a dir/file, and removes a now-obsolete chunk of code from make_file().
* Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file.Wayne Davison2008-11-091-3/+3
|
* Enhanced the --stats output:Wayne Davison2008-09-261-19/+40
| | | | | | | - Mention how many files were created (protocol >= 29). - Mention how many files were deleted (new in protocol 31). - Follow the file-count, created-count, and deleted-count with a break-out list of each count by type.
* Split up the ifuncs.h file into 3 .h files.Wayne Davison2008-09-011-0/+1
|
* Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison2008-09-011-3/+3
| | | | | Also improved the human-readable output functions, including adding the ability to output negative numbers.
* Improved the fix that ensures that the generator gets notified about anWayne Davison2008-08-311-10/+32
| | | | | I/O error for the incremental directory that generated the error. The PROTOCOL_VERSION was bumped to 31 to implement this.
* Made an error of readlink_stat() use the right function name.Wayne Davison2008-08-101-1/+1
|