$NetBSD: patch-ac,v 1.1.1.1 2004/01/23 08:21:59 skrll Exp $

--- libtme/module.c.orig	Sat Aug 23 14:48:30 2003
+++ libtme/module.c
@@ -107,7 +107,7 @@ _tme_modules_find(const char *top_name,
   FILE *modules_index;
 
   /* pass over the search path environment variables: */
-  for (pass = 0; ++pass < 2; ) {
+  for (pass = 0; ++pass <= 2; ) {
 
     /* get the next search path environment variable value: */
     search_path = NULL;
