deps: backport ICU-20575 to fix err/crasher
- Floating patch for ICU 64.x - includes test case ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575 Backport of: https://github.com/unicode-org/icu/pull/634 Fixes: https://github.com/nodejs/node/issues/27418 PR-URL: https://github.com/nodejs/node/pull/27435 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
617c55ebe5
commit
31ac8b9080
@ -136,4 +136,15 @@ if (!common.hasIntl) {
|
||||
common.mustCall((e) => assert.ifError(e))
|
||||
);
|
||||
}
|
||||
|
||||
{
|
||||
// Regression test for https://github.com/nodejs/node/issues/27418
|
||||
const env = { ...process.env, LC_ALL: 'fr@EURO' };
|
||||
execFile(
|
||||
process.execPath,
|
||||
['-p', 'new Intl.NumberFormat().resolvedOptions().locale'],
|
||||
{ env },
|
||||
common.mustCall((e) => assert.ifError(e))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
2415
tools/icu/patches/64/source/common/putil.cpp
Normal file
2415
tools/icu/patches/64/source/common/putil.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user