summaryrefslogtreecommitdiff
path: root/flist.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Tweaked the symlink iconv buffer size and fixed a comment.Wayne Davison2008-08-021-4/+4
|
* When using --iconv, if a server-side receiver can't convert a filename,Wayne Davison2008-08-021-1/+1
| | | | it now outputs the name back to the client without mangling the charset.
* Refer to the symlink's contents as "symlink data", not "symlink name".Wayne Davison2008-08-021-4/+4
|
* Skip new symlink conversion step if the remote rsync is notWayne Davison2008-08-021-3/+4
| | | | new enough to do symlink content conversions.
* The --iconv option now converts the content of a symlink too.Wayne Davison2008-08-011-19/+94
|
* Fixed a problem with checking for the '.' dir in the first fileWayne Davison2008-08-011-2/+2
| | | | | | 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.
* Output an FERROR* for a general io_error, and an FWARNING for otherWayne Davison2008-07-311-6/+6
| | | | io_error flags.
* Make hard-linking work when a device has an st_dev of 0.Wayne Davison2008-07-291-2/+2
|
* Explicitly cast a -1 that is being assigned to a size_t.Wayne Davison2008-07-211-1/+1
|
* Added a '%C' (MD5 checksum) flag for the output/logfile formatting.Wayne Davison2008-07-191-3/+10
|
* Changed the POOL_QALIGN flag to POOL_NO_QALIGN, reversing the settingWayne Davison2008-07-191-2/+2
| | | | | | (making pools aligned by default). Added the missing code to make the documented behavior of pool_free() with a NULL addr work. Updated the pool_alloc.3 manpage.
* We now pass the POOL_QALIGN flag to pool_create(). Also optimizedWayne Davison2008-07-181-7/+10
| | | | the verbose-message check at the start of recv_file_list().
* Improved the hard-link logging.Wayne Davison2008-07-181-11/+13
|
* Added some HLINK debugging output and enabled it for hardlink tests.Wayne Davison2008-07-171-1/+21
|
* Changed human_num() to big_num() with an extra arg so that it canWayne Davison2008-07-171-4/+4
| | | | be used in place of all %.0f output idioms.
* Added the --info=FLAGS an --debug=FLAGS options, which allowsWayne Davison2008-07-131-26/+26
| | | | fine-grained output control (in addition to the coarse -v).
* Got rid of some trailing whitespace.Wayne Davison2008-07-051-2/+2
|
* The sender now sets IOERR_GENERAL in more skipped-file instances.Matt McCutchen2008-06-221-3/+13
|
* Improved handling of a system that doesn't have a 64-bit offset type.Wayne Davison2008-06-041-1/+18
|