From 539a6580da4236c0bd9efae80acb49dd38d408a6 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 21 Feb 2017 11:03:07 +0000 Subject: correct spelling mistakes (#4405) --- libgc/blacklst.c | 2 +- libgc/doc/README.changes | 2 +- libgc/doc/README.macros | 2 +- libgc/mark.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libgc') diff --git a/libgc/blacklst.c b/libgc/blacklst.c index ae2f95cb3fe..5e6ebcfb7a3 100644 --- a/libgc/blacklst.c +++ b/libgc/blacklst.c @@ -21,7 +21,7 @@ * See the definition of page_hash_table in gc_private.h. * False hits from the stack(s) are much more dangerous than false hits * from elsewhere, since the former can pin a large object that spans the - * block, eventhough it does not start on the dangerous block. + * block, even though it does not start on the dangerous block. */ /* diff --git a/libgc/doc/README.changes b/libgc/doc/README.changes index fa6f279f518..c30d2fc2184 100644 --- a/libgc/doc/README.changes +++ b/libgc/doc/README.changes @@ -1872,7 +1872,7 @@ Since 6.2alpha6: - Fixed Makefile.direct for DARWIN. (Thanks to Manuel Serrano.) - There was a race between GC_pthread_detach and thread exit that could result in a thread structure being deallocated by GC_pthread_detach - eventhough it was still needed by the thread exit code. (Thanks to + even though it was still needed by the thread exit code. (Thanks to Dick Porter for the small test case that allowed this to be debugged.) - Fixed version parsing for non-alpha versions in acinclude.m4 and version checking in version.h. diff --git a/libgc/doc/README.macros b/libgc/doc/README.macros index df0ef2cda93..153a3e0f914 100644 --- a/libgc/doc/README.macros +++ b/libgc/doc/README.macros @@ -19,7 +19,7 @@ relatively easy to adapt to new compilers with a different set of predefined macros. Currently these macros generally identify platforms instead of features. In many cases, this is a mistake. -3) The code currently avoids #elif, eventhough that would make it more +3) The code currently avoids #elif, even though that would make it more readable. This was done since #elif would need to be understood by ALL compilers used to build the collector, and that hasn't always been the case. It makes sense to reconsider this decision at some point, since #elif has been diff --git a/libgc/mark.c b/libgc/mark.c index e14e5296c59..e870342e412 100644 --- a/libgc/mark.c +++ b/libgc/mark.c @@ -936,7 +936,7 @@ void GC_do_local_mark(mse *local_mark_stack, mse *local_top) /* Try to share the load, since the main stack is empty, */ /* and helper threads are waiting for a refill. */ /* The entries near the bottom of the stack are likely */ - /* to require more work. Thus we return those, eventhough */ + /* to require more work. Thus we return those, even though */ /* it's harder. */ mse * p; mse * new_bottom = local_mark_stack -- cgit v1.2.3