Hello, Assar!

> > if test -n "$cache_file" && test -r "$cache_file" && test -f \
> > "$cache_file"; then
> > 
> > Please check that it works for your ksh.
> 
> Yeah, that works fine.  Please commit that change and thanks for your
> help.

Maybe this patch will save time to somebody with write access to the
repository:

========================
Index: ChangeLog
--- ChangeLog   Mon Jul 24 08:50:46 2000
+++ ChangeLog   Fri Jul 28 14:00:13 2000
@@ -0,0 +1,4 @@
+2000-07-28  Pavel Roskin <[EMAIL PROTECTED]>
+
+       * ltconfig.in: only load $cache_file if it's a regular file
+
Index: ltconfig.in
--- ltconfig.in Mon Jul 24 08:50:46 2000
+++ ltconfig.in Fri Jul 28 13:58:10 2000
@@ -399,7 +399,7 @@
 if test "X${LC_ALL+set}" = Xset; then LC_ALL=C; export LC_ALL; fi
 if test "X${LANG+set}"   = Xset; then LANG=C;   export LANG;   fi
 
-if test -n "$cache_file" && test -r "$cache_file"; then
+if test -n "$cache_file" && test -r "$cache_file" && test -f "$cache_file"; then
   echo "loading cache $cache_file within ltconfig"
   . $cache_file
 fi
========================

Regards,
Pavel Roskin

Reply via email to