www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3644] New: Wrong UCHAR_MAX value in module core.stdc.limits

reply d-bugmail puremagic.com writes:
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: -------
Dec 24 2009
next sibling parent d-bugmail puremagic.com writes:
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: -------
Feb 04 2010
prev sibling parent d-bugmail puremagic.com writes:
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: -------
Mar 08 2010