summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1990-11-13 02:28:59 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1990-11-13 02:28:59 +0000
commit4e8eb4f0f838674cc353c6a5ff3e06ff40cd5ea9 (patch)
treebb4b5795d1020a9970e01c5307a90d93174e83c2 /malloc.c
parent34de22dd6ede167a09e3a3ee571665ba2c647f94 (diff)
downloadperl-4e8eb4f0f838674cc353c6a5ff3e06ff40cd5ea9.tar.gz
perl 3.0 patch #41 (combined patch)
Here's the requisite dinky patch to fix the problems of the preceding large set of patches. In this case, a couple of malloc/free problems--one of which involved overrunning the end of an allocated string, and the other of which involved freeing with invalid pointers. (There was also a bug in there involving variable magicalness propagating incorrectly, which resulting in a dbm anomoly.) I updated README to mention that dnix needs to avoid -O. I added the hp malloc union overhead strut that Jan Dr{rv posted. (Eventually this should be determined by Configure, but laziness has its advantages.)
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index 86fdb5cbc5..6ad48b93a3 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1,6 +1,9 @@
-/* $Header: malloc.c,v 3.0.1.3 90/10/16 15:27:47 lwall Locked $
+/* $Header: malloc.c,v 3.0.1.4 90/11/13 15:23:45 lwall Locked $
*
* $Log: malloc.c,v $
+ * Revision 3.0.1.4 90/11/13 15:23:45 lwall
+ * patch41: added hp malloc union overhead strut (that sounds very blue collar)
+ *
* Revision 3.0.1.3 90/10/16 15:27:47 lwall
* patch29: various portability fixes
*
@@ -56,7 +59,7 @@ static findbucket(), morecore();
*/
union overhead {
union overhead *ov_next; /* when free */
-#if defined(mips) || defined(sparc) || defined(luna88k)
+#if defined(mips) || defined(sparc) || defined(luna88k) || defined(hp9000s800)
double strut; /* alignment problems */
#endif
struct {