From: ChuanGang Jiang Date: Fri, 10 Feb 2023 14:34:25 +0000 (+0000) Subject: Fix typos like "the the" and "a a" in comments. X-Git-Tag: v1.0~1681 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=2269df0a82415dee8007397dae49e957d78d8369;p=gnulib.git Fix typos like "the the" and "a a" in comments. * lib/c32is-impl.h: s/the the/the/ * lib/getopt-pfx-core.h: s/a a/a/ * lib/term-style-control.h: s/the the/the/ * lib/textstyle.in.h: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 647ccdf883..9d266165a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-02-10 ChuanGang Jiang (tiny change) + + Fix typos like "the the" and "a a" in comments. + * lib/c32is-impl.h: s/the the/the/ + * lib/getopt-pfx-core.h: s/a a/a/ + * lib/term-style-control.h: s/the the/the/ + * lib/textstyle.in.h: Likewise. + 2023-02-10 Bruno Haible chown, lchown, fchownat tests: Avoid test failure on macOS 12. diff --git a/lib/c32is-impl.h b/lib/c32is-impl.h index 5917348dc1..dba00b51ae 100644 --- a/lib/c32is-impl.h +++ b/lib/c32is-impl.h @@ -67,7 +67,7 @@ FUNC (wint_t wc) return WCHAR_FUNC (wc); # else /* The char32_t encoding of a multibyte character is known to be UCS-4, - different from the the wchar_t encoding. */ + different from the wchar_t encoding. */ if (wc != WEOF) return UCS_FUNC (wc); else diff --git a/lib/getopt-pfx-core.h b/lib/getopt-pfx-core.h index 3a2fde5ad4..095e3930fe 100644 --- a/lib/getopt-pfx-core.h +++ b/lib/getopt-pfx-core.h @@ -47,7 +47,7 @@ # define optind __GETOPT_ID (optind) # define optopt __GETOPT_ID (optopt) -/* Work around a a problem on macOS, which declares getopt with a +/* Work around a problem on macOS, which declares getopt with a trailing __DARWIN_ALIAS(getopt) that would expand to something like __asm("_" "rpl_getopt" "$UNIX2003") were it not for the following hack to suppress the macOS declaration . */ diff --git a/lib/term-style-control.h b/lib/term-style-control.h index 3f853bb941..4e14c7c5b1 100644 --- a/lib/term-style-control.h +++ b/lib/term-style-control.h @@ -37,7 +37,7 @@ typedef enum be left in the default state when the program is interrupted. */ TTYCTL_FULL /* Signal handling and disabling echo and flush-upon-signal. - Result: No garbled output, and the the terminal will + Result: No garbled output, and the terminal will be left in the default state when the program is interrupted. */ } ttyctl_t; diff --git a/lib/textstyle.in.h b/lib/textstyle.in.h index 111e1e10d3..38645bf6f8 100644 --- a/lib/textstyle.in.h +++ b/lib/textstyle.in.h @@ -392,7 +392,7 @@ typedef enum be left in the default state when the program is interrupted. */ TTYCTL_FULL /* Signal handling and disabling echo and flush-upon-signal. - Result: No garbled output, and the the terminal will + Result: No garbled output, and the terminal will be left in the default state when the program is interrupted. */ } ttyctl_t;