<?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>97995</bug_id>
          
          <creation_ts>2012-10-01 00:00:48 -0700</creation_ts>
          <short_desc>Remove unused sys/mman.h include</short_desc>
          <delta_ts>2012-10-01 14:28:21 -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>Platform</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>darin</cc>
    
    <cc>ggaren</cc>
    
    <cc>haraken</cc>
    
    <cc>hausmann</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>731414</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-01 00:00:48 -0700</bug_when>
    <thetext>Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp contains an include for sys/mman.h that isn&apos;t used.
As sys/mman.h is not available on all operating systems, this also improves portability.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731418</commentid>
    <comment_count>1</comment_count>
      <attachid>166415</attachid>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-01 00:05:40 -0700</bug_when>
    <thetext>Created attachment 166415
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731462</commentid>
    <comment_count>2</comment_count>
      <attachid>166415</attachid>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-10-01 01:15:11 -0700</bug_when>
    <thetext>Comment on attachment 166415
Patch

ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731471</commentid>
    <comment_count>3</comment_count>
      <attachid>166415</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-01 01:35:43 -0700</bug_when>
    <thetext>Comment on attachment 166415
Patch

Clearing flags on attachment: 166415

Committed r130014: &lt;http://trac.webkit.org/changeset/130014&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731472</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-01 01:35:46 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731984</commentid>
    <comment_count>5</comment_count>
      <attachid>166415</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2012-10-01 14:28:21 -0700</bug_when>
    <thetext>Comment on attachment 166415
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=166415&amp;action=review

&gt; Source/JavaScriptCore/ChangeLog:9
&gt; +        The sys/mman.h is not used and removing it improves portability as not
&gt; +        all systems have sys/mman.h.

Where did you get the information &lt;sys/mman.h&gt; is not used? On OS X the madvise function and MADV_FREE constant that are used in this file is from that header. The correct change would be to put this include inside #if OS(DARWIN).

Unless there is some other reason that we don’t need the include on OS X that I am not aware of.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166415</attachid>
            <date>2012-10-01 00:05:40 -0700</date>
            <delta_ts>2012-10-01 14:28:20 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97995.patch</filename>
            <type>text/plain</type>
            <size>1233</size>
            <attacher name="Jonathan Liu">net147</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTMwMDA3KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBA
CisyMDEyLTEwLTAxICBKb25hdGhhbiBMaXUgIDxuZXQxNDdAZ21haWwuY29tPgorCisgICAgICAg
IFJlbW92ZSB1bnVzZWQgc3lzL21tYW4uaCBpbmNsdWRlCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05Nzk5NQorCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgIFRoZSBzeXMvbW1hbi5oIGlzIG5vdCB1c2VkIGFuZCBy
ZW1vdmluZyBpdCBpbXByb3ZlcyBwb3J0YWJpbGl0eSBhcyBub3QKKyAgICAgICAgYWxsIHN5c3Rl
bXMgaGF2ZSBzeXMvbW1hbi5oLgorCisgICAgICAgICogaml0L0V4ZWN1dGFibGVBbGxvY2F0b3JG
aXhlZFZNUG9vbC5jcHA6CisKIDIwMTItMDktMjggIEZpbGlwIFBpemxvICA8ZnBpemxvQGFwcGxl
LmNvbT4KIAogICAgICAgICBBU1NFUlRJT04gaW4gbV9ncmFwaFt0YWlsTm9kZUluZGV4XS5vcCgp
ID09IEZsdXNoIHx8IG1fZ3JhcGhbdGFpbE5vZGVJbmRleF0ub3AoKSA9PSBTZXRMb2NhbCBvbiBw
bHVzLmdvb2dsZS5jb20KSW5kZXg6IFNvdXJjZS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