From e0b2f3ce06ced5d1b18f3047db891d79fe888a2c 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 (back-port of commit 69975e184 from 'release-7_4') * doc/README.changes (5.0alpha6): Fix typo ("DATASTART"). * include/private/gcconfig.h: Likewise. * backgraph.c: Fix typo in comment ("If"). * cord/de.c: Fix typo in comment ("Unbounded"). --- backgraph.c | 2 +- cord/de.c | 2 +- doc/README.changes | 2 +- include/private/gcconfig.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backgraph.c b/backgraph.c index 96fa7ffa..be41cf7c 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/de.c b/cord/de.c index 609cd087..6fbeed64 100644 --- a/cord/de.c +++ b/cord/de.c @@ -16,7 +16,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/doc/README.changes b/doc/README.changes index 0dd3cf96..40053ad1 100644 --- a/doc/README.changes +++ b/doc/README.changes @@ -943,7 +943,7 @@ Since 5.0 alpha4 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/include/private/gcconfig.h b/include/private/gcconfig.h index 236f01cb..7cb3f5cd 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -583,7 +583,7 @@ * * 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.40.0