From: Ivan Maidanski Date: Wed, 13 Jan 2016 08:34:56 +0000 (+0300) Subject: Fix typo in GC_malloc_uncollectable comment X-Git-Tag: gc7_4_4~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44a29040dac8fe205dbd750e60f004400245236d;p=gc Fix typo in GC_malloc_uncollectable comment * ChangeLog: Fix typo ("was"). * malloc.c (GC_malloc_uncollectable): Fix typo ("was") in comment. --- diff --git a/ChangeLog b/ChangeLog index 7fbc9246..1f04abb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6745,7 +6745,7 @@ This should enable support of dynamic libraries under win32 with gcc-compiled code. (Thanks to Ranjit Mathew for the patch.) Turned on dynamic library scanning for win32/gcc. * Removed some remnants of read wrapping (thanks to Kenneth Schalk). -GC_USE_LD_WRAP ws probably broken in recent versions. +GC_USE_LD_WRAP was probably broken in recent versions. * The build could fail on some platforms since gcconfig.h could include declarations mentioning ptr_t, which was not defined, e.g. when if_mach was built (thanks to Yann Dirson for pointing this out). Also diff --git a/malloc.c b/malloc.c index 8405faf6..af0b3a22 100644 --- a/malloc.c +++ b/malloc.c @@ -309,7 +309,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_malloc_uncollectable(size_t lb) *opp = obj_link(op); obj_link(op) = 0; GC_bytes_allocd += GRANULES_TO_BYTES(lg); - /* Mark bit ws already set on free list. It will be */ + /* Mark bit was already set on free list. It will be */ /* cleared only temporarily during a collection, as a */ /* result of the normal free list mark bit clearing. */ GC_non_gc_bytes += GRANULES_TO_BYTES(lg);