From 9757e5b85b0c4be9688d2de8273a605dab07b395 Mon Sep 17 00:00:00 2001 From: Max Mouratov Date: Mon, 3 Sep 2018 01:08:43 +0500 Subject: [PATCH] Fix comment typos in backgraph.c, de.c, gcconfig.h * 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 | 2 +- backgraph.c | 2 +- cord/tests/de.c | 2 +- include/private/gcconfig.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8aecfe6..d53cd98 100644 --- 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. diff --git a/backgraph.c b/backgraph.c index e178c7b..20047fb 100644 --- a/backgraph.c +++ b/backgraph.c @@ -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. */ diff --git a/cord/tests/de.c b/cord/tests/de.c index 2fd8c48..f87d0e1 100644 --- a/cord/tests/de.c +++ b/cord/tests/de.c @@ -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. diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index ba32d35..1fdf3d3 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -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. -- 2.7.4