Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-4724

PATCH : vsnprintf: added support for ll size specifier

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • NTCore
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      vsnprintf: added support for ll size specifier
      fixed and tested
      patch follows:

      file lib\rtl\sprintf.c line 464

      /* get the conversion qualifier */
      qualifier = -1;

      • if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'w') {
        + if (*fmt == 'l' && *(fmt+1) == 'l') { + qualifier = 'I'; + fmt += 2; + }

        else if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'w') {

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            jcatena jcatena
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: