From a44232cdc3a624499bfc23672cb88b47ea1a3063 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Tue, 22 Oct 2024 12:21:19 +1300 Subject: [PATCH] Fix typos --- NOTES | 2 +- build-aux/ltmain.sh | 6 +++--- lib/iconv_open1.h | 2 +- lib/iso2022_jp2.h | 2 +- lib/iso2022_jpms.h | 2 +- libcharset/build-aux/ltmain.sh | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/NOTES b/NOTES index b3103f5..ae67d09 100644 --- a/NOTES +++ b/NOTES @@ -204,7 +204,7 @@ A: libiconv, as an internationalization library, supports those character We implement this because Microsoft Outlook Express / Microsoft MimeOLE sends emails in this encoding. * U90, S90 - We DON'T implement this because I have no informations about what it + We DON'T implement this because I have no information about what it is or who uses it. Simplified Chinese * EUC-CN = GB2312 diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh index 2d19468..5e83d4d 100644 --- a/build-aux/ltmain.sh +++ b/build-aux/ltmain.sh @@ -589,7 +589,7 @@ func_require_term_colors () # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is - # useable or anything else if it does not work. + # usable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes @@ -739,7 +739,7 @@ eval 'func_dirname () # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. -# value retuned in "$func_basename_result" +# value returned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () @@ -897,7 +897,7 @@ func_mkdir_p () # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. + # list in case some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done diff --git a/lib/iconv_open1.h b/lib/iconv_open1.h index a7288a4..6967b32 100644 --- a/lib/iconv_open1.h +++ b/lib/iconv_open1.h @@ -28,7 +28,7 @@ unsigned int to_surface; int transliterate; int discard_ilseq; - Jumps to 'invalid' in case of errror. + Jumps to 'invalid' in case of error. */ { char buf[MAX_WORD_LENGTH+9+9+1]; diff --git a/lib/iso2022_jp2.h b/lib/iso2022_jp2.h index 2090cc0..385a102 100644 --- a/lib/iso2022_jp2.h +++ b/lib/iso2022_jp2.h @@ -310,7 +310,7 @@ iso2022_jp2_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n) unsigned char buf[2]; int ret; /* This defines the conversion preferences depending on the current - langauge tag. */ + language tag. */ enum conversion { none = 0, european, japanese, chinese, korean, other }; static const unsigned int conversion_lists[STATE_TAG_LANGUAGE] = { /* STATE_TAG_NONE */ diff --git a/lib/iso2022_jpms.h b/lib/iso2022_jpms.h index 2c42405..4a55e9f 100644 --- a/lib/iso2022_jpms.h +++ b/lib/iso2022_jpms.h @@ -58,7 +58,7 @@ * Conclusion: * - CP50222 should not be used, because the multibyte sequence that it * produces cannot be parsed by either of the three encodings. - * - CP50221 is preferrable to CP50220, because it can faithfully represent + * - CP50221 is preferable to CP50220, because it can faithfully represent * the halfwidth Katakana characters. * We therefore implement CP50221. As an extension, in the mbtowc conversion * direction, we support also ESC ( J 0x0E, just in case. diff --git a/libcharset/build-aux/ltmain.sh b/libcharset/build-aux/ltmain.sh index 2d19468..5e83d4d 100644 --- a/libcharset/build-aux/ltmain.sh +++ b/libcharset/build-aux/ltmain.sh @@ -589,7 +589,7 @@ func_require_term_colors () # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is - # useable or anything else if it does not work. + # usable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes @@ -739,7 +739,7 @@ eval 'func_dirname () # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. -# value retuned in "$func_basename_result" +# value returned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () @@ -897,7 +897,7 @@ func_mkdir_p () # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. + # list in case some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done -- 2.34.1