<?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>17803</bug_id>
          
          <creation_ts>2008-03-12 13:24:10 -0700</creation_ts>
          <short_desc>Can&apos;t build ThreadingPthreads.cpp in non-pch build; can&apos;t build pcre_exec.cpp with -DDEBUG</short_desc>
          <delta_ts>2008-03-13 20:45:44 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17493</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Mentovai">mark</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73499</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Mentovai">mark</who>
    <bug_when>2008-03-12 13:24:10 -0700</bug_when>
    <thetext>During a non-precompiled header build, wtf/ThreadingPthreads.cpp compilation fails for want of a declaration of gettimeofday.  ThreadingPthreads.cpp includes time.h, but should include sys/time.h.  sys/time.h will bring in time.h under normal circumstances.

During a build with -DDEBUG set (the checked-in project file does not set -DDEBUG, but it&apos;s not abnormal for -DDEBUG to be set in debug builds), pcre/pcre_exec.cpp compilation fails because rc is not defined.  rc is used in two DPRINTF statements, which are only used when DEBUG is defined.  rc is a typo, these DPRINTFs should use returnCode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73500</commentid>
    <comment_count>1</comment_count>
      <attachid>19708</attachid>
    <who name="Mark Mentovai">mark</who>
    <bug_when>2008-03-12 13:25:26 -0700</bug_when>
    <thetext>Created attachment 19708
Fix #include in ThreadingPthreads.cpp, fix variable name in pcre_exec.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73512</commentid>
    <comment_count>2</comment_count>
      <attachid>19708</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-03-12 14:27:08 -0700</bug_when>
    <thetext>Comment on attachment 19708
Fix #include in ThreadingPthreads.cpp, fix variable name in pcre_exec.cpp

oops.  rc vs. returnCode was my fault I bet.  sys/time.h includes time.h, so that should be fine.
r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73663</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-03-13 20:45:44 -0700</bug_when>
    <thetext>Thank you mark for making such easy-to-land patches.  These took only a few minutes to land on my train ride home. :)

These are revisions r31048 through r31053</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19708</attachid>
            <date>2008-03-12 13:25:26 -0700</date>
            <delta_ts>2008-03-12 14:27:08 -0700</delta_ts>
            <desc>Fix #include in ThreadingPthreads.cpp, fix variable name in pcre_exec.cpp</desc>
            <filename>webkit-17803.1.patch</filename>
            <type>text/plain</type>
            <size>1742</size>
            <attacher name="Mark Mentovai">mark</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDMxMDA0
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMg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RFBSSU5URigoIj4+Pj4gZXJyb3I6IHJldHVybmluZyAlZFxuIiwgcmV0dXJuQ29k
ZSkpOwogICAgICAgICAgICAgcmV0dXJuIHJldHVybkNvZGU7CiAgICAgICAgIH0KICAgICAgICAg
CkBAIC0yMDUyLDcgKzIwNTIsNyBAQCBpbnQganNSZWdFeHBFeGVjdXRlKGNvbnN0IEpTUmVnRXhw
KiByZSwKICAgICAgICAgICAgIG9mZnNldHNbMV0gPSBtYXRjaEJsb2NrLmVuZE1hdGNoUHRyIC0g
bWF0Y2hCbG9jay5zdGFydFN1YmplY3Q7CiAgICAgICAgIH0KICAgICAgICAgCi0gICAgICAgIERQ
UklOVEYoKCI+Pj4+IHJldHVybmluZyAlZFxuIiwgcmMpKTsKKyAgICAgICAgRFBSSU5URigoIj4+
Pj4gcmV0dXJuaW5nICVkXG4iLCByZXR1cm5Db2RlKSk7CiAgICAgICAgIHJldHVybiByZXR1cm5D
b2RlOwogICAgIH0gd2hpbGUgKHN0YXJ0TWF0Y2ggPD0gZW5kU3ViamVjdCk7CiAgICAgCkluZGV4
OiB3dGYvVGhyZWFkaW5nUHRocmVhZHMuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHd0Zi9UaHJlYWRpbmdQ
dGhyZWFkcy5jcHAJKHJldmlzaW9uIDMxMDA0KQorKysgd3RmL1RocmVhZGluZ1B0aHJlYWRzLmNw
cAkod29ya2luZyBjb3B5KQpAQCAtMzIsNyArMzIsNyBAQAogI2luY2x1ZGUgPHd0Zi9IYXNoTWFw
Lmg+CiAKICNpbmNsdWRlIDxlcnJuby5oPgotI2luY2x1ZGUgPHRpbWUuaD4KKyNpbmNsdWRlIDxz
eXMvdGltZS5oPgogCiBuYW1lc3BhY2UgV1RGIHsKIAo=
</data>
<flag name="review"
          id="8629"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>