From 0c490161b4241a69e70ac686032905d08bd0c9e0 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 20 Mar 2008 00:39:32 -0500 Subject: [PATCH] Fix exists? --- vm/os-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/os-unix.c b/vm/os-unix.c index 29d53487a3..74320288aa 100755 --- a/vm/os-unix.c +++ b/vm/os-unix.c @@ -44,7 +44,7 @@ void ffi_dlclose(F_DLL *dll) DEFINE_PRIMITIVE(existsp) { struct stat sb; - box_boolean(stat(unbox_char_string(),&sb) < 0); + box_boolean(stat(unbox_char_string(),&sb) >= 0); } /* Allocates memory */