[Bug 7255] New: Winelib bug in fprintf

Wine Bugs wine-bugs at winehq.org
Wed Jan 24 16:57:44 CST 2007


           Summary: Winelib bug in fprintf
           Product: Wine
           Version: 0.9.29.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: wine-winelib
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ross.quinlan at gmail.com

Strange Winelib bug in fprintf.

fprintf(F, "<%-5.5s>\n", "abc") gives <abc  > (correct),
fprintf(F, "<%*.*s>\n", -5, 5, "abc") gives <abc> (incorrect).

gcc 4.1.1 (and all other versions I've checked) gives correct result.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list