diff options
author | Ondrej Bilka <neleai@seznam.cz> | 2013-07-31 02:23:14 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2013-07-31 02:23:14 +0400 |
commit | d4f36a0d49e482f7c8d9fe3e800e6672adc3eb97 (patch) | |
tree | ae184275e671be9e33411c29e86c0444e361673f /mallocx.c | |
parent | e05d9561efb40a1a05a07556dab2c9c2221db5c7 (diff) | |
download | bdwgc-d4f36a0d49e482f7c8d9fe3e800e6672adc3eb97.tar.gz |
Fix more typos in comments
* darwin_stop_world.c (GC_use_threads_discovery): Fix a typo in
comment ("stopped").
* doc/porting.html: Fix typos in comment ("defining", "support").
* include/gc.h (GC_get_prof_stats): Fix a typo in comment ("entries").
* include/private/gc_priv.h (GC_have_errors): Fix a typo in comment
("OK").
* include/private/gcconfig.h: Fix a typo in comment ("SPARC).
* ChangeLog: Likewise.
* os_dep.c (GC_linux_main_stack_base): Likewise.
* include/private/gcconfig.h: Fix a typo in comment ("release").
* mallocx.c (GC_generic_malloc_many): Fix a typo in comment
("reacquiring").
* mallocx.c (GC_memalign): Fix a typo in comment ("OK").
* os_dep.c (GC_win32_free_heap): Likewise.
* pthread_support.c (GC_remove_all_threads_but_me): Likewise.
* win32_threads.c (GC_remove_all_threads_but_me): Likewise.
* doc/README.Mac: Likewise.
* mark.c (GC_push_unconditionally): Fix a typo in comment ("pointers").
* pthread_support.c: Fix a typo in comment ("which").
* win32_threads.c: Fix a typo in comment ("losing").
Diffstat (limited to 'mallocx.c')
-rw-r--r-- | mallocx.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -367,8 +367,8 @@ GC_API void GC_CALL GC_generic_malloc_many(size_t lb, int k, void **result) GC_release_mark_lock(); LOCK(); /* GC lock is needed for reclaim list access. We */ - /* must decrement fl_builder_count before reaquiring GC */ - /* lock. Hopefully this path is rare. */ + /* must decrement fl_builder_count before reacquiring */ + /* the lock. Hopefully this path is rare. */ } # endif } @@ -465,7 +465,7 @@ GC_API void * GC_CALL GC_memalign(size_t align, size_t lb) /* is a multiple of align. That would be correct up to HBLKSIZE. */ new_lb = lb + align - 1; result = GC_malloc(new_lb); - /* It is ok not to check result for NULL as in that case */ + /* It is OK not to check result for NULL as in that case */ /* GC_memalign returns NULL too since (0 + 0 % align) is 0. */ offset = (word)result % align; if (offset != 0) { |