]> granicus.if.org Git - gc/commitdiff
Adjust punctuation in comments and documentation
authorIvan Maidanski <ivmai@mail.ru>
Wed, 23 Jan 2013 19:59:19 +0000 (23:59 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 23 Jan 2013 19:59:19 +0000 (23:59 +0400)
* 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.

doc/README.Mac
doc/porting.html
include/private/gcconfig.h
ptr_chck.c
win32_threads.c

index c1bb132f460f415cd57f931c2c676616b65c7ea2..bcd430aa51f0cf82dc3336b2dd7a0b2571ecfba6 100644 (file)
@@ -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)
 
index 5a06c228e5f036930ff8e626d99dbec591eb4f66..1208f16e21239949d2e8ef34c01ac1f7d3f99c9f 100644 (file)
@@ -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
index 9215dd780faed808e37e6a2201f8c5a63da1c199..e017c4bb7b01b4379cae4e90b4fbf21b704477bc 100644 (file)
                     /*             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)                 */
index 16662495e4a5f39f6ae13dde29337169c26a0f61..308bd5317ccd86c6f81daa6db0c81ed93270c7b0 100644 (file)
@@ -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       */
index af03ca61220121fed514086588ac1adf9637f561..590e9ad72fcc31f8183211f2d2491b6b83da7fb1 100644 (file)
@@ -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