[Issue 2479] New: sformat is broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 29 08:13:35 PST 2008


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: bugzilla at digitalmars.com
        ReportedBy: dick221z at yahoo.com


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


-- 



More information about the Digitalmars-d-bugs mailing list