locale test failure for br_FR.ISO-8859-1 and hu_HU.ISO-8859-2
-------------------------------------------------------------

                 Key: STDCXX-372
                 URL: https://issues.apache.org/jira/browse/STDCXX-372
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Locales
    Affects Versions: 4.2
         Environment: gcc 3.4.6, Linux x86_64
            Reporter: Martin Sebor


Running the test scripts for br_FR.ISO-8859-1 and hu_HU.ISO-8859-2 shows that 
stages 2 and 3 differ (the diff is below the script output):

$ ./br_FR.ISO-8859-1.sh -d -n
RWSTD_SRC_ROOT=/amd/devco/sebor/stdcxx/etc/nls
export RWSTD_SRC_ROOT
mkdir -p /tmp/locale.11871/stage.1/charmaps
./localedef -w -c -f /amd/devco/sebor/stdcxx/etc/nls/charmaps/ISO-8859-1 -i 
/amd/devco/sebor/stdcxx/etc/nls/src/br_FR 
/tmp/locale.11871/stage.1/br_FR.ISO-8859-1 >/dev/tty 2>&1
LC_ALL=/tmp/locale.11871/stage.1/br_FR.ISO-8859-1 ./locale --charmap -l 
>/tmp/locale.11871/stage.1/charmaps/ISO-8859-1 2>/dev/tty
LC_ALL=/tmp/locale.11871/stage.1/br_FR.ISO-8859-1 ./locale -ck -h -l LC_ALL 
>/tmp/locale.11871/stage.1/br_FR.src 2>/dev/tty
mkdir -p /tmp/locale.11871/stage.2/charmaps
./localedef -w -c -f /tmp/locale.11871/stage.1/charmaps/ISO-8859-1 -i 
/tmp/locale.11871/stage.1/br_FR.src /tmp/locale.11871/stage.2/br_FR.ISO-8859-1 
>/dev/tty 2>&1
RWSTD_SRC_ROOT=/tmp/locale.11871/stage.1
export RWSTD_SRC_ROOT
LC_ALL=/tmp/locale.11871/stage.2/br_FR.ISO-8859-1 ./locale --charmap -l 
>/tmp/locale.11871/stage.2/charmaps/ISO-8859-1 2>/dev/tty
LC_ALL=/tmp/locale.11871/stage.2/br_FR.ISO-8859-1 ./locale -ck -h -l LC_ALL 
>/tmp/locale.11871/stage.2/br_FR.src 2>/dev/tty
mkdir -p /tmp/locale.11871/stage.3/charmaps
./localedef -w -c -f /tmp/locale.11871/stage.2/charmaps/ISO-8859-1 -i 
/tmp/locale.11871/stage.2/br_FR.src /tmp/locale.11871/stage.3/br_FR.ISO-8859-1 
>/dev/tty 2>&1
RWSTD_SRC_ROOT=/tmp/locale.11871/stage.2
export RWSTD_SRC_ROOT
LC_ALL=/tmp/locale.11871/stage.3/br_FR.ISO-8859-1 ./locale --charmap -l 
>/tmp/locale.11871/stage.3/charmaps/ISO-8859-1 2>/dev/tty
LC_ALL=/tmp/locale.11871/stage.3/br_FR.ISO-8859-1 ./locale -ck -h -l LC_ALL 
>/tmp/locale.11871/stage.3/br_FR.src 2>/dev/tty
diff /tmp/locale.11871/stage.1/charmaps/ISO-8859-1  
/tmp/locale.11871/stage.2/charmaps/ISO-8859-1 >/dev/null
diff /tmp/locale.11871/stage.2/charmaps/ISO-8859-1  
/tmp/locale.11871/stage.3/charmaps/ISO-8859-1 >/dev/null
diff /tmp/locale.11871/stage.2/br_FR.src  /tmp/locale.11871/stage.3/br_FR.src 
>/dev/null
## AssertionFailed: /tmp/locale.11871/stage.2/br_FR.src  and 
/tmp/locale.11871/stage.3/br_FR.src differ.
# +-----------------------+--------+--------+--------+
# | DIAGNOSTIC            | ACTIVE |  TOTAL |INACTIVE|
# +-----------------------+--------+--------+--------+
# | (S7) ASSERTION        |      1 |     16 |    93% |
# +-----------------------+--------+--------+--------+

## Assertions = 16
## FailedAssertions = 1


$ diff /tmp/locale.11871/stage.2/br_FR.src /tmp/locale.11871/stage.3/br_FR.src
5,6c5,6
< #   codeset_off: 8640
< #   charmap_off: 8651
---
> #   codeset_off: 8520
> #   charmap_off: 8531
8c8
< #   num_elms: 264
---
> #   num_elms: 258
12,14c12
< #   largest_ce: 2
< collating-element <RW_CE_0> from "<U0048>"
< collating-element <RW_CE_1> from "<U0068>"
---
> #   largest_ce: 1
17,18d14
< <RW_CE_0>  \x38;\x23;\x0c;IGNORE;
< <RW_CE_1>  \x38;\x23;\x0d;IGNORE;


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to