bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find -type d -depth -name error


From: James Youngman
Subject: Re: find -type d -depth -name error
Date: Thu, 7 Aug 2003 08:43:53 +0100
User-agent: Mutt/1.3.28i

On Wed, Aug 06, 2003 at 03:14:34PM -0500, Wendy Palm wrote:
> i'm having problems using the following command with gnu find (4.1)
> but not on other non-gnu versions of find.
> 
> the error is consistent on linux (redhat), solaris (sunblade, 5.8)
> and my Crays.
> sun's version of find and cray's version of find work correctly.
> 
> i searched the mail archives for any other mention of it, but didn't
> see anything.  has anyone else come across this?
> 
> $ find . -depth -type d -name fi"*"
> ./findutils-4.1/find
> findutils-4.1/find/find: ./findutils-4.1: No such file or directory
> (i'm currently sitting in a directory with a subdirectory of the findutils 
> source code)

Thanks for the bug report.

If I have correctly understood your bug report, I can't reproduce it
with GNU find 4.1.7 or with the current CVS code (I'm in the process
of checking version 4.1.20 now, and will get back to you if the
results are different from the current CVS code) :-

$ ../compile.i386/find/find . -type f -depth -name fi"*"
./gnulib/lib/fileblocks.c
./gnulib/lib/filemode.c
./gnulib/lib/filemode.h
./gnulib/m4/fileblocks.m4
./gnulib/m4/filemode.m4
./doc/find.texi.orig
./doc/find.texi
./doc/find.texi.~1.16.~
./find/find.1
./find/find.c
./intl/finddomain.c
./po/findutils.pot
./xargs/testsuite/inputs/files.xi
./xargs/testsuite/inputs/files0.xi

$ ../compile.i386/find/find . -depth -type d -name fi"*"
./find/testsuite/find.gnu
./find
./findlib

$ ../compile.i386/find/find --version
GNU find version 4.2.0-CVS


$ find . -depth -type d -name fi"*"
./find/testsuite/find.gnu
./find
./findlib

$ find --version
GNU find version 4.1.7
$


Very puzzling.  Could you perhaps send me the result of reproducing
the problem on Red Hat Linux by using strace to produce a list of the
system calls being made?    (Please don't copy it to the list).

Secondly, since this bug looks like it might not be trivial to
investigate, could you log it at
<http://savannah.gnu.org/bugs/?group=findutils> please?  That way I
can't forget to do something about it, and you can track my progress
if you wish.

-- 
James Youngman.
CSSC Bug reporting page:       http://sf.net/tracker/?group_id=8064&atid=108064
GNU Findutils bug reporting page: http://savannah.gnu.org/bugs/?group=findutils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]