This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: access()
Christopher Faylor wrote:
> If I read Pierre's previous message correctly, it sounds like /bin/test
> is now broken. Was someone going to fix that?
It's not any worse than before but not as good as sh, or (soon) bash.
I was going to mention this to the sh-utils maintainer :)
I can send a proper patch (where?), but essentially in test.c
+ #ifdef (__CYGWIN__)
+ #define eaccess(x,y) access(x,y)
+ #else
static int
eaccess (char *path, int mode)
{
struct stat st;
and a matching #endif
Pierre