]> git.99rst.org Git - git.git/commit
meson: simplify iconv-emits-BOM check
authorPatrick Steinhardt <redacted>
Thu, 5 Mar 2026 11:20:21 +0000 (12:20 +0100)
committerJunio C Hamano <redacted>
Thu, 5 Mar 2026 19:19:56 +0000 (11:19 -0800)
commit4cae5847694f0d62b6da3b55164f7749c0a19fef
tree1daba44eedbe243ef71caae76a964c78e0bf6d0b
parent67ad42147a7acc2af6074753ebd03d904476118f
meson: simplify iconv-emits-BOM check

Simplify the iconv-emits-BOM check that we have in Meson a bit by:

  - Dropping useless variables.

  - Casting the `inpos` pointer to `void *` instead of using a typedef
    that depends on whether or not we use an old iconv library.

This overall condenses the code signficantly and makes it easier to
follow.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
meson.build
git clone https://git.99rst.org/PROJECT