Bug 109386
| Summary: | gtk/DumpRenderTree.cpp is missing <locale.h> include | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeremy Huddleston Sequoia <jeremyhu> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | mrobinson |
| Priority: | P2 | Keywords: | Gtk |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jeremy Huddleston Sequoia
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>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jeremy Huddleston Sequoia
This is with 1.11.4
Martin Robinson
Committed r143620: <http://trac.webkit.org/changeset/143620>