Fix typo in GC_malloc_uncollectable comment
authorIvan Maidanski <ivmai@mail.ru>
Wed, 13 Jan 2016 08:34:56 +0000 (11:34 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 13 Jan 2016 08:34:56 +0000 (11:34 +0300)
* ChangeLog: Fix typo ("was").
* malloc.c (GC_malloc_uncollectable): Fix typo ("was") in comment.

ChangeLog
malloc.c

index 64b2083..b643d80 100644 (file)
--- 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
index 0255d90..50bce62 100644 (file)
--- 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);