From 5b1584c81dc4792cf702e73d21e2dd2fa882a897 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Fri, 16 Feb 2018 09:47:13 -0500 Subject: [PATCH] Misc. typos Found via `codespell -q 3` --- expat/conftools/ac_c_bigendian_cross.m4 | 6 +++--- expat/lib/xmltok_impl.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/expat/conftools/ac_c_bigendian_cross.m4 b/expat/conftools/ac_c_bigendian_cross.m4 index e95ffb6d..49ab6c45 100644 --- a/expat/conftools/ac_c_bigendian_cross.m4 +++ b/expat/conftools/ac_c_bigendian_cross.m4 @@ -1,11 +1,11 @@ dnl @synopsis AC_C_BIGENDIAN_CROSS dnl -dnl Check endianess even when crosscompiling +dnl Check endianness even when crosscompiling dnl (partially based on the original AC_C_BIGENDIAN). dnl dnl The implementation will create a binary, and instead of running dnl the binary it will be grep'ed for some symbols that will look -dnl different for different endianess of the binary. +dnl different for different endianness of the binary. dnl dnl @version $Id: ac_c_bigendian_cross.m4,v 1.1 2001/07/24 19:51:35 fdrake Exp $ dnl @author Guido Draheim @@ -76,6 +76,6 @@ else fi AC_DEFINE_UNQUOTED(BYTEORDER, $BYTEORDER, [1234 = LIL_ENDIAN, 4321 = BIGENDIAN]) if test $ac_cv_c_bigendian = unknown; then - AC_MSG_ERROR(unknown endianess - sorry, please pre-set ac_cv_c_bigendian) + AC_MSG_ERROR(unknown endianness - sorry, please pre-set ac_cv_c_bigendian) fi ]) diff --git a/expat/lib/xmltok_impl.c b/expat/lib/xmltok_impl.c index 0403dd3d..ec2143fa 100644 --- a/expat/lib/xmltok_impl.c +++ b/expat/lib/xmltok_impl.c @@ -1660,7 +1660,7 @@ PREFIX(nameMatchesAscii)(const ENCODING *UNUSED_P(enc), const char *ptr1, for (; *ptr2; ptr1 += MINBPC(enc), ptr2++) { if (end1 - ptr1 < MINBPC(enc)) { /* This line cannot be executed. THe incoming data has already - * been tokenized once, so imcomplete characters like this have + * been tokenized once, so incomplete characters like this have * already been eliminated from the input. Retaining the * paranoia check is still valuable, however. */