NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57431 CVS commit: src/usr.bin/m4

The following reply was made to PR toolchain/57431; it has been noted by GNATS.

From: "Luke Mewburn" <>
Subject: PR/57431 CVS commit: src/usr.bin/m4
Date: Wed, 24 May 2023 21:58:19 +0000

 Module Name:	src
 Committed By:	lukem
 Date:		Wed May 24 21:58:19 UTC 2023
 Modified Files:
 	src/usr.bin/m4: gnum4.c
 Log Message:
 m4 -g: { and } aren't supported in patsubst() or regexp()
 When running in -g (GNU m4) emulation, patsubst() and regexp()
 use the GNU m4 emacs-like regexes as implemented by gnulib,
 which don't support {..} intervals.
 When converting a GNU m4 regex to a POSIX ERE, escape raw { and }.
 Autoconf relies on the GNU m4 regex behaviour.
 This fixes the tools/compat/configure regen.
 PR toolchain/57431
 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 src/usr.bin/m4/gnum4.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index