Issue Details (XML | Word | Printable)

Key: STDCXX-372
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

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

Created: 26/Mar/07 10:36 PM   Updated: 11/Jul/09 12:06 AM
Return to search
Component/s: Locales
Affects Version/s: 4.2.0
Fix Version/s: 4.3.0

Time Tracking:
Original Estimate: 8h
Original Estimate - 8h
Remaining Estimate: 8h
Remaining Estimate - 8h
Time Spent: Not Specified
Remaining Estimate - 8h

Environment:
gcc 3.4.6, Linux x86_64
msvc, Windows

Severity: Incorrect Behavior


 Description  « Hide
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;


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 29/Aug/07 01:12 AM
This is a Minor problem. Scheduled for 4.2.1.

Martin Sebor added a comment - 14/Mar/08 04:20 AM
Disabled formatting.

Martin Sebor added a comment - 14/Mar/08 04:23 AM
Assigned to Farid.

Farid Zaripov added a comment - 02/Apr/08 02:29 PM
Deferring to 4.3 release.

Farid Zaripov added a comment - 14/May/08 04:57 PM
Same problem on MSVC/Windows.