autoconf-patches
[Top][All Lists]
Advanced

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

Re: autotest speedups


From: Paolo Bonzini
Subject: Re: autotest speedups
Date: Thu, 04 Oct 2007 17:22:04 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

You probably wanted something like this:

I committed it. In fact, it's very close to reversing the "use simpler regex" part of your change, but not really.

2007-10-04  Paolo Bonzini  <address@hidden>

        Fix previous commit.
        * lib/autotest/general.m4 (AT_LINE): Fix regex.

diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
index ac41c14..dfd098c 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
@@ -152,7 +152,7 @@ m4_define([AT_LINE],
 [m4_if(m4_defn([_AT_LINE_file]), __file__, [],
        [m4_do([m4_define([_AT_LINE_file], __file__)],
               [m4_define([_AT_LINE_base],
-                         m4_bpatsubst(/__file__, [/\([^/]*\)$],
+                         m4_bpatsubst(__file__, [^.*/\([^/]*\)$],
                                       [[\1]]))])])dnl
  m4_defn([_AT_LINE_base]):__line__])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]