From d578ca79591e85f9f253ab48a42313c6bf0d70c7 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 8 Jul 2014 11:58:34 -0700 Subject: [PATCH] alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find. --- basis/alien/libraries/finder/finder.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/alien/libraries/finder/finder.factor b/basis/alien/libraries/finder/finder.factor index 70105052f1..3a763cf1b8 100644 --- a/basis/alien/libraries/finder/finder.factor +++ b/basis/alien/libraries/finder/finder.factor @@ -11,7 +11,7 @@ HOOK: find-library* os ( name -- path/f ) ! try to open a library that is the first name in that list anyway ! or "library_not_found" as a last resort for better debugging. : find-library-from-list ( seq -- path/f ) - dup [ find-library* ] map-find nip + dup [ find-library* ] map-find drop [ nip ] [ ?first "library_not_found" or ] if* ; {