diff options
| author | Eric Botcazou <ebotcazou@adacore.com> | 2025-11-02 21:21:04 +0100 |
|---|---|---|
| committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-11-02 21:24:29 +0100 |
| commit | 57b6383ca68688fccab2ed58fbfdbf03f43e27f4 (patch) | |
| tree | 9dff3f7d76414ceb880b09a4ad864a17fee63593 /contrib/gcc-changelog/git_commit.py | |
| parent | 27ddde739d55ad7e0228b12bff9346facfb22a12 (diff) | |
| download | gcc-57b6383ca68688fccab2ed58fbfdbf03f43e27f4.zip gcc-57b6383ca68688fccab2ed58fbfdbf03f43e27f4.tar.gz gcc-57b6383ca68688fccab2ed58fbfdbf03f43e27f4.tar.bz2 | |
Ada: Fix ACATS cxaj001 test on Solaris
The problem is that Ada.Locales.Language returns a language code that is
not in the expected range because it does not validate the code.
gcc/ada/
* locales.c (is_iso_639_3): New static function.
(c_get_language_code): Use it to validate the ISO-639-3 code
before returning it.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions
