Bug#424035: type-handling: Never uses caches
Package: type-handling
Version: 0.2.19
Severity: normal
Hi,
due to a small bug type-handling never actually uses it's cache files.. The
attached patch says all.
Sjoerd
-- System Information:
Debian Release: lenny/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=nl_NL (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages type-handling depends on:
ii dpkg-dev 1.14.2 package building tools for Debian
type-handling recommends no packages.
-- no debconf information
diff -Naur type-handling-0.2.19.vanilla/type-handling type-handling-0.2.19/type-handling
--- type-handling-0.2.19.vanilla/type-handling 2007-05-15 14:35:18.000000000 +0200
+++ type-handling-0.2.19/type-handling 2007-05-15 14:35:37.000000000 +0200
@@ -40,7 +40,7 @@
# check if we have a cached result for this
if test -e "/usr/share/type-handling/${cpus}:${systems}" \
&& [ ":${TYPE_HANDLING_BOOTSTRAP}" = ":" ] \
- && [ "${negated}:${reverted}" = ":" ] ; then
+ && [ "${negated}:${reverted}" = "0:0" ] ; then
cat "/usr/share/type-handling/${cpus}:${systems}"
exit
fi
Reply to: