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: stevenhl Owned by: ydario
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 ydario 6 years ago.
patch-275t.txt (5.6 KB) - added by ydario 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by ydario

Changed 6 years ago by ydario

comment:1 Changed 6 years ago by ydario

  • Owner set to ydario
  • Status changed from new to accepted

comment:2 Changed 6 years ago by bird

  • Resolution set to fixed
  • Status changed from accepted to closed

Fix committed in r3810.

comment:3 Changed 6 years ago by bird

  • Keywords locale added
  • Priority changed from highest to normal
Note: See TracTickets for help on using tickets.