This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35588e
)
usemymalloc slows down newer openbsd [perl #75742]
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Tue, 15 Jun 2010 08:16:35 +0000
(10:16 +0200)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Tue, 15 Jun 2010 08:16:35 +0000
(10:16 +0200)
hints/openbsd.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/openbsd.sh
b/hints/openbsd.sh
index
e4b1360
..
f13091d
100644
(file)
--- a/
hints/openbsd.sh
+++ b/
hints/openbsd.sh
@@
-8,8
+8,12
@@
# ./Configure -des -Dopenbsd_distribution=defined
#
-# OpenBSD has a better malloc than perl...
-test "$usemymalloc" || usemymalloc='n'
+# In OpenBSD > 3.7, use perl's malloc [perl #75742]
+case "$osvers" in
+3.[89]*|[4-9]*)
+ test "$usemymalloc" || usemymalloc=y
+ ;;
+esac
# malloc wrap works
case "$usemallocwrap" in