]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Avoid bizarre meson behavior with backslashes in command arguments.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Nov 2024 17:20:08 +0000 (12:20 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Nov 2024 17:20:08 +0000 (12:20 -0500)
commit88269df4da032bb1536d4291a13f3af4e1e599ba
tree11babf0ebb1f05d890f9a74821ae04bb78ec9022
parentae340d0318521ae7234ed3b7221a1f65f39a52c0
Avoid bizarre meson behavior with backslashes in command arguments.

meson makes the backslashes in text2macro.pl's --strip argument
into forward slashes, effectively disabling comment stripping.
That hasn't caused us issues before, but it breaks the test case
for b7e3a52a8.  We don't really need the pattern to be adjustable,
so just hard-wire it into the script instead.

Context: https://github.com/mesonbuild/meson/issues/1564
Security: CVE-2024-10979
src/pl/plperl/GNUmakefile
src/pl/plperl/meson.build
src/pl/plperl/text2macro.pl