summaryrefslogtreecommitdiff
path: root/archivers/gtar-info
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-04-18 12:21:10 +0000
committerrillig <rillig@pkgsrc.org>2020-04-18 12:21:10 +0000
commit6d6b143d8f4e92c39f6534f7f0362ab471ac2fe0 (patch)
tree0f04e06261a76dc9d8502a583e380f0564b28493 /archivers/gtar-info
parent5883c328090c4b268fee26c1f364d556141f0c85 (diff)
downloadpkgsrc-6d6b143d8f4e92c39f6534f7f0362ab471ac2fe0.tar.gz
mk/subst.mk: avoid undefined behavior in regular expressions
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html says in section 9.3.2 BRE Ordinary Characters that only very few characters may be preceded with a backslash. As a side effect, this change allows parentheses in the variable names listed in SUBST_VARS (even if that will never happen in practice). The reason that the regression test had not replaced VAR.[] before was simply that this variable had not been listed in SUBST_VARS.
Diffstat (limited to 'archivers/gtar-info')
0 files changed, 0 insertions, 0 deletions