This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: findutils still broken
Dave Korn wrote:
> ----Original Message----
>
>>From: Chuck
>>Sent: 19 April 2005 16:09
>
>
>>Findutils is broken when it comes to using it on the /proc filesystem.
>>The last version that worked is 4.1.7. Newer versions crash if you run
>>"find /proc". Anyone care to tackle this?
>
>
>
> Cannot reproduce:
>
> dk@mace /proc> find /proc
> /proc
> /proc/loadavg
> /proc/meminfo
> /proc/registry
> /proc/registry/HKEY_CLASSES_ROOT
> /proc/registry/HKEY_CLASSES_ROOT/*
> /proc/registry/HKEY_CLASSES_ROOT/*/OpenWithList
> find: /proc/registry/HKEY_CLASSES_ROOT/*/OpenWithList: Is a directory
> /proc/registry/HKEY_CLASSES_ROOT/*/shellex
> find: /proc/registry/HKEY_CLASSES_ROOT/*/shellex: Is a directory
> /proc/registry/HKEY_CLASSES_ROOT/*/InfoTip
> /proc/registry/HKEY_CLASSES_ROOT/*/QuickTip
> /proc/registry/HKEY_CLASSES_ROOT/*/AlwaysShowExt
> /proc/registry/HKEY_CLASSES_ROOT/*/TileInfo
> find: /proc/registry/HKEY_CLASSES_ROOT/*: Is a directory
> dk@mace /proc> find --version
> GNU find version 4.2.11-CVS
> dk@mace /proc> cygcheck -c findutils cygwin
> Cygwin Package Information
> Package Version Status
> cygwin 1.5.14-1 OK
> findutils 20041227-1 OK
> dk@mace /proc>
>
>
> The cygwin dll is in fact built from CVS on 2005-14-15, so it's
> effectively the same as 1.5.15.
>
> cheers,
> DaveK
Check your exit code from find. Mine stops in exactly the same place
with an exit code of 1.
Perhaps I shouldn't have said it "crashes", but it definitely does not
traverse the entire registry.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/