aboutsummaryrefslogtreecommitdiffstats
path: root/lib/qcopy-acl.c
diff options
context:
space:
mode:
authorPaul Eggert2025-11-04 09:14:54 -0800
committerPaul Eggert2025-11-04 13:32:58 -0800
commit59fbaca6b9b48c217c60fc5ab21240ba104059e8 (patch)
tree32b81d61d969b243df62ab60a3c472a34d200976 /lib/qcopy-acl.c
parent327c16ce14897ad4f1e5f9759b9773f97549eae1 (diff)
downloademacs-59fbaca6b9b48c217c60fc5ab21240ba104059e8.tar.gz
emacs-59fbaca6b9b48c217c60fc5ab21240ba104059e8.zip
Update from Gnulib by running admin/merge-gnulib
* admin/merge-gnulib (GNULIB_MODULES): Add stringeq. With current Gnulib it is already present as in indirect dependency; listing it here because Emacs now depends on it directly. * lib-src/ebrowse.c, lib-src/etags.c: (streq): Remove, as Gnulib defines this now. * lib/fseterr.c, lib/fseterr.h, lib/issymlink.c, lib/issymlink.h: * lib/issymlinkat.c, lib/stdio-consolesafe.c, lib/string.c: * m4/fseterr.m4, m4/gettext_h.m4, m4/stringeq.m4: New files from Gnulib. * src/conf_post.h (tzfree) [__ANDROID_API__ >= 35]: Remove.
Diffstat (limited to 'lib/qcopy-acl.c')
-rw-r--r--lib/qcopy-acl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/qcopy-acl.c b/lib/qcopy-acl.c
index 282f4b2d2a5..e86e15544f6 100644
--- a/lib/qcopy-acl.c
+++ b/lib/qcopy-acl.c
@@ -50,9 +50,9 @@ is_attr_permissions (const char *name, struct error_context *ctx)
50{ 50{
51 /* We need to explicitly test for the known extended attribute names, 51 /* We need to explicitly test for the known extended attribute names,
52 because at least on CentOS 7, attr_copy_action does not do it. */ 52 because at least on CentOS 7, attr_copy_action does not do it. */
53 return strcmp (name, XATTR_NAME_POSIX_ACL_ACCESS) == 0 53 return streq (name, XATTR_NAME_POSIX_ACL_ACCESS)
54 || strcmp (name, XATTR_NAME_POSIX_ACL_DEFAULT) == 0 54 || streq (name, XATTR_NAME_POSIX_ACL_DEFAULT)
55 || strcmp (name, XATTR_NAME_NFSV4_ACL) == 0 55 || streq (name, XATTR_NAME_NFSV4_ACL)
56 || attr_copy_action (name, ctx) == ATTR_ACTION_PERMISSIONS; 56 || attr_copy_action (name, ctx) == ATTR_ACTION_PERMISSIONS;
57} 57}
58 58