http://code.google.com/p/ftpii/source/detail?r=282
Modified:
/isfs/trunk/source/isfs.c
=======================================
--- /isfs/trunk/source/isfs.c Thu Jan 15 11:51:52 2009
+++ /isfs/trunk/source/isfs.c Sun Dec 20 07:04:06 2009
@@ -145,7 +145,8 @@
file->inUse = true;
file->isfs_fd = ISFS_Open(entry->abspath, ISFS_OPEN_READ);
if (file->isfs_fd < 0) {
- r->_errno = -file->isfs_fd;
+ if (file->isfs_fd == ISFS_EINVAL) r->_errno = EACCES;
+ else r->_errno = -file->isfs_fd;
return -1;
}