#275 closed defect (fixed)
locale.h and unidef.h out of sync
| Reported by: | Steven Levine | Owned by: | Yuri Dario |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.6.6 |
| Component: | libc | Version: | 0.6.4 |
| Severity: | major | Keywords: | locale |
| Cc: |
Description
Unidef.h and locale.h define LC_MONETARY and LC_NUMERIC with reversed values. kLIBC is builds set_locale with unidef.h. setlocale will fail to do the right thing for LC_NUMERIC and LC_MONETARY if the application is built with locale.h.
This is probably a holdover from the original EMX headers which have the same reversal.
Attachments (2)
Change History (5)
by , 12 years ago
| Attachment: | patch-275b.txt added |
|---|
by , 12 years ago
| Attachment: | patch-275t.txt added |
|---|
comment:1 by , 12 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
comment:3 by , 12 years ago
| Keywords: | locale added |
|---|---|
| Priority: | highest → normal |
Note:
See TracTickets
for help on using tickets.

Fix committed in r3810.