access()

Pierre A. Humblet Pierre.Humblet@ieee.org
Fri Feb 21 16:31:00 GMT 2003


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



More information about the Cygwin-patches mailing list