From owner-freebsd-current Fri Sep 26 02:07:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA23076 for current-outgoing; Fri, 26 Sep 1997 02:07:38 -0700 (PDT) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA23068 for ; Fri, 26 Sep 1997 02:07:34 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id SAA08591; Fri, 26 Sep 1997 18:34:50 +0930 (CST) Message-ID: <19970926183449.36254@lemis.com> Date: Fri, 26 Sep 1997 18:34:49 +0930 From: Greg Lehey To: Poul-Henning Kamp Cc: Mark Murray , Nate Williams , FreeBSD current users Subject: Re: find still broken - is this only happening to me? References: <19970926171729.56024@lemis.com> <8145.875264305@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <8145.875264305@critter.freebsd.dk>; from Poul-Henning Kamp on Fri, Sep 26, 1997 at 10:58:25AM +0200 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Sep 26, 1997 at 10:58:25AM +0200, Poul-Henning Kamp wrote: > In message <19970926171729.56024@lemis.com>, Greg Lehey writes: > >>>> $ find /sys -follow -name '*.[csh]' | xargs grep ENFILE|less >> >> Grrr. I went back and recompiled find with -g. And it worked. So I >> recompiled it with the default CFLAGS. And it worked. I promise, >> nothing in the source tree has changed since I built it yesterday, >> only the problem has gone into hiding. >> >> Let's forget this one. If it happens again, I'll try to catch it >> before it goes into hiding again. > > Is there any chance that you had a directory named so it matched '*.[csh]' ? > > Ie, would a > > find /sys -type f -name '*.[csh]' | xargs grep ENFILE|less > > have made a difference ? No, I've seen this in a number of places. And I repeated exactly the same command with the newly compiled version. I'm sure there *is* a bug there somewhere--recall that GNU find doesn't have the same problem--but it's obviously pretty elusive. Greg