summaryrefslogtreecommitdiffstats
path: root/contrib/jemalloc
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2015-08-19 00:06:46 +0000
committerjasone <jasone@FreeBSD.org>2015-08-19 00:06:46 +0000
commit73461f2594e931feb0e621f047df07ebd916ead9 (patch)
tree19496d1c67900a9a3a66295aaa364645880be742 /contrib/jemalloc
parent5fe6d5bd0e708a60b671115491a2000548678db7 (diff)
downloadFreeBSD-src-73461f2594e931feb0e621f047df07ebd916ead9.zip
FreeBSD-src-73461f2594e931feb0e621f047df07ebd916ead9.tar.gz
Fix minor malloc regressions.
- Use _Bool rather than bool to resolve missing type errors in malloc_np.h. - Fix malloc manual page #include documentation. - Add *allocm manual pages to obsolete files. Submitted by: jbeich
Diffstat (limited to 'contrib/jemalloc')
-rw-r--r--contrib/jemalloc/FREEBSD-diffs13
-rwxr-xr-xcontrib/jemalloc/FREEBSD-upgrade6
-rw-r--r--contrib/jemalloc/doc/jemalloc.37
3 files changed, 17 insertions, 9 deletions
diff --git a/contrib/jemalloc/FREEBSD-diffs b/contrib/jemalloc/FREEBSD-diffs
index 58f5f6f..7d6955d 100644
--- a/contrib/jemalloc/FREEBSD-diffs
+++ b/contrib/jemalloc/FREEBSD-diffs
@@ -1,8 +1,8 @@
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
-index 8fc774b..47b453c 100644
+index 8fc774b..fdbef95 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
-@@ -53,6 +53,17 @@
+@@ -53,11 +53,23 @@
<para>This manual describes jemalloc @jemalloc_version@. More information
can be found at the <ulink
url="http://www.canonware.com/jemalloc/">jemalloc website</ulink>.</para>
@@ -20,7 +20,14 @@ index 8fc774b..47b453c 100644
</refsect1>
<refsynopsisdiv>
<title>SYNOPSIS</title>
-@@ -2759,4 +2770,18 @@ malloc_conf = "lg_chunk:24";]]></programlisting></para>
+ <funcsynopsis>
+- <funcsynopsisinfo>#include &lt;<filename class="headerfile">jemalloc/jemalloc.h</filename>&gt;</funcsynopsisinfo>
++ <funcsynopsisinfo>#include &lt;<filename class="headerfile">stdlib.h</filename>&gt;
++#include &lt;<filename class="headerfile">malloc_np.h</filename>&gt;</funcsynopsisinfo>
+ <refsect2>
+ <title>Standard API</title>
+ <funcprototype>
+@@ -2759,4 +2771,18 @@ malloc_conf = "lg_chunk:24";]]></programlisting></para>
<para>The <function>posix_memalign<parameter/></function> function conforms
to IEEE Std 1003.1-2001 (&ldquo;POSIX.1&rdquo;).</para>
</refsect1>
diff --git a/contrib/jemalloc/FREEBSD-upgrade b/contrib/jemalloc/FREEBSD-upgrade
index 370719e..6ee6cc9 100755
--- a/contrib/jemalloc/FREEBSD-upgrade
+++ b/contrib/jemalloc/FREEBSD-upgrade
@@ -72,9 +72,9 @@ do_extract() {
patch -p1 < "${src}/FREEBSD-diffs"
find . -name '*.orig' -delete
# Generate various files.
- ./autogen.sh --enable-cc-silence --enable-dss --enable-xmalloc \
- --enable-utrace --with-xslroot=/usr/local/share/xsl/docbook \
- --with-private-namespace=__ --with-lg-page-sizes=12,13,14,16
+ ./autogen.sh --enable-cc-silence --enable-xmalloc --enable-utrace \
+ --with-xslroot=/usr/local/share/xsl/docbook --with-private-namespace=__ \
+ --with-lg-page-sizes=12,13,14,16
gmake dist
)
}
diff --git a/contrib/jemalloc/doc/jemalloc.3 b/contrib/jemalloc/doc/jemalloc.3
index 9778e50..2afb862 100644
--- a/contrib/jemalloc/doc/jemalloc.3
+++ b/contrib/jemalloc/doc/jemalloc.3
@@ -2,12 +2,12 @@
.\" Title: JEMALLOC
.\" Author: Jason Evans
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 08/17/2015
+.\" Date: 08/18/2015
.\" Manual: User Manual
.\" Source: jemalloc 4.0.0-0-g6e98caf8f064482b9ab292ef3638dea67420bbc2
.\" Language: English
.\"
-.TH "JEMALLOC" "3" "08/17/2015" "jemalloc 4.0.0-0-g6e98caf8f064" "User Manual"
+.TH "JEMALLOC" "3" "08/18/2015" "jemalloc 4.0.0-0-g6e98caf8f064" "User Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -51,7 +51,8 @@ make variable)\&.
.sp
.ft B
.nf
-#include <jemalloc/jemalloc\&.h>
+#include <stdlib\&.h>
+#include <malloc_np\&.h>
.fi
.ft
.SS "Standard API"
OpenPOWER on IntegriCloud