$NetBSD: patch-ad,v 1.4 2000/10/02 16:43:45 abs Exp $ --- src/image.c.orig Tue Sep 14 09:28:09 1999 +++ src/image.c @@ -193,9 +193,12 @@ DeleteItemList(namecache); } -DeleteCompressedArray(ip->inode_cache); - -ip->inode_cache = NULL; + /* Only flush when exiting initial call to RecursiveImage() */ +if (strcmp(from,ip->path) == 0) + { + DeleteCompressedArray(ip->inode_cache); + ip->inode_cache = NULL; + } cfclosedir(dirh); }