mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 10:14:19 +00:00
45764: Add a regression test for 45772. Test by Roman
This commit is contained in:
parent
c486040220
commit
ab835f0c37
|
@ -1,3 +1,8 @@
|
|||
2020-05-05 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 45764: Test/D07multibyte.ztst: Add a regression test for 45772.
|
||||
Test by Roman
|
||||
|
||||
2020-05-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 45772: Src/params.c: Upon restoring locale variables, restore
|
||||
|
|
|
@ -585,3 +585,17 @@
|
|||
>OK
|
||||
F:A failure here may indicate the system regex library does not
|
||||
F:support character sets outside the portable 7-bit range.
|
||||
|
||||
(
|
||||
locale=$LANG
|
||||
unset -m 'LC_*|LANG'
|
||||
export LC_CTYPE=$locale
|
||||
echo '\u276F' # this works
|
||||
() {
|
||||
local LC_ALL=C
|
||||
}
|
||||
echo '\u276F' # this doesn't work
|
||||
)
|
||||
0:locale gets restored when locale parameters go out of scope (regression test for 45772)
|
||||
>❯
|
||||
>❯
|
||||
|
|
Loading…
Reference in a new issue