<?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>28962</bug_id>
          
          <creation_ts>2009-09-03 19:31:22 -0700</creation_ts>
          <short_desc>Remove unnecessary dependency on unistd.h in Completion.cpp</short_desc>
          <delta_ts>2009-09-04 07:02:19 -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>All</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Yong Li">yong.li.webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>manyoso</cc>
    
    <cc>staikos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>144672</commentid>
    <comment_count>0</comment_count>
      <attachid>39032</attachid>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2009-09-03 19:31:22 -0700</bug_when>
    <thetext>Created attachment 39032
the patch

Why does Completion.cpp include &quot;unistd.h&quot;? 

It&apos;s not used at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144686</commentid>
    <comment_count>1</comment_count>
      <attachid>39032</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2009-09-03 22:00:29 -0700</bug_when>
    <thetext>Comment on attachment 39032
the patch

r=me with one small fix below.

&gt; diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=(OOPS!)

Please fill in the bug number when landing.


It appears that this include was added for http://bugs.webkit.org/show_bug.cgi?id=17339 due to the use of getpid() in this file but that function call is no longer present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144802</commentid>
    <comment_count>2</comment_count>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2009-09-04 07:02:19 -0700</bug_when>
    <thetext>landed @48048</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39032</attachid>
            <date>2009-09-03 19:31:22 -0700</date>
            <delta_ts>2009-09-03 22:00:29 -0700</delta_ts>
            <desc>the patch</desc>
            <filename>completion_cpp.patch</filename>
            <type>text/plain</type>
            <size>908</size>
            <attacher name="Yong Li">yong.li.webkit</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZyBiL0phdmFTY3JpcHRDb3JlL0No
YW5nZUxvZwppbmRleCAzMjE2M2Q5Li40NGFhZGFjIDEwMDY0NAotLS0gYS9KYXZhU2NyaXB0Q29y
ZS9DaGFuZ2VMb2cKKysrIGIvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTIg
QEAKKzIwMDktMDktMDMgIFlvbmcgTGkgIDx5b25nLmxpQHRvcmNobW9iaWxlLmNvbT4KKworICAg
ICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBSZW1vdmUgdW5uZWNl
c3NhcnkgZGVwZW5kZW5jeSBvbiB1bmlzdGQuaAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0
Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9KE9PUFMhKQorCisgICAgICAgICogcnVudGltZS9Db21wbGV0
aW9uLmNwcDoKKwogMjAwOS0wOS0wMyAgRnVtaXRvc2hpIFVrYWkgIDx1a2FpQGNocm9taXVtLm9y
Zz4KIAogICAgICAgICBSZXZpZXdlZCBieSBFcmljIFNlaWRlbC4KZGlmZiAtLWdpdCBhL0phdmFT
Y3JpcHRDb3JlL3J1bnRpbWUvQ29tcGxldGlvbi5jcHAgYi9KYXZhU2NyaXB0Q29yZS9ydW50aW1l
L0NvbXBsZXRpb24uY3BwCmluZGV4IGViNjZhOTcuLmYzNmRlNTQgMTAwNjQ0Ci0tLSBhL0phdmFT
Y3JpcHRDb3JlL3J1bnRpbWUvQ29tcGxldGlvbi5jcHAKKysrIGIvSmF2YVNjcmlwdENvcmUvcnVu
dGltZS9Db21wbGV0aW9uLmNwcApAQCAtMzEsMTAgKzMxLDYgQEAKICNpbmNsdWRlICJEZWJ1Z2dl
ci5oIgogI2luY2x1ZGUgPHN0ZGlvLmg+CiAKLSNpZiAhUExBVEZPUk0oV0lOX09TKQotI2luY2x1
ZGUgPHVuaXN0ZC5oPgotI2VuZGlmCi0KIG5hbWVzcGFjZSBKU0MgewogCiBDb21wbGV0aW9uIGNo
ZWNrU3ludGF4KEV4ZWNTdGF0ZSogZXhlYywgY29uc3QgU291cmNlQ29kZSYgc291cmNlKQo=
</data>
<flag name="review"
          id="20053"
          type_id="1"
          status="+"
          setter="levin"
    />
    <flag name="commit-queue"
          id="20060"
          type_id="3"
          status="-"
          setter="levin"
    />
          </attachment>
      

    </bug>

</bugzilla>