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:
* 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
Update of bug #66591 (group findutils):
Category: xargs => documentation
Status:None => Fixed
Assigned to:None => berny
Fixed Release:None => 4.11.0
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
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
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
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
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
-
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