Bug 3644 – Wrong UCHAR_MAX value in module core.stdc.limits

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-12-24T05:22:00Z
Last change time
2015-06-09T01:26:47Z
Assigned to
sean
Creator
2korden

Comments

Comment #0 by 2korden — 2009-12-24T05:22:57Z
It's a simple typo: // Currently enum UCHAR_MAX = ubyte.min; enum CHAR_MIN = char.max; // Should be enum UCHAR_MAX = ubyte.max; enum CHAR_MIN = char.min; It's a trivial fix, but I have to manually patch druntime each new release of DMD so the fix is highly appreciated.
Comment #1 by Kosmonaut — 2010-02-04T22:43:19Z
Comment #2 by bugzilla — 2010-03-08T22:26:50Z
Fixed dmd 2.041