[Fontconfig-bugs] [Bug 71685] New: Make scandir check more reliable.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 16 13:37:03 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71685

          Priority: medium
            Bug ID: 71685
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: Make scandir check more reliable.
        QA Contact: freedesktop at behdad.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: qdlacz at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: library
           Product: fontconfig

Created attachment 89339
  --> https://bugs.freedesktop.org/attachment.cgi?id=89339&action=edit
Avoid warnings about unused parameter in scandir checks.

The scandir checks can fail because "comp" function inside the checks have some
unused parameters. Normally the gcc does not warn (and errs because of -Werror
here), but I had -Wall in CFLAGS and the checks failed.

Attached patch should fix the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20131116/bdf3327e/attachment.html>


More information about the Fontconfig-bugs mailing list