]> granicus.if.org Git - gc/commitdiff
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, 9 Mar 2016 20:32:24 +0000 (23:32 +0300)
* ChangeLog: Fix typo ("was").
* malloc.c (GC_malloc_uncollectable): Fix typo ("was") in comment.

ChangeLog
malloc.c

index 7fbc9246cccb2ca911dc727e47b2f5e626dafda9..1f04abb624d33a049fec39d078f1567004ae76f7 100644 (file)
--- 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
index 8405faf62341f7d9590115af3c387a511f9442b7..af0b3a22d87fa755dbe6f555809433c10b8ffa8e 100644 (file)
--- 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);