summaryrefslogtreecommitdiff
path: root/xattrs.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-03Update the copyright year.Wayne Davison1-1/+1
2008-09-01Split up the ifuncs.h file into 3 .h files.Wayne Davison1-0/+1
2008-09-01Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison1-1/+1
Also improved the human-readable output functions, including adding the ability to output negative numbers.
2008-07-17Changed human_num() to big_num() with an extra arg so that it canWayne Davison1-4/+4
be used in place of all %.0f output idioms.
2008-07-14A couple xattr fixes for --fake-super.Wayne Davison1-3/+6
2008-06-12Cast the datum_len value to a long for rprintf().Wayne Davison1-2/+2
2008-06-08A couple more xattr improvements:Wayne Davison1-5/+6
- Made the XSTATE_* defines avoid using 0. - Call !XATTR_ABBREV() in recv_xattr_request(). - Improved the "internal abbrev" error message. - Fixed the potential for a directory time glitch in xattrs.diff.
2008-06-08Fixed an "Internal abbrev error" when dealing with an xattr valueWayne Davison1-4/+8
that is unchanged on an early file, and changed on a later file. Added 2 new test cases to ensure this stays fixed.
2008-05-17Fixed several issues with preserving xattrs when using --backup.Wayne Davison1-0/+42
2008-04-15Use overflow_exit() for overflows, not out_of_memory().Wayne Davison1-7/+7
2008-03-07Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems.Wayne Davison1-6/+6
2008-03-07Fixed the interaction of --fake-super with --link-dest & --xattrs.Wayne Davison1-26/+41
Fixed the munging of non-user namespace xattrs w/--fake-super. Fixed the sorting of received xattrs when name-munging occurs. Added xattr tests to verify that these things stay fixed.
2008-03-01Include 2008 in the copyright years.Wayne Davison1-1/+1
2008-02-06Make get_xattr_names() even safer at fetching the list of attr names.Wayne Davison1-22/+20
2008-01-12Another xattr "internal abbrev" fix for an xattr object that isWayne Davison1-27/+5
shared by multiple files: handle the case where one file has an abbreviated item set correctly, but a following item does not. Also extended testsuite/xattrs.test to verify that this works.
2008-01-12Fixed a bug with truncated xattr data requests when the receiverWayne Davison1-26/+38
needs to discard some of the items from the sender's list.
2007-11-25Various xattr fixes:Wayne Davison1-12/+18
- Fake-super mode no longer strips the RSYNC_PREFIX from a "%name" item. - Make various places skip the fake-super xattr when --fake-super is enabled. - If we fail to re-read the xattr value of an xattr we are trying to un- abbreviate, send a zero for its length (avoiding a protocol problem).
2007-11-24Fixed a problem with --fake-super not getting the fully tweaked new_modeWayne Davison1-5/+11
value. Also fixed the removal of rsync-internal xattr values on the destination files when we aren't copying rsync-internal xattr values.
2007-11-22New logging categories added to allow differentiation betweenWayne Davison1-14/+14
transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
2007-11-05Make sure that get_xattr_data() never tries to malloc 0 bytes.Wayne Davison1-4/+7
2007-11-05Fixed get_xattr_acl() -- it needed to zero *len_p.Wayne Davison1-0/+1
2007-09-29Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().Wayne Davison1-0/+27
2007-09-23Changed "statx" to "stat_x" to try to work around a build problem on AIX.Wayne Davison1-8/+8
2007-09-22Moved inline functions from rsync.h into ifuncs.h.Wayne Davison1-0/+1
2007-07-10Tweaking the license text a bit more.Wayne Davison1-2/+3
2007-07-07Switching to GPL 3.Wayne Davison1-3/+2
2007-07-02We omit copying any user-space rsync.%FOO attributes unless theWayne Davison1-5/+7
user specified -X twice.
2007-05-20- Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().Wayne Davison1-3/+3
2007-04-24Adding the --fake-super option.Wayne Davison1-10/+179
2007-04-20Changed the *_abbbrevint() functions to *_varint().Wayne Davison1-16/+16
2007-04-07The improved --xattrs option is landing on the trunk.Wayne Davison1-0/+775