[Webkit-unassigned] [Bug 109386] New: gtk/DumpRenderTree.cpp is missing <locale.h> include

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 10 13:23:23 PST 2013


           Summary: gtk/DumpRenderTree.cpp is missing <locale.h> include
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeremyhu at apple.com

DumpRenderTree.cpp uses setlocale() and LC_ALL.  You need to #include <locale.h> for that.

--- Tools/DumpRenderTree/gtk/DumpRenderTree.cpp.orig    2013-02-10 11:47:57.000000000 -0800
+++ Tools/DumpRenderTree/gtk/DumpRenderTree.cpp    2013-02-10 11:48:44.000000000 -0800
@@ -50,6 +50,7 @@
 #include <cstring>
 #include <getopt.h>
 #include <gtk/gtk.h>
+#include <locale.h>
 #include <webkit/webkit.h>
 #include <wtf/Assertions.h>
 #include <wtf/gobject/GOwnPtr.h>

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list