From 2a191593947281229fecaff9519a4f3692a0c31f Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@redhat.com>
Date: Tue, 14 Dec 1993 19:28:59 +0000
Subject: [PATCH] Formerly vpath.c.~14~

---
 vpath.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vpath.c b/vpath.c
index 34e43fc3..230bb6ab 100644
--- a/vpath.c
+++ b/vpath.c
@@ -158,8 +158,9 @@ construct_vpath_list (pattern, dirpath)
 	      free ((char *) path->searchpath);
 	      free ((char *) path);
 	    }
+	  else
+	    lastpath = path;
 
-	  lastpath = path;
 	  path = next;
 	}