Avoid bizarre meson behavior with backslashes in command arguments.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4cd4f3b97492c1b38115d0563a2e55b136eb542a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-11-11T17:20:08Z
Releases: 17.1
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

Files

PathChange+/−
src/pl/plperl/GNUmakefile modified +1 −1
src/pl/plperl/meson.build modified +1 −1
src/pl/plperl/text2macro.pl modified +5 −3