Re: [PATCH] Get recursive grep to work on Win9x

2002-05-12 Thread Christopher Faylor
On Sun, May 12, 2002 at 05:33:04PM +0200, Ton van Overbeek wrote: >The patch is simple. It makes use of the wincap.can_open_directories() >capability, which seems to be foreseen for exactly this type of problems. >However I could not find an other place where this capability is used >in the cygwin

[PATCH] Get recursive grep to work on Win9x

2002-05-12 Thread Ton van Overbeek
There have been various reports over time that recursive grep is not working on Win9x. For every directory you get a 'Permission denied' error. Also there have been reports that using open(2) to open a directory readonly on Win9x fails. Both have the same cause. open(2) calls _open in the cygwin1