pgsql: Avoid bizarre meson behavior with backslashes in command argumen

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid bizarre meson behavior with backslashes in command argumen
Date: 2024-11-11 17:20:19
Message-ID: E1tAY5L-001KkW-2I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a34c33fd2278157de140608523598567bfb7a32f

Modified Files
--------------
src/pl/plperl/GNUmakefile | 2 +-
src/pl/plperl/meson.build | 2 +-
src/pl/plperl/text2macro.pl | 8 +++++---
3 files changed, 7 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-11-11 17:27:10 pgsql: Avoid bizarre meson behavior with backslashes in command argumen
Previous Message Tom Lane 2024-11-11 15:42:44 pgsql: Add needed .gitignore files in back branches.