bug#79714: env: always adds __CF_USER_TEXT_ENCODING var on macOS since v9.8

"Andrew Marshall" via GNU coreutils Bug Reports <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
In Coreutils v9.8 on macOS (I also tested on recent master, 5a00d0a65), `env` now adds the `__CF_USER_TEXT_ENCODING` var to the environment. This behavior is not present in v9.7. I suspect this may be due to commit c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e, but am unable to confirm as naive bisecting and reverting is confounded by failed builds.

./coreutils-bin/env -i /usr/bin/env        # (empty)
./coreutils-bin/env -i ./coreutils/bin/env # has __CF_USER_TEXT_ENCODING
/usr/bin/env -i ./coreutils-bin/env        # has __CF_USER_TEXT_ENCODING
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.