With xfaces 3.3, facedb search will perform incorrectly under certain circumstances. Found faces are cached under only the filename they were found under within a given database and not under the database+filename. This patch does not address this caching problem, but simply extracts the cache check code in the face search as a quick & dirty workaround that may well introduce new bugs. See patch-graaff for an alternative patch for this problem. Steve Kinzler, kinzler@cs.indiana.edu, Apr 95 *** face_image.c.orig Sat Mar 12 19:38:40 1994 --- face_image.c Mon Apr 24 21:49:32 1995 *************** *** 204,210 **** int length; static char* filename = NULL; static int filename_length = 0; ! /* * First see if we already have this image. */ --- 204,210 ---- int length; static char* filename = NULL; static int filename_length = 0; ! #if 0 /* * First see if we already have this image. */ *************** *** 223,229 **** return 1; } } ! /* * Only read if file exists and is not a directory. */ --- 223,229 ---- return 1; } } ! #endif /* * Only read if file exists and is not a directory. */