<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>109386</bug_id>
          
          <creation_ts>2013-02-10 13:25:35 -0800</creation_ts>
          <short_desc>gtk/DumpRenderTree.cpp is missing &lt;locale.h&gt; include</short_desc>
          <delta_ts>2013-02-21 09:54:39 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeremy Huddleston Sequoia">jeremyhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>829343</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2013-02-10 13:25:35 -0800</bug_when>
    <thetext>DumpRenderTree.cpp uses setlocale() and LC_ALL.  You need to #include &lt;locale.h&gt; 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 &lt;cstring&gt;
 #include &lt;getopt.h&gt;
 #include &lt;gtk/gtk.h&gt;
+#include &lt;locale.h&gt;
 #include &lt;webkit/webkit.h&gt;
 #include &lt;wtf/Assertions.h&gt;
 #include &lt;wtf/gobject/GOwnPtr.h&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829344</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2013-02-10 13:26:29 -0800</bug_when>
    <thetext>This is with 1.11.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>838526</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-02-21 09:54:39 -0800</bug_when>
    <thetext>Committed r143620: &lt;http://trac.webkit.org/changeset/143620&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>