Fix exists?

db4
Slava Pestov 2008-03-20 00:39:32 -05:00
parent e049e9b6f6
commit 0c490161b4
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void ffi_dlclose(F_DLL *dll)
DEFINE_PRIMITIVE(existsp) DEFINE_PRIMITIVE(existsp)
{ {
struct stat sb; struct stat sb;
box_boolean(stat(unbox_char_string(),&sb) < 0); box_boolean(stat(unbox_char_string(),&sb) >= 0);
} }
/* Allocates memory */ /* Allocates memory */