texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.

contrib:
	* texi2pod.pl: Fix regular expression for @r to avoid exponential
	recursion.  From Russ Allbery <rra@stanford.edu>.  Remove perl
	version check.

gcc:
	* configure.in, configure: Revert previous patch requiring perl
	5.6.0.

From-SVN: r39053
This commit is contained in:
Joseph Myers 2001-01-15 23:32:25 +00:00 committed by Joseph Myers
parent 3ff5120570
commit 3f896fc299
5 changed files with 272 additions and 252 deletions

View File

@ -1,3 +1,9 @@
2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
* texi2pod.pl: Fix regular expression for @r to avoid exponential
recursion. From Russ Allbery <rra@stanford.edu>. Remove perl
version check.
2001-01-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* warn_summary (stageNfilter): Update for recent changes in

View File

@ -4,8 +4,6 @@
# markup to Perl POD format. It's intended to be used to extract
# something suitable for a manpage from a Texinfo document.
use v5.6.0;
$output = 0;
$skipping = 0;
%sects = ();
@ -262,7 +260,7 @@ sub postprocess
s/\@(?:dmn|math)\{([^\}]*)\}/$1/g;
# Handle @r inside bold.
1 while s/B<((?:[^<>]*|I<[^<>*]*>)*)R<([^>]*)>/B<$1>${2}B</g;
1 while s/B<((?:[^<>]|I<[^<>]*>)*)R<([^>]*)>/B<$1>${2}B</g;
# Cross references are thrown away, as are @noindent and @refill.
# (@noindent is impossible in .pod, and @refill is unnecessary.)

View File

@ -1,3 +1,8 @@
2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
* configure.in, configure: Revert previous patch requiring perl
5.6.0.
2001-01-12 Aldy Hernandez <aldyh@redhat.com>
* toplev.c (flag_guess_branch_prob): New.

503
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -471,9 +471,9 @@ else
BUILD_INFO=info AC_SUBST(BUILD_INFO)
fi
# Are perl and pod2man recent enough to regenerate manpages?
AC_MSG_CHECKING([for recent perl and Pod::Man])
if perl -e 'use v5.6.0; use 1.10 Pod::Man' >/dev/null 2>&1; then
# Is pod2man recent enough to regenerate manpages?
AC_MSG_CHECKING([for recent Pod::Man])
if perl -e 'use 1.10 Pod::Man' >/dev/null 2>&1; then
AC_MSG_RESULT(yes)
GENERATED_MANPAGES=generated-manpages AC_SUBST(GENERATED_MANPAGES)
else