From: Rafael Garcia-Suarez Date: Tue, 15 Jun 2010 08:16:35 +0000 (+0200) Subject: usemymalloc slows down newer openbsd [perl #75742] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b58b542ddb7ea24d774e7f780c8a19127be1f5a;p=p5sagit%2Fp5-mst-13.2.git usemymalloc slows down newer openbsd [perl #75742] --- 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