www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 428] New: environment settings in dmd.conf uppercase names

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=428

           Summary: environment settings in dmd.conf uppercase names
           Product: D
           Version: 0.169
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


sample dmd.conf:
[Environment]
http_proxy=http://127.0.0.1:8118

is interpreted as

[Environment]
HTTP_PROXY=http://127.0.0.1:8118

cause:
inifile.c:233: if (islower(*p))
inifile.c:234:    *p &= ~0x20;

While this behaviour is documented in the source code,
it isn't documented on the compiler page:
http://www.digitalmars.com/d/dcompiler.html#Win32
http://www.digitalmars.com/d/dcompiler.html#linux


-- 
Oct 11 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=428


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 0.170 (updated documentation)


-- 
Oct 18 2006