Re: Issues with find in /proc

2009-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 12/1/2009 9:13 AM: > This one appears to be a bug in find. It looks like it's using its own > version of the fts(3) functions. AFAICS, what happens is that find uses > fstatat(fd = "/proc/$PID/fd", name="6") in the fi

Re: Issues with find in /proc

2009-12-01 Thread Corinna Vinschen
On Dec 1 06:31, Chris Sutcliffe wrote: > Hi All, > > I'm not sure if this is expected behaviour or not, but I've noticed > the following: > > csutc...@eush65 /proc > $ find . > . > ./loadavg > ./meminfo > ./registry > find: `./registry': Bad file descriptor This is a bug in Cygwin. It miss

Issues with find in /proc

2009-12-01 Thread Chris Sutcliffe
Hi All, I'm not sure if this is expected behaviour or not, but I've noticed the following: csutc...@eush65 /proc $ find . . ./loadavg ./meminfo ./registry find: `./registry': Bad file descriptor ./stat ./version ./uptime ./cpuinfo ./partitions ./self ./mounts ./registry32 find: `./registry32'