Re: syscmd broken on FreeBSD and AIX

Bruno Haible <[email protected]> Sat, 02 Dec 2023 06:21:49 +0100
Newsgroups gmane.comp.gnu.m4.bugs
Message-ID <17824195.CyM6mvBvMn@nimes>
Hi Eric,

Continuing this mail thread:
https://lists.gnu.org/archive/html/bug-m4/2022-09/msg00000.html
https://lists.gnu.org/archive/html/bug-m4/2023-01/msg00004.html
https://lists.gnu.org/archive/html/bug-m4/2023-01/msg00005.html

The situation is still the same on FreeBSD 14.0:

  $ sh -c -- pwd
  pwd: --: not found

In the last of these mails I wrote:
> Find attached a proposed patch. Tested on FreeBSD 13.1 and AIX 7.2; with
> it, all m4 tests pass.

May I just push this patch? I have commit rights on the GNU m4 repository.

Yesterday, I attempted to test the latest GNU autoconf pre-release on FreeBSD,
and encountered this bug again. It costs me time if such bugs are not fixed
upstream.

Bruno