diff options
author | Samanta Navarro <ferivoz@riseup.net> | 2022-01-22 12:04:58 +0000 |
---|---|---|
committer | Samanta Navarro <ferivoz@riseup.net> | 2022-01-22 12:06:45 +0000 |
commit | 5a8f5f1d4017d14a01822b57c089764a5b598a1c (patch) | |
tree | beddf6162b530393e72d13c9ce79748a0eaffa50 | |
parent | 1e1b52be2d9e1d2e0c3c1cb106eb7c6071747bac (diff) | |
download | libexpat-git-5a8f5f1d4017d14a01822b57c089764a5b598a1c.tar.gz |
Fix typos
Typos found with codespell.
-rw-r--r-- | expat/CMakeLists.txt | 2 | ||||
-rw-r--r-- | expat/lib/xmlparse.c | 2 | ||||
-rw-r--r-- | expat/tests/runtests.c | 4 |
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=\"&'><"\" />", 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>&'><"</e>", NULL, NULL, - sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later}, + sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later}, {"<e>A)</e>", NULL, NULL, 0, filled_later}, /* Prolog */ |