If a path element directory was never opened it is not on the list of
authorMax Okumoto <okumoto@dragonflybsd.org>
Fri, 17 Dec 2004 08:06:12 +0000 (08:06 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Fri, 17 Dec 2004 08:06:12 +0000 (08:06 +0000)
commite269c8614a85b2372cbc272fcd42f75532c9d449
tree0223f65fddd7d4659613e190fbe3e6f4c8221214
parent57de52ee3c2aa94a93dd1c9722d6899588039e45
If a path element directory was never opened it is not on the list of
open directories so there is no need to remove it from there. This fixes
a core dump introduced by removing the run-time check from Lst_Remove.

Taken-from: FreeBSD
Author: harti
usr.bin/make/dir.c