delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/28/17:19:48

From: toonen AT mcs DOT anl DOT gov (Brian R. Toonen)
Subject: RE: find bug?
28 Oct 1998 17:19:48 -0800 :
Message-ID: <000401be01f0$05119610$5ead8992.cygnus.gnu-win32@evil.mcs.anl.gov>
References: <19981027210341 DOT 26326 DOT rocketmail AT send101 DOT yahoomail DOT com>
Mime-Version: 1.0
To: <earnie_boyd AT yahoo DOT com>, <gnu-win32 AT cygnus DOT com>

$ uname -rv
4.0 19.1

--brian

> -----Original Message-----
> From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
> Sent: Tuesday, October 27, 1998 3:04 PM
> To: Brian R. Toonen; gnu-win32 AT cygnus DOT com
> Subject: Re: find bug?
> 
> 
> 
> What release and version of the cygwin.dll?
> 
> uname -rv will give it to you.
> 
> ---"Brian R. Toonen" <toonen AT mcs DOT anl DOT gov> wrote:
> >
> > I've discovered what I believe to be a bug in find.  When searching
> for file of a particular name, find does not recurse into directories
> that have the same name as a directory earlier in the hierarchy. 
> Enclosed below is an example of it not finding the file 'config' in
> Communications/nexus/libraries/nexus.  Since this works correctly on
> all of the variants of UNIX, I believe the bug is specific to the
> cygwin port of find or the cygwin library.
> > 
> > Note: in a real world scenario, this bug results in autoreconf not
> updating the configure file in Communications/nexus/libraries/nexus.
> > 
> > --brian
> > 
> > 
> > $ mkdir Communications
> > $ mkdir Communications/nexus
> > $ mkdir Communications/nexus/libraries
> > $ mkdir Communications/nexus/libraries/nexus
> > $ mkdir Communications/nexus/libraries/mp
> > $ mkdir Communications/nexus/libraries/duct
> > $ echo "config" > Communications/config
> > $ echo "config" > Communications/nexus/config
> > $ echo "config" > Communications/nexus/libraries/config
> > $ echo "config" > Communications/nexus/libraries/nexus/config
> > $ echo "config" > Communications/nexus/libraries/mp/config
> > $ echo "config" > Communications/nexus/libraries/duct/config
> > $ find Communications -name config -print
> > Communications/config
> > Communications/nexus/config
> > Communications/nexus/libraries/config
> > Communications/nexus/libraries/duct/config
> > Communications/nexus/libraries/mp/config
> > $ find Communications -type d -print
> > Communications
> > Communications/nexus
> > Communications/nexus/libraries
> > Communications/nexus/libraries/duct
> > Communications/nexus/libraries/mp
> > Communications/nexus/libraries/nexus
> > $ ls Communications/nexus/libraries/nexus/config
> > Communications/nexus/libraries/nexus/config
> > $
> > 
> > -
> > For help on using this list (especially unsubscribing), send a
> message to
> > "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> > 
> 
> ==
> -                  \\||//
> -------------o0O0--Earnie--0O0o--------------
> --          earnie_boyd AT yahoo DOT com          --
> -- http://www.freeyellow.com/members5/gw32 --
> ----------------ooo0O--O0ooo-----------------
> 
> PS: Newbie's, you should visit my page.
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019