Formerly vpath.c.~14~
authorRoland McGrath <roland@redhat.com>
Tue, 14 Dec 1993 19:28:59 +0000 (19:28 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Dec 1993 19:28:59 +0000 (19:28 +0000)
vpath.c

diff --git a/vpath.c b/vpath.c
index 34e43fc..230bb6a 100644 (file)
--- 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;
        }