This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change the default for usemymalloc to 'n' for NetBSD
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 29 Nov 2010 22:14:25 +0000 (22:14 +0000)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 29 Nov 2010 22:14:25 +0000 (22:14 +0000)
It should not be the default, it isn't the default when perl is
built in pkgsrc and from personal experience using perl's malloc
as the default is to enter a world of pain and suffering.

hints/netbsd.sh

index 9e7a4e2..d196418 100644 (file)
@@ -221,3 +221,12 @@ case `uname -m` in
 sparc) d_semctl_semid_ds=undef ;;
 esac
 
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
+# don't use perl malloc by default
+case "$usemymalloc" in
+'') usemymalloc=n ;;
+esac