]> git.ipfire.org Git - thirdparty/gettext.git/commit
Refactor: Use function str_startswith.
authorBruno Haible <bruno@clisp.org>
Fri, 3 Jan 2025 15:19:12 +0000 (16:19 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 8 Jan 2025 09:03:23 +0000 (10:03 +0100)
commit85d8d8e106c99bbb2c16fe6fbffdad5564dcb9bc
tree180e16b70329f0390fb630a2fd78b65fab8a9a0e
parentfda80a7f5db9780355ac0d5834dfd845b9f12da5
Refactor: Use function str_startswith.

* libtextstyle/gnulib-local/lib/term-ostream.oo.c (should_enable_hyperlinks):
Use str_startswith.
* libtextstyle/gnulib-local/modules/term-ostream (Depends-on): Add
str_startswith.
* gettext-tools/src/cldr-plural.y (yylex): Use str_startswith.
* gettext-tools/src/format-java.c (message_format_parse, choice_format_parse):
Likewise.
* gettext-tools/src/msgl-check.c (plural_help, check_header_entry): Likewise.
* gettext-tools/src/read-catalog-abstract.c (parse_comment_filepos): Likewise.
* gettext-tools/src/read-csharp.c (msgdomain_read_csharp): Likewise.
* gettext-tools/src/write-csharp.c (msgdomain_write_csharp): Likewise.
* gettext-tools/src/x-perl.c (skip_pod): Likewise.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC, GNULIB_MODULES_LIBGETTEXTPO): Add
str_startswith.
autogen.sh
gettext-tools/src/cldr-plural.y
gettext-tools/src/format-java.c
gettext-tools/src/msgl-check.c
gettext-tools/src/read-catalog-abstract.c
gettext-tools/src/read-csharp.c
gettext-tools/src/write-csharp.c
gettext-tools/src/x-perl.c
libtextstyle/gnulib-local/lib/term-ostream.oo.c
libtextstyle/gnulib-local/modules/term-ostream