]> git.ipfire.org Git - thirdparty/tar.git/commit
Prefer other types to int in xattrs.c
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 06:40:15 +0000 (23:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 06:47:23 +0000 (23:47 -0700)
commit04b4f491a8b3e774ab3ece194f25b23ab0095e6d
tree2c2a7279a7371fdbadbc417ab27cd0a3d0938733
parente531f8c66cf77e5e53204c868fb1c19443a6bb22
Prefer other types to int in xattrs.c

* src/xattrs.c (xattrs__acls_set) [HAVE_POSIX_ACLS]:
Prefer acl_type_t to int for ACL types.
(acls_get_text, xattrs_acls_get, xattrs_acls_set)
(xattrs_xattrs_get, xattrs_selinux_get, xattrs_selinux_set)
(xattrs_xattrs_set): Prefer bool for booleans.
src/extract.c
src/xattrs.c
src/xattrs.h