Re: [PATCH] Fix an infinitely recursing example

Eric Blake <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 11/02/2016 12:58 AM, Quinn Grier wrote:
> The "single" macro infinitely recurses because its expansion contains
> the unquoted text " single-". The "double" macro almost has the same
> problem, but it is protected by extra quotes. In any case, the macro
> names being repeated in the macro definitions is not necessary.
> 
> This commit changes the macro names to "foo" and "bar", which are taken
> from a very similar example in the GNU M4 1.4.17 manual. See lines 1971
> to 1980 of v1.4.17:doc/m4.texi in the GNU M4 Git repository.
> ---
>  doc/autoconf.texi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Good catch!  I'll install this alongside other patches that I'm testing
this week.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc (application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYGcwjAAoJEKeha0olJ0NqB+8H/RxjZOCiKZ2SZJxmAvRpJGgc
MDw9irPZhhkqD5U2sn39S8xZg90+UjwvLYfHFOm5dLeq5kQ57ZAFdWduHzgscrIv
njX2pKwbDoyd8Vobh4Et1DEAq0yaSFQq0vDErxwXYcHwL+W5eqTtoxePvaivRCZ7
feJDfsEAaC9CheZ/VN+yC+/IB+/o7/dULeZvLC/SOt5Tzvd3fLvW35fjxeUr5vw+
UjHMMtRl27IpP0Te5yGaQGQvdcC9Y2td6/AGtfAx2t/R8aOCIoFfuv3+Y8/dBLig
x6as78fbdjSCpF6WtpZBMKIHKVde1o7Z7BXjTG6xvkBQQuUVcIdSFLTuwkOS90A=
=fg3e
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.