From 5fe7ac3ff5865c11773dedd9137a7a8fc06e614d Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Wed, 19 Mar 2003 19:25:18 +0000 Subject: [PATCH] (unw_set_caching_policy): Default to "global" policy if thread-local policy is not available. (Logical change 1.63) --- src/ia64/set_caching_policy-ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia64/set_caching_policy-ia64.c b/src/ia64/set_caching_policy-ia64.c index cb0f2135..adbc2f84 100644 --- a/src/ia64/set_caching_policy-ia64.c +++ b/src/ia64/set_caching_policy-ia64.c @@ -36,7 +36,7 @@ unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy) #ifndef HAVE___THREAD if (policy == UNW_CACHE_PER_THREAD) - return -UNW_EINVAL; + policy = UNW_CACHE_GLOBAL; #endif as->caching_policy = policy;