]> git.ipfire.org Git - thirdparty/gettext.git/commit
php-format: Reject null precision.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Jun 2025 00:38:50 +0000 (02:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Jun 2025 00:38:50 +0000 (02:38 +0200)
commitc0a5ed01807c21d3fcb01df7a565fa06ac88fb90
tree2176eb85fb6e40cf04bc5de9da12ecdaeb4171cb
parent3c4aff9b3b66a2f2e790a6da86821dc1fb826933
php-format: Reject null precision.

Rationale: The handling of null precision in php is buggy,
cf. <https://github.com/php/php-src/issues/18897>.

* gettext-tools/src/format-php.c: Fix comment regarding the precision.
* gettext-tools/tests/format-php-1: Add a test case with null precision.
gettext-tools/src/format-php.c
gettext-tools/tests/format-php-1