diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2013-01-23 23:59:19 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2013-01-23 23:59:19 +0400 |
commit | 603c94f734752db9e9d36d1db48c8c258ab510b1 (patch) | |
tree | 63f4a54ae41baade7f406cdda320b3c45ed95da8 | |
parent | 686957bd4231c30c68056c9522a8f1694d8ad8b5 (diff) | |
download | bdwgc-603c94f734752db9e9d36d1db48c8c258ab510b1.tar.gz |
Adjust punctuation in comments and documentation
* win32_threads.c (GC_pthread_join): Add a space character after comma
in comment.
* include/private/gcconfig.h: Likewise.
* doc/README.Mac: Likewise.
* doc/porting.html: Likewise.
* ptr_chck.c (GC_same_obj): Remove redundant comma in comment.
-rw-r--r-- | doc/README.Mac | 2 | ||||
-rw-r--r-- | doc/porting.html | 2 | ||||
-rw-r--r-- | include/private/gcconfig.h | 2 | ||||
-rw-r--r-- | ptr_chck.c | 4 | ||||
-rw-r--r-- | win32_threads.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/doc/README.Mac b/doc/README.Mac index c1bb132f..bcd430aa 100644 --- a/doc/README.Mac +++ b/doc/README.Mac @@ -120,7 +120,7 @@ o IR Optimizer - enable: Optimize Space, Optimize Speed I suppose the others would work too, but haven't tried... o 68K Linker - - Factory Settings (New Style MacsBug,SYM file with full paths, + - Factory Settings (New Style MacsBug, SYM file with full paths, A6 Frames, fast link, Merge compiler glue into segment 1, dead-strip static init) diff --git a/doc/porting.html b/doc/porting.html index 5a06c228..1208f16e 100644 --- a/doc/porting.html +++ b/doc/porting.html @@ -101,7 +101,7 @@ architecture here is compiler- and OS-dependent. <DD> The beginning of the main data segment. The collector will trace all memory between <TT>DATASTART</tt> and <TT>DATAEND</tt> for root pointers. -On some platforms,this can be defined to a constant address, +On some platforms, this can be defined to a constant address, though experience has shown that to be risky. Ideally the linker will define a symbol (e.g. <TT>_data</tt> whose address is the beginning of the data segment. Sometimes the value can be computed using diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 9215dd78..e017c4bb 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -550,7 +550,7 @@ /* I386 ==> Intel 386 */ /* (SEQUENT, OS2, SCO, LINUX, NETBSD, */ /* FREEBSD, THREE86BSD, MSWIN32, */ - /* BSDI,SOLARIS, NEXT, other variants) */ + /* BSDI, SOLARIS, NEXT and others) */ /* NS32K ==> Encore Multimax */ /* MIPS ==> R2000 through R14K */ /* (many variants) */ @@ -30,8 +30,8 @@ void (GC_CALLBACK *GC_same_obj_print_proc) (void *, void *) /* Check that p and q point to the same object. Call */ /* *GC_same_obj_print_proc if they don't. */ /* Returns the first argument. (Return value may be hard */ -/* to use,due to typing issues. But if we had a suitable */ -/* preprocessor ...) */ +/* to use due to typing issues. But if we had a suitable */ +/* preprocessor...) */ /* Succeeds if neither p nor q points to the heap. */ /* We assume this is performance critical. (It shouldn't */ /* be called by production code, but this can easily make */ diff --git a/win32_threads.c b/win32_threads.c index af03ca61..590e9ad7 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -2564,7 +2564,7 @@ GC_INNER void GC_thr_init(void) # endif /* Thread being joined might not have registered itself yet. */ - /* After the join,thread id may have been recycled. */ + /* After the join, thread id may have been recycled. */ /* FIXME: It would be better if this worked more like */ /* pthread_support.c. */ # ifndef GC_WIN32_PTHREADS |