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 | 4d6cd4d833a6068f248475b5c22081cd80bd7a5e (patch) | |
tree | 161c510c4d421a730a8200e9f20f6e771b55ad06 /malloc.c | |
parent | 06d860507700419d9cf04cbf3dc2f06c906c546d (diff) | |
download | perl-4d6cd4d833a6068f248475b5c22081cd80bd7a5e.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 { |