aboutsummaryrefslogtreecommitdiffstats
path: root/hlink.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Add free_stat_x() inline function.Wayne Davison2013-01-191-18/+3
|
* Fix --only-write-batch hang with --hard-links.Wayne Davison2012-01-281-1/+1
| | | | Fixes bug 8565.
* Replace another assert with a descriptive error.Wayne Davison2010-06-261-1/+5
|
* Make sure our idev_find() hashtable use is right.Wayne Davison2010-05-291-4/+5
|
* Turn an assert into two more descriptive errors.Wayne Davison2010-05-291-1/+8
|
* Get rid of some unneeded externs.Wayne Davison2009-10-271-1/+0
|
* Avoid an dry-run error trying to stat a prior hard-linkWayne Davison2009-09-051-3/+7
| | | | file that hasn't really been created.
* Create non-transferred files in a more atomic manner:Wayne Davison2009-08-291-11/+4
| | | | | | | | | | If a symlink, device, special-file, or hard-linked file is replacing an existing non-directory, the new file is created using a temporary filename and then renamed into place. Also changed the handling of a cluster of hard-linked symlinks/devices/special-files to always ensure the first item in the cluster is correct, since it doesn't really save any significant work to try to find an existing correct item later in the cluster to link with.
* Improved the backup code:Wayne Davison2009-01-031-4/+4
| | | | | | | | - Backups do not interfere with an atomic update (when possible). - Backing up a file will remove a directory that is in the way and visa versa. - Unify the backup-dir and non-backup-dir code in backup.c. - Improved the backup tests a little bit.
* 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-12/+3
|
* Initialize xattr data in a couple spots in the hlink code, which avoidsWayne Davison2008-09-241-4/+33
| | | | | 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.
* Split up the ifuncs.h file into 3 .h files.Wayne Davison2008-09-011-1/+1
|
* Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison2008-09-011-1/+2
| | | | | Also improved the human-readable output functions, including adding the ability to output negative numbers.
* Changed flist_for_ndx() to optionally die with an errorWayne Davison2008-08-141-13/+4
| | | | if the index isn't found.
* Make sure that the hlink node->data allocation doesn't fail.Wayne Davison2008-08-081-1/+2
|
* Include the array-size in array externs so that IBM's code-checkerWayne Davison2008-07-201-1/+1
| | | | can do more checking for us.
* Fixed a bug in match_hard_links() where an empty directory would tryWayne Davison2008-07-201-1/+1
| | | | to allocate 0 bytes of memory (which can fail on some OSes).
* A few more HLINK debug messages.Wayne Davison2008-07-201-2/+23
|
* Improved the hard-link logging.Wayne Davison2008-07-181-3/+3
|
* Added some HLINK debugging output and enabled it for hardlink tests.Wayne Davison2008-07-171-1/+7
|
* Added the --info=FLAGS an --debug=FLAGS options, which allowsWayne Davison2008-07-131-6/+5
| | | | fine-grained output control (in addition to the coarse -v).
* - Changed prev_name into a buffer so that there is no chance that itsWayne Davison2008-04-281-5/+12
| | | | | contents can be overwritten by other calls to f_name(). - Changed an hlink assert into a check that provides more debug info.
* Fixed a crash if a non-incremental-recursion transfer has aWayne Davison2008-04-271-1/+2
| | | | skipped file in a set of hard-links.
* Fixed the discovery of a prior finished hard-link when the entryWayne Davison2008-03-261-18/+14
| | | | is old enough that it is no longer in the flist data.
* Fixed hard-linking when some of the files can get skipped. This addsWayne Davison2008-03-161-16/+74
| | | | | | | the FLAG_SKIP_HLINK flag, which gets set on any hard-linked file that the user wants to skip (e.g. via --ignore-existing, --append, etc.). The code in hlink.c now deals with the skipped files instead of triggering an assert() error.
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* Fixed return code from hard_link_one() when not verbose.Wayne Davison2008-02-061-1/+1
|
* Some minor tweaks:Wayne Davison2007-12-311-5/+5
| | | | | | - Improved some comments in hlink.c. - Changed "the" to "a" in rsyncd.conf.yo. - Improved the PATCH.name filtering loop in patch-update.
* Don't try to process hard-link data in list-only mode.Wayne Davison2007-11-291-12/+15
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-4/+4
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Some changes to allow an unsorted file list even if the iconv optionWayne Davison2007-11-061-9/+3
| | | | was disabled via configure.
* Make last fix even better.Wayne Davison2007-10-211-3/+3
|
* Avoid dropping a hard-linked itemized output with -ii.Wayne Davison2007-10-211-1/+2
|
* Changed "statx" to "stat_x" to try to work around a build problem on AIX.Wayne Davison2007-09-231-4/+4
|
* - Simplified the flist-spanning gnum logic in match_gnums().Wayne Davison2007-09-101-36/+44
| | | | | | | | | | - Don't use hlink_flist in hard_link_check(). - Made the prev_name logic in hard_link_check() better. - Added an "ndx" arg to the finish_hard_link() call. Also, set the prev value of any prior entries to the first finished item (which ensures that any item that follows a re-shuffled item (which was waiting for a transferred file to finish) can find the FIRST+DONE item.
* If we turn off FLAG_HLINKED, set FLAG_HLINK_DONE so that anyWayne Davison2007-09-041-0/+3
| | | | file-entry values affected by HLINK_BUMP() stay put.
* Changes to allow hard-linking to work in inc_recurse mode.Wayne Davison2007-09-031-56/+139
|
* Removed the old version of the hashtable functions and updatedWayne Davison2007-09-031-131/+12
| | | | the code to use the structures and functions calls.
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Changed "count" to "used" in struct file_list since there canWayne Davison2007-07-071-2/+2
| | | | | be empty items that make the count inaccurate (and the name somewhat deceiving).
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Added a comment to a shared iterator to avoid a warning from IBM's checker.Wayne Davison2007-05-221-1/+1
|
* The --iconv option has now made it to the trunk.Wayne Davison2007-04-261-10/+19
|
* The ACL support has arrived! This version has a brand new protocolWayne Davison2007-03-111-19/+49
| | | | | that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions.
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* A few minor tweaks to handle the newest variable names.Wayne Davison2006-12-281-7/+7
|
* A few more minor tweaks.Wayne Davison2006-12-171-8/+7
|