Thread overview
[Issue 3644] New: Wrong UCHAR_MAX value in module core.stdc.limits
Dec 24, 2009
Koroskin Denis
Feb 05, 2010
Kosmonaut
Mar 09, 2010
Walter Bright
December 24, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3644

           Summary: Wrong UCHAR_MAX value in module core.stdc.limits
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean@invisibleduck.org
        ReportedBy: 2korden@gmail.com


--- Comment #0 from Koroskin Denis <2korden@gmail.com> 2009-12-24 05:22:57 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3644


Kosmonaut <Kosmonaut@tempinbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Kosmonaut@tempinbox.com


--- Comment #1 from Kosmonaut <Kosmonaut@tempinbox.com> 2010-02-04 22:43:19 PST ---
dsource changeset 239: http://www.dsource.org/projects/druntime/changeset/239

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3644


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2010-03-08 22:26:50 PST ---
Fixed dmd 2.041

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------