]> git.ipfire.org Git - thirdparty/gettext.git/commit
Revisit the locating-rule code.
authorBruno Haible <bruno@clisp.org>
Thu, 25 Jul 2024 11:57:56 +0000 (13:57 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 25 Jul 2024 12:01:42 +0000 (14:01 +0200)
commit625d4503ed29abdc881d5a5d92ba0ead501512db
tree321135c117ff5381457491261c24ccc43e94474d
parent1321e0473df99157d29b01ed95f2a00c18608b7a
Revisit the locating-rule code.

* gettext-tools/src/search-path.c: Reorder definitions. Add comments.
(get_search_path): Use XNMALLOC instead of XCALLOC. Verify the memory
allocation.
* gettext-tools/src/locating-rule.h: Add comments.
(locating_rule_list_locate): Add const to first argument.
* gettext-tools/src/locating-rule.c: Add comments.
(locating_rule_list_locate): Add const to first argument.
* gettext-tools/src/FILES: Update.
* gettext-tools/doc/gettext.texi (Preparing ITS Rules): Fix a typo.
gettext-tools/doc/gettext.texi
gettext-tools/src/FILES
gettext-tools/src/locating-rule.c
gettext-tools/src/locating-rule.h
gettext-tools/src/search-path.c