<?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>181046</bug_id>
          
          <creation_ts>2017-12-20 10:42:18 -0800</creation_ts>
          <short_desc>stderr and _IONBF used without including stdio.h</short_desc>
          <delta_ts>2017-12-20 17:11:03 -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>bmalloc</component>
          <version>WebKit Local Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ting-Wei Lan">lantw44</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1383724</commentid>
    <comment_count>0</comment_count>
    <who name="Ting-Wei Lan">lantw44</who>
    <bug_when>2017-12-20 10:42:18 -0800</bug_when>
    <thetext>This causes compilation error on FreeBSD:

FAILED: Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o 
/usr/bin/clang++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_bmalloc -DDATA_DIR=\&quot;share\&quot; -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DHAVE_CONFIG_H=1 -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -I../../Source/bmalloc -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -march=corei7 -B/home/lantw44/.local/bin -pipe -O3 -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG -fPIC -MD -MT Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o -MF Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o.d -o Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o -c ../../Source/bmalloc/bmalloc/IsoTLS.cpp
../../Source/bmalloc/bmalloc/IsoTLS.cpp:63:21: error: use of undeclared identifier &apos;stderr&apos;
            setvbuf(stderr, NULL, _IONBF, 0);
                    ^
../../Source/bmalloc/bmalloc/IsoTLS.cpp:63:35: error: use of undeclared identifier &apos;_IONBF&apos;
            setvbuf(stderr, NULL, _IONBF, 0);
                                  ^
2 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383729</commentid>
    <comment_count>1</comment_count>
      <attachid>329934</attachid>
    <who name="Ting-Wei Lan">lantw44</who>
    <bug_when>2017-12-20 10:43:39 -0800</bug_when>
    <thetext>Created attachment 329934
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383903</commentid>
    <comment_count>2</comment_count>
      <attachid>329934</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-12-20 17:07:53 -0800</bug_when>
    <thetext>Comment on attachment 329934
Patch

Clearing flags on attachment: 329934

Committed r226204: &lt;https://trac.webkit.org/changeset/226204&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383904</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-12-20 17:07:54 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383911</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-12-20 17:11:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/36168329&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>329934</attachid>
            <date>2017-12-20 10:43:39 -0800</date>
            <delta_ts>2017-12-20 17:07:53 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-181046-20171221024326.patch</filename>
            <type>text/plain</type>
            <size>1008</size>
            <attacher name="Ting-Wei Lan">lantw44</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjI2MTgxCmRpZmYgLS1naXQgYS9Tb3VyY2UvYm1hbGxvYy9D
aGFuZ2VMb2cgYi9Tb3VyY2UvYm1hbGxvYy9DaGFuZ2VMb2cKaW5kZXggYmEzMjEyOTI4ZjVkZTU3
NDAxNzRiNjdlYjY1NzI4ZWEyNDVmOWFmZC4uZDlmYTBiNDEzZmFmYTc0YTJiMjkxMTkxMzk5YjU5
MTY2YWVlYjc2OCAxMDA2NDQKLS0tIGEvU291cmNlL2JtYWxsb2MvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9ibWFsbG9jL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE3LTEyLTIwICBUaW5n
LVdlaSBMYW4gIDxsYW50dzQ0QGdtYWlsLmNvbT4KKworICAgICAgICBJbmNsdWRlIHN0ZGlvLmgg
YmVmb3JlIHVzaW5nIHN0ZGVyciBhbmQgX0lPTkJGCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xODEwNDYKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4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