Mail Archives: djgpp-workers/1997/11/24/06:46:38
This change somehow is not in the last alpha of v2.02:
*** src/libc/posix/unistd/access.c Mon Sep 8 00:10:40 1997
--- ../../src/libc/posix/unistd/access.c Fri Apr 18 18:23:00 1997
*************** int access(const char *fn, int flags)
*** 51,57 ****
return -1; /* not a directory */
}
! if ((flags & W_OK) && (attr & 1))
{
errno = EACCES;
return -1; /* not writable */
--- 51,57 ----
return -1; /* not a directory */
}
! if ((flags & W_OK) && (attr & 3)) /* read-only, system or hidden */
{
errno = EACCES;
return -1; /* not writable */
- Raw text -