projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d8605
)
malloc "fix" in change#5346 coredumps on HP-UX, revert
author
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 29 Feb 2000 17:16:09 +0000
(17:16 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 29 Feb 2000 17:16:09 +0000
(17:16 +0000)
p4raw-link: @5346 on //depot/perl:
0f297bd804f61ea0809c358c647840f86e05b2dc
p4raw-id: //depot/perl@5360
malloc.c
patch
|
blob
|
history
diff --git
a/malloc.c
b/malloc.c
index
1a048f7
..
f27df88
100644
(file)
--- a/
malloc.c
+++ b/
malloc.c
@@
-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 {