Opened 6 years ago

Closed 6 years ago

Last modified 6 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 6 years ago.
patch-275t.txt (5.6 KB) - added by Yuri Dario 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Yuri Dario

Attachment: patch-275b.txt added

Changed 6 years ago by Yuri Dario

Attachment: patch-275t.txt added

comment:1 Changed 6 years ago by Yuri Dario

Owner: set to Yuri Dario
Status: newaccepted

comment:2 Changed 6 years ago by bird

Resolution: fixed
Status: acceptedclosed

Fix committed in r3810.

comment:3 Changed 6 years ago by bird

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