Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
Author: zmedico
Date: 2008-12-20 19:46:18 +0000 (Sat, 20 Dec 2008)
New Revision: 12262
Modified:
main/branches/2.1.6/pym/portage/__init__.py
Log:
Bug #251616 - Inside _check_build_log(), remove unnecessary .* patterns from regular
expressions. These patterns trigger extreme performance issues when matched against
extremely large lines such as those produced by dev-util/bzr test suite when it
uses \r to rewrite the same line thousands of times. (trunk r12259)
Modified: main/branches/2.1.6/pym/portage/__init__.py
===================================================================
--- main/branches/2.1.6/pym/portage/__init__.py 2008-12-20 19:45:55 UTC (rev 12261)
+++ main/branches/2.1.6/pym/portage/__init__.py 2008-12-20 19:46:18 UTC (rev 12262)
@@ -4562,10 +4562,10 @@
configure_opts_warn = []
configure_opts_warn_re = re.compile(
- r'^configure: WARNING: Unrecognized options: .*')
- am_maintainer_mode_re = re.compile(r'.*/missing --run .*')
+ r'^configure: WARNING: Unrecognized options: ')
+ am_maintainer_mode_re = re.compile(r'/missing --run ')
am_maintainer_mode_exclude_re = \
- re.compile(r'.*/missing --run (autoheader|makeinfo)')
+ re.compile(r'/missing --run (autoheader|makeinfo)')
make_jobserver_re = \
re.compile(r'g?make\[\d+\]: warning: jobserver unavailable:')
|
|