aboutsummaryrefslogtreecommitdiffstats
path: root/src/install.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-09-17 09:12:23 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-09-17 12:20:24 -0700
commitee367bd38daca8e36e4088d11301e52b782597ad (patch)
treea88cd197df4f38f99340915abd542fe1256c6b9f /src/install.c
parentbuild: update gnulib submodule to latest (diff)
downloadcoreutils-ee367bd38daca8e36e4088d11301e52b782597ad.tar.gz
coreutils-ee367bd38daca8e36e4088d11301e52b782597ad.zip
maint: STREQ → streq
Use new Gnulib streq function instead of rolling our own macro. * bootstrap.conf (gnulib_modules): Add stringeq. * src/rm.c (main): Don’t assume streq is a macro that expands to (...), as it is now a function. * src/system.h: * tests/df/no-mtab-status.sh, tests/df/skip-duplicates.sh: (STREQ): Remove. All uses replaced by streq.
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c
index b3b26abdb..53f6a2ff5 100644
--- a/src/install.c
+++ b/src/install.c
@@ -227,7 +227,7 @@ need_copy (char const *src_name, char const *dest_name,
return true;
}
- scontext_match = STREQ (file_scontext_raw, to_scontext_raw);
+ scontext_match = streq (file_scontext_raw, to_scontext_raw);
freecon (file_scontext_raw);
freecon (to_scontext_raw);