aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2019-01-09 16:39:49 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2019-01-09 16:39:49 -0500
commitadcb167e030e016946c3dbf6fcfc81093ca6feea (patch)
treec90c5ec91814e9ef891b0d94591048b5f9f5a828 /libiberty
parent67914693144c02e0be2e6356d9162e775fb4971d (diff)
downloadgcc-adcb167e030e016946c3dbf6fcfc81093ca6feea.zip
gcc-adcb167e030e016946c3dbf6fcfc81093ca6feea.tar.gz
gcc-adcb167e030e016946c3dbf6fcfc81093ca6feea.tar.bz2
PR other/16615 [2/5]
2019-01-09 Sandra Loosemore <sandra@codesourcery.com> PR other/16615 [2/5] include/ * libiberty.h: Mechanically replace "can not" with "cannot". * plugin-api.h: Likewise. libiberty/ * cp-demangle.c: Mechanically replace "can not" with "cannot". * floatformat.c: Likewise. * strerror.c: Likewise. From-SVN: r267784
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog8
-rw-r--r--libiberty/cp-demangle.c4
-rw-r--r--libiberty/floatformat.c2
-rw-r--r--libiberty/strerror.c2
4 files changed, 12 insertions, 4 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 436fb96..2206b91 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,11 @@
+2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR other/16615
+
+ * cp-demangle.c: Mechanically replace "can not" with "cannot".
+ * floatformat.c: Likewise.
+ * strerror.c: Likewise.
+
2019-01-01 Jakub Jelinek <jakub@redhat.com>
Update copyright years.
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 4624cd5..ddcd3be 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -6201,13 +6201,13 @@ cplus_demangle_init_info (const char *mangled, int options, size_t len,
di->n = mangled;
- /* We can not need more components than twice the number of chars in
+ /* We cannot need more components than twice the number of chars in
the mangled string. Most components correspond directly to
chars, but the ARGLIST types are exceptions. */
di->num_comps = 2 * len;
di->next_comp = 0;
- /* Similarly, we can not need more substitutions than there are
+ /* Similarly, we cannot need more substitutions than there are
chars in the mangled string. */
di->num_subs = len;
di->next_sub = 0;
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c
index 2c6c6ab..8632253 100644
--- a/libiberty/floatformat.c
+++ b/libiberty/floatformat.c
@@ -489,7 +489,7 @@ floatformat_to_double (const struct floatformat *fmt,
int nan = mant_bits_set (fmt, ufrom);
/* On certain systems (such as GNU/Linux), the use of the
- INFINITY macro below may generate a warning that can not be
+ INFINITY macro below may generate a warning that cannot be
silenced due to a bug in GCC (PR preprocessor/11931). The
preprocessor fails to recognise the __extension__ keyword in
conjunction with the GNU/C99 extension for hexadecimal
diff --git a/libiberty/strerror.c b/libiberty/strerror.c
index a8a0bd1..cc7692c 100644
--- a/libiberty/strerror.c
+++ b/libiberty/strerror.c
@@ -299,7 +299,7 @@ static const struct error_info error_table[] =
ENTRY(EREMCHG, "EREMCHG", "Remote address changed"),
#endif
#if defined (ELIBACC)
- ENTRY(ELIBACC, "ELIBACC", "Can not access a needed shared library"),
+ ENTRY(ELIBACC, "ELIBACC", "Cannot access a needed shared library"),
#endif
#if defined (ELIBBAD)
ENTRY(ELIBBAD, "ELIBBAD", "Accessing a corrupted shared library"),