From 5ef3b80ed0153dd66a113b3947877c16c39e32af Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 3 Dec 2002 08:19:58 +0000 Subject: [PATCH] (get_script_cache): Flush cache only if the generation-numbers differ. (Logical change 1.29) --- src/ia64/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia64/script.c b/src/ia64/script.c index db203910..885f79ef 100644 --- a/src/ia64/script.c +++ b/src/ia64/script.c @@ -71,7 +71,7 @@ get_script_cache (unw_addr_space_t as) cache = &ia64_per_thread_cache; #endif - if (as->cache_generation - cache->generation < 0x80000000) + if (as->cache_generation != cache->generation) flush_script_cache (as, cache); return cache;