diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-29 17:16:09 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-29 17:16:09 +0000 |
commit | 1a6f34bce4154b1a7a68a354500d1aaeee39732b (patch) | |
tree | 161c510c4d421a730a8200e9f20f6e771b55ad06 /malloc.c | |
parent | 4e85b131eef0504ac74ff25a9d77822055a538ac (diff) | |
download | perl-1a6f34bce4154b1a7a68a354500d1aaeee39732b.tar.gz |
malloc "fix" in change#5346 coredumps on HP-UX, revert
p4raw-link: @5346 on //depot/perl: 0f297bd804f61ea0809c358c647840f86e05b2dc
p4raw-id: //depot/perl@5360
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1752,8 +1752,7 @@ Perl_realloc(void *mp, size_t nbytes) nmalloc[bucket]--; nmalloc[pow * BUCKETS_PER_POW2]++; #endif - ((union overhead *)(cp - M_OVERHEAD))->ov_index - = pow * BUCKETS_PER_POW2; /* Fill index. */ + *(cp - M_OVERHEAD) = pow * BUCKETS_PER_POW2; /* Fill index. */ MALLOC_UNLOCK; goto inplace_label; } else { |