[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Obsolete cache struct
From: |
Akim Demaille |
Subject: |
FYI: Obsolete cache struct |
Date: |
09 Aug 2001 12:31:35 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* bin/autom4te.in ($icache): Load it only if older than autom4te.
Index: bin/autom4te.in
===================================================================
RCS file: /cvs/autoconf/bin/autom4te.in,v
retrieving revision 1.23
diff -u -u -r1.23 autom4te.in
--- bin/autom4te.in 2001/08/07 07:55:07 1.23
+++ bin/autom4te.in 2001/08/09 10:25:02
@@ -958,8 +958,11 @@
or die "$me: cannot create $cache: $!\n";
}
+# Read the cache index if available and older than autom4te itself.
+# If autom4te is younger, then some structures such as Request, might
+# have changed, which would corrupt its processing.
Request->load ($icache)
- if -f $icache;
+ if -f $icache && mtime ($icache) > mtime ($0);
# Add the new trace requests.
my $req = Request->request ('input' => address@hidden,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Obsolete cache struct,
Akim Demaille <=