summary refs log tree commit diff
path: root/src/funcs
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2015-05-24 23:05:48 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-11 14:31:48 +0800
commitfe393c0f9ab72de5a7d32aab53e5e8275cad8735 (patch)
treea3127335de57b92e35e8f507680cab3674eb3026 /src/funcs
parentinput: Allow two consecutive calls to pungetc (diff)
downloaddash-fe393c0f9ab72de5a7d32aab53e5e8275cad8735.tar.gz
dash-fe393c0f9ab72de5a7d32aab53e5e8275cad8735.zip
builtin: Clear LC_ALL in mkbuiltins
In mkbuiltins LC_COLLATE is set, but since "The value of the LC_ALL
environment variable has precedence over any of the other environment
variables starting with LC_"
(http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html), this
has no effect when LC_ALL is set.

This breaks when having e.g. LC_ALL=en_US.UTF-8 during make, which
causes the test case
    dash -c :
to fail, probably due to broken ordering in builtins.c. The patch
corrects that by clearing LC_ALL.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs')
0 files changed, 0 insertions, 0 deletions
'2021-08-22 12:58:03 -0400'>2021-08-22Add ISC license headerJune McEnroe 2021-08-22Update to Linux man-pages 5.12Štěpán Němec 2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe