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

           Summary: sformat is broken
           Product: D
           Version: 2.022
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


char [32] tmp;
sformat(tmp,"hi");
writefln(tmp);

tmp is null after calling sformat. In some other cases an
EXCEPTION_ACCESS_VIOLATION is thrown.

Oddly enough format works fine

The problem seems to be in passing the variable argument list to sformat, the
argptr passed to sformat is null.

Workaround is to go back to 2.021


-- 

Reply via email to