--- a/src/platform_posix.c Thu Jun 07 10:42:19 2012 -0400
+++ b/src/platform_posix.c Wed Jun 20 20:16:11 2012 -0400
@@ -349,7 +349,7 @@
if (lstat(filename, &statbuf) == -1)
{
- *exists = (errno == ENOENT);
+ *exists = (errno != ENOENT);
BAIL_MACRO(errcodeFromErrno(), 0);
} /* if */