summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-06-14 18:51:53 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-06-14 18:51:53 +0000
commit852c2e52c116ddde31d81b646561262ed796257a (patch)
treeb3b78e07e0f3600507f1a4fb651161793be13dcf /malloc.c
parent703664f229b1c364f06ceda5f2503d00e2daa04c (diff)
downloadperl-852c2e52c116ddde31d81b646561262ed796257a.tar.gz
various win32 fixes
- fixes that silence VC noises about dup exports, non-default libs, and unsupported *.def file directives - s/inplace/inplace_label/ malloc.c - update Config{usemymalloc} based on d_mymalloc - export Perl_*Vars - fix makefiles to not build miniperl.exe twice, and to make it properly when defaults are changed p4raw-id: //depot/perl@1129
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index 805cc4e7b9..c87f3cd68c 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1116,7 +1116,7 @@ realloc(void *mp, size_t nbytes)
#endif
) goto hard_way;
else if (incr == 0) {
- inplace:
+ inplace_label:
#ifdef RCHECK
/*
* Record new allocated size of block and
@@ -1203,7 +1203,7 @@ realloc(void *mp, size_t nbytes)
nmalloc[pow * BUCKETS_PER_POW2]++;
#endif
*(cp - M_OVERHEAD) = pow * BUCKETS_PER_POW2; /* Fill index. */
- goto inplace;
+ goto inplace_label;
} else {
hard_way:
MUTEX_UNLOCK(&malloc_mutex);