* Re: PATCH] coreutils: Upgrade 9.11 -> 9.12
@ 2026-09-23 16:58 Collin Funk
0 siblings, 0 replies; only message in thread
From: Collin Funk @ 2026-09-23 16:58 UTC (permalink / raw)
To: openembedded-core; +Cc: Leon Anavi
Hi Leon,
Leon Anavi wrote:
> Upgrade to release 9.12. Drop backported patches that are now part
> of this release. Notable changes include:
>
> - env supports a new --env0-from=FILE option to support
> full persistence and restoration of the environment.
> This also supports e.g. filtering like:
> env -i --env0-from=<( env -0 | sed -z ... )
>
> - Commands now have safer terminal output,
> avoiding confusing output or corrupted terminal state.
>
> - Commands that traverse directories no longer
> fail merely if files are being removed in parallel.
>
> - ptx has improved robustness, avoiding potential infinite loops.
>
> - tee fixes robustness issues introduced in the previous release,
> where it could go into an infinite loop or incorrectly error
> in the presence of short writes.
>
> - stty is more accepting of variations in requested speed.
>
> - sort(1) will now better use available memory
> and parallel operation when reading from pipes.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
For context, I co-maintain GNU coreutils. In coreutils-9.12, we added
quoting to 'env' and 'printenv'. A large part of the rationale was
improved robustness, avoiding applications getting confused with
environment variables that may have newlines or other strange
characters. Here is the old behavior:
$ env -i ENV='hello'$'\n''FAKE_ENV=goodbye' env
ENV=hello
FAKE_ENV=goodbye
Here is the new behavior, making it clear that FAKE_ENV is not an
environment variable:
$ env -i ENV='hello'$'\n''FAKE_ENV=goodbye' ~/.local/bin/env
ENV='hello'$'\n''FAKE_ENV=goodbye'
However, this caused some issues that we did not foresee from our
scanning of Debian Code Search [1] [2].
I suggest applying the patch that we committed quickly after the
release, which does not quote when standard output is not a terminal
[3].
Collin
[1] https://lists.gnu.org/archive/html/coreutils/2026-09/msg00061.html
[2] https://lists.gnu.org/archive/html/coreutils/2026-09/msg00062.html
[3] https://github.com/coreutils/coreutils/commit/782a1e5bc2090212273bb731dceee2cc2a071e54
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-23 16:58 PATCH] coreutils: Upgrade 9.11 -> 9.12 Collin Funk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.