summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2022-01-22 15:59:07 +0100
committerGitHub <noreply@github.com>2022-01-22 15:59:07 +0100
commit8fb2211e997679ce7aae9d0234983052c1054f62 (patch)
treebeddf6162b530393e72d13c9ce79748a0eaffa50
parent1e1b52be2d9e1d2e0c3c1cb106eb7c6071747bac (diff)
parent5a8f5f1d4017d14a01822b57c089764a5b598a1c (diff)
downloadlibexpat-git-8fb2211e997679ce7aae9d0234983052c1054f62.tar.gz
Merge pull request #548 from ferivoz/typos
Fix typos
-rw-r--r--expat/CMakeLists.txt2
-rw-r--r--expat/lib/xmlparse.c2
-rw-r--r--expat/tests/runtests.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
index e34044e1..9d182b30 100644
--- a/expat/CMakeLists.txt
+++ b/expat/CMakeLists.txt
@@ -422,7 +422,7 @@ if(WIN32 AND NOT MINGW)
# on Windows by resorting to filename libexpat.dll since Expat 1.95.3.
# Everything but MSVC is already adding prefix "lib", automatically.
# NOTE: "set_property(TARGET expat PROPERTY PREFIX lib)" would only affect *.dll
- # files but not *.lib files, so we have to rely on propert OUTPUT_NAME, instead.
+ # files but not *.lib files, so we have to rely on property OUTPUT_NAME, instead.
# Property CMAKE_*_POSTFIX still applies.
set_property(TARGET expat PROPERTY OUTPUT_NAME libexpat)
endif()
diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c
index b2f5fc6b..d54af683 100644
--- a/expat/lib/xmlparse.c
+++ b/expat/lib/xmlparse.c
@@ -4092,7 +4092,7 @@ initializeEncoding(XML_Parser parser) {
const char *s;
#ifdef XML_UNICODE
char encodingBuf[128];
- /* See comments abount `protoclEncodingName` in parserInit() */
+ /* See comments about `protocolEncodingName` in parserInit() */
if (! parser->m_protocolEncodingName)
s = NULL;
else {
diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c
index d2923ac1..e89e8220 100644
--- a/expat/tests/runtests.c
+++ b/expat/tests/runtests.c
@@ -11286,7 +11286,7 @@ START_TEST(test_accounting_precision) {
{"<p:e xmlns:p=\"https://domain.invalid/\" />", NULL, NULL, 0,
filled_later},
{"<e k=\"&amp;&apos;&gt;&lt;&quot;\" />", NULL, NULL,
- sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later},
+ sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later},
{"<e1 xmlns='https://example.org/'>\n"
" <e2 xmlns=''/>\n"
"</e1>",
@@ -11296,7 +11296,7 @@ START_TEST(test_accounting_precision) {
{"<e>text</e>", NULL, NULL, 0, filled_later},
{"<e1><e2>text1<e3/>text2</e2></e1>", NULL, NULL, 0, filled_later},
{"<e>&amp;&apos;&gt;&lt;&quot;</e>", NULL, NULL,
- sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later},
+ sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later},
{"<e>&#65;&#41;</e>", NULL, NULL, 0, filled_later},
/* Prolog */