[Issue 2767] New: DMD incorrectly mangles NTFS stream names

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 28 21:01:38 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2767

           Summary: DMD incorrectly mangles NTFS stream names
           Product: D
           Version: 2.026
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: unknown at simplemachines.org


Hardly a major issue, but on an NTFS formatted drive, try the following:

touch example:code.d
dmd example:code.d

DMD will generate a "code.exe" file, and use that as the module name.  While
again very trivial, this is incorrect - the filename is indeed
"example:code.d", it is an NTFS stream tied to the file named "example".

The usefulness of this bug is only on autogenerated files and make scripts,
which might create a file on Windows with a ":" in it, and then break in a hard
to track down way.  I found it only checking on another bug.

Minor patch upcoming.

-[Unknown]


-- 



More information about the Digitalmars-d-bugs mailing list