[bug #66591] default command of xargs in texinfo documentation

2025-01-05 Thread Bernhard Voelker
Follow-up Comment #2, bug #66591 (group findutils): P.S. The usage output from 'xargs --help' had it wrong; I fixed it (and also added a sentence about the default COMMAND): -Usage: xargs [OPTION]... COMMAND [INITIAL-ARGS]... +Usage: xargs/xargs [OPTION]... [COMMAND [INITIAL-ARGS]...] Pushed at:

[PATCH] xargs: clarify command as optional in --help output

2025-01-05 Thread Bernhard Voelker
* xargs/xargs.c (usage): Fix synopsis by wrapping COMMAND in '[...]', because it is in fact optional. Also add a sentence that the default COMMAND is 'echo'. --- xargs/xargs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xargs/xargs.c b/xargs/xargs.c index 8abdd790..517f9

[bug #66591] default command of xargs in texinfo documentation

2025-01-05 Thread Bernhard Voelker
Update of bug #66591 (group findutils): Category: xargs => documentation Status:None => Fixed Assigned to:None => berny Fixed Release:None => 4.11.0

[PATCH 1/5] maint: update copyright year number ranges

2025-01-05 Thread Bernhard Voelker
Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * tests/sample-test: Adjust to use the single most recent year. * All other files: Update copyright years via the above make run. --- Makefile.am| 2 +- NEWS

[PATCH 5/5] maint: silence GCC-14 on utility source getlimits.c

2025-01-05 Thread Bernhard Voelker
Seen on GCC 14: getlimits.c:73:3: warning: stack-based buffer overflow [CWE-121] \ [-Wanalyzer-out-of-bounds] 73 | sprintf (limit + 1, "%" "ju", (uintmax_t) TYPE##_MAX); \ | ^ ... while limit is defined more than large

[PATCH 0/5] Year 2025 maint patches incl. gnulib update

2025-01-05 Thread Bernhard Voelker
This patch series is about some maintenance work for the GNU findutils to start into a hopefully Happy New 2025: * [PATCH 1/5] maint: update copyright year number ranges * [PATCH 2/5] maint: update gnulib to latest * [PATCH 3/5] xargs: simplify error handling for gnulib's safe_read * [PATCH 4/5] m

[PATCH 2/5] maint: update gnulib to latest

2025-01-05 Thread Bernhard Voelker
Run 'make update-gnulib-to-latest'; there have been 1127 commits on gnulib since the last update. * gnulib: Update to latest. * bootstrap: Likewise. * bootstrap-funclib.sh: Likewise. * cfg.mk (exclude_file_name_regexp--sc_fsf_postal): Add to exempt the script build-aux/src-sniff.py from this synta

[PATCH 4/5] maint: adjust to gnulib module renaming

2025-01-05 Thread Bernhard Voelker
Since previous gnulib update, './bootstrap' shows deprecation warnings like the following for several modules: Notice from module errno: This module is deprecated. Use the module 'errno-h' instead. Use the newer names instead: - errno -> errno-h - inttypes -> inttypes-h - locale -> locale-h -

[PATCH 3/5] xargs: simplify error handling for gnulib's safe_read function

2025-01-05 Thread Bernhard Voelker
The gnulib/NEWS file states: SAFE_READ_ERROR and SAFE_WRITE_ERROR are now obsolescent; callers can just check for < 0. * xargs/xargs.c (xargs_do_exec): Adjust error handling of safe_read accordingly. --- xargs/xargs.c | 110 +- 1 file changed, 4