Fix comment typos in backgraph.c, de.c, gcconfig.h
authorMax Mouratov <mmouratov@gmail.com>
Sun, 2 Sep 2018 20:08:43 +0000 (01:08 +0500)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 4 Sep 2018 07:03:18 +0000 (10:03 +0300)
* ChangeLog (5.0alpha6): Fix typo ("DATASTART").
* include/private/gcconfig.h: Likewise.
* backgraph.c: Fix typo in comment ("If").
* cord/tests/de.c: Fix typo in comment ("Unbounded").

ChangeLog
backgraph.c
cord/tests/de.c
include/private/gcconfig.h

index 8aecfe6..d53cd98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8689,7 +8689,7 @@ instruction.  Won't build except with very recent gcc.
 in a barely measurable performance gain.  Added support for interleaved
 lookups of two pointers, but unconfigured that since the performance
 gain is currently near zero, and it adds to code size.
-* Changed Linux DATA_START definition to check both data_start and
+* Changed Linux DATASTART definition to check both data_start and
 __data_start, since nothing else seems to be portable.
 * Added -DUSE_LD_WRAP to optionally take advantage of the GNU ld function
 wrapping mechanism.  Probably currently useful only on Linux.
index e178c7b..20047fb 100644 (file)
@@ -21,7 +21,7 @@
  *
  * One restriction is that we drop all back-edges from nodes with very
  * high in-degree, and simply add them add them to a list of such
- * nodes.  They are then treated as permanent roots.  Id this by itself
+ * nodes.  They are then treated as permanent roots.  If this by itself
  * doesn't introduce a space leak, then such nodes can't contribute to
  * a growing space leak.
  */
index 2fd8c48..f87d0e1 100644 (file)
@@ -15,7 +15,7 @@
  * A really simple-minded text editor based on cords.
  * Things it does right:
  *      No size bounds.
- *      Inbounded undo.
+ *      Unbounded undo.
  *      Shouldn't crash no matter what file you invoke it on (e.g. /vmunix)
  *              (Make sure /vmunix is not writable before you try this.)
  *      Scrolls horizontally.
index ba32d35..1fdf3d3 100644 (file)
@@ -758,7 +758,7 @@ EXTERN_C_BEGIN
  *
  * DATASTART is the beginning of the data segment.
  * On some platforms SEARCH_FOR_DATA_START is defined.
- * SEARCH_FOR_DATASTART will cause GC_data_start to
+ * The latter will cause GC_data_start to
  * be set to an address determined by accessing data backwards from _end
  * until an unmapped page is found.  DATASTART will be defined to be
  * GC_data_start.