Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

patch-275b.txt (607 bytes ) - added by Yuri Dario 11 years ago.
patch-275t.txt (5.6 KB ) - added by Yuri Dario 11 years ago.

Download all attachments as: .zip

Change History (5)

by Yuri Dario, 11 years ago

Attachment: patch-275b.txt added

by Yuri Dario, 11 years ago

Attachment: patch-275t.txt added

comment:1 by Yuri Dario, 11 years ago

Owner: set to Yuri Dario
Status: newaccepted

comment:2 by bird, 11 years ago

Resolution: fixed
Status: acceptedclosed

Fix committed in r3810.

comment:3 by bird, 11 years ago

Keywords: locale added
Priority: highestnormal
Note: See TracTickets for help on using tickets.