From c861ec3d1825b5bb450d20bf9091562fa8a81a4d Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 13 Jan 2016 11:34:56 +0300 Subject: [PATCH] Fix typo in GC_malloc_uncollectable comment * ChangeLog: Fix typo ("was"). * malloc.c (GC_malloc_uncollectable): Fix typo ("was") in comment. --- ChangeLog | 2 +- malloc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64b2083..b643d80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6783,7 +6783,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 0255d90..50bce62 100644 --- a/malloc.c +++ b/malloc.c @@ -312,7 +312,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_malloc_uncollectable(size_t lb) GC_freelists[UNCOLLECTABLE][lg] = 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); -- 2.7.4