[Mono-bugs] [Bug 670070] New: Use _vscprintf() for mingw-w64 compilers in vasprintf.c

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 7 14:20:48 EST 2011



           Summary: Use _vscprintf() for mingw-w64 compilers in
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: hib at hiberis.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=412627)
 --> (http://bugzilla.novell.com/attachment.cgi?id=412627)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

The mingw-w64 compilers implement a vsnprintf() function that do not
conform to the C99 standard (just like MSVC). To get the length of a string we
should use _vscprintf() just like with MSVC compilers.

See attached patch for a fix of eglib/src/vasprintf.c.

Reproducible: Always

Steps to Reproduce:

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list