In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9b58b542ddb7ea24d774e7f780c8a19127be1f5a?hp=c35588eb09d732b01769aad7cf303e81b9417302>

- Log -----------------------------------------------------------------
commit 9b58b542ddb7ea24d774e7f780c8a19127be1f5a
Author: Rafael Garcia-Suarez <[email protected]>
Date:   Tue Jun 15 10:16:35 2010 +0200

    usemymalloc slows down newer openbsd [perl #75742]
-----------------------------------------------------------------------

Summary of changes:
 hints/openbsd.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index e4b1360..f13091d 100644
--- 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

--
Perl5 Master Repository

Reply via email to