]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: STREQ → streq
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Sep 2025 16:12:23 +0000 (09:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Sep 2025 19:20:24 +0000 (12:20 -0700)
commitee367bd38daca8e36e4088d11301e52b782597ad
treea88cd197df4f38f99340915abd542fe1256c6b9f
parent9f823e254ae2724ecf7bfda1b1b962c1bcd3dced
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.
55 files changed:
bootstrap.conf
gl/lib/root-dev-ino.h
src/basenc.c
src/cat.c
src/chcon.c
src/chroot.c
src/comm.c
src/copy.c
src/coreutils.c
src/cp.c
src/csplit.c
src/cut.c
src/date.c
src/df.c
src/digest.c
src/dircolors.c
src/du.c
src/echo.c
src/env.c
src/expand-common.c
src/expr.c
src/fmt.c
src/fold.c
src/head.c
src/install.c
src/join.c
src/nl.c
src/numfmt.c
src/od.c
src/paste.c
src/pinky.c
src/pr.c
src/printf.c
src/ptx.c
src/rm.c
src/seq.c
src/set-fields.c
src/shred.c
src/shuf.c
src/sort.c
src/split.c
src/stat.c
src/stdbuf.c
src/stty.c
src/system.h
src/tac.c
src/tail.c
src/test.c
src/touch.c
src/true.c
src/tsort.c
src/uniq.c
src/wc.c
tests/df/no-mtab-status.sh
tests/df/skip-duplicates.sh