mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-19 11:44:38 +08:00
* approved by rth
2004-01-07 Dave Jones <davej@redhat.com> * malloc.c (GC_generic_malloc): Correct initialization typo. * mallocx.c (GC_generic_malloca_ignore_off_page): Ditto. From-SVN: r75518
This commit is contained in:
parent
627e4e5fc2
commit
5d2082d147
@ -1,3 +1,8 @@
|
||||
2004-01-07 Dave Jones <davej@redhat.com>
|
||||
|
||||
* malloc.c (GC_generic_malloc): Correct initialization typo.
|
||||
* mallocx.c (GC_generic_malloca_ignore_off_page): Ditto.
|
||||
|
||||
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* include/private/gcconfig.h: Re-install change of 2003-04-16.
|
||||
|
@ -217,7 +217,7 @@ register int k;
|
||||
GC_words_allocd += lw;
|
||||
UNLOCK();
|
||||
ENABLE_SIGNALS();
|
||||
if (init & !GC_debugging_started && 0 != result) {
|
||||
if (init && !GC_debugging_started && 0 != result) {
|
||||
BZERO(result, n_blocks * HBLKSIZE);
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ register int k;
|
||||
if (0 == result) {
|
||||
return((*GC_oom_fn)(lb));
|
||||
} else {
|
||||
if (init & !GC_debugging_started) {
|
||||
if (init && !GC_debugging_started) {
|
||||
BZERO(result, n_blocks * HBLKSIZE);
|
||||
}
|
||||
return(result);
|
||||
|
Loading…
Reference in New Issue
Block a user