]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Quote separators in foreach.m4 version of m4_joinall.
authorZack Weinberg <zack@owlfolio.org>
Mon, 8 Jul 2024 15:22:44 +0000 (11:22 -0400)
committerZack Weinberg <zack@owlfolio.org>
Wed, 17 Jul 2024 17:16:21 +0000 (13:16 -0400)
commitcfc73b4d6872604ae211058ad8d14e8f49b02e1f
treeebf650433788bedc4db96afa23d458be4b34d27c
parentfcfea736866c9e2d37a21c886b0bfc59f1cd0ea5
Quote separators in foreach.m4 version of m4_joinall.

The entire output of m4_joinall is supposed to be quoted, including
separators, but the foreach.m4 implementation (used with M4 1.4.x)
was missing some quotes, and we didn’t notice because the test suite
wasn’t thorough enough.  Fix.

* lib/m4sugar/foreach.m4 (m4_joinall): Quote each separator as it’s
  emitted.
* tests/m4sugar.at (m4_join test): Expand tests of both m4_join and
  m4_joinall.
lib/m4sugar/foreach.m4
tests/m4sugar.at