diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-04-26 17:35:23 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-04-26 22:20:30 +0000 |
commit | 88567e60ed3ba016aaedace3242715b8ab2023f7 (patch) | |
tree | 187f9f61aa667dbb4eb7f73eae17417314a441c0 /hints/aix.sh | |
parent | 265a12b8a5b81ab4d4d89f8673568d88db526282 (diff) | |
download | perl-88567e60ed3ba016aaedace3242715b8ab2023f7.tar.gz |
usemallocwrap works on AIX, but not with vac-5
From: "H.Merijn Brand" <h.m.brand@hccnet.nl>
Subject: Re: Perl 5.8.4 "panic: memory wrap" in miniperl on AIX 5.1
Message-Id: <20040426152951.A6C4.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@22743
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 386da4d269..29f2bdc758 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -39,10 +39,10 @@ case "$usemymalloc" in '') usemymalloc='n' ;; esac -# malloc wrap works +# malloc wrap works, but not in vac-5, see later case "$usemallocwrap" in -'') usemallocwrap='define' ;; -esac + '') usemallocwrap='define' ;; + esac # Intuiting the existence of system calls under AIX is difficult, # at best; the safest technique is to find them empirically. @@ -143,6 +143,9 @@ case "$cc" in ccversion=`echo "$ccversion" | awk '{print $2}'` # Redbooks state AIX-5 only supports vac-5.0.2.0 and up + case "$ccversion" in + 5*) usemallocwrap='n' ;; # panic in miniperl + esac ;; esac |