From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.devel Subject: Re: recursing through directories Date: Tue, 23 Apr 2002 11:45:16 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204221809.g3MI9Uh07012@shade.twinsun.com> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019555318 14727 127.0.0.1 (23 Apr 2002 09:48:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 23 Apr 2002 09:48:38 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zwub-0003pQ-00 for ; Tue, 23 Apr 2002 11:48:37 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zwvj-0007g3-00 for ; Tue, 23 Apr 2002 11:49:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zwuO-0008O0-00; Tue, 23 Apr 2002 05:48:24 -0400 Original-Received: from pot.cnuce.cnr.it ([146.48.83.182]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zwrR-0008Ay-00 for ; Tue, 23 Apr 2002 05:45:22 -0400 Original-Received: from pot by pot.cnuce.cnr.it with local (Exim 3.35 #1 (Debian)) id 16zwrM-0007yj-00; Tue, 23 Apr 2002 11:45:16 +0200 Original-To: Paul Eggert In-Reply-To: <200204221809.g3MI9Uh07012@shade.twinsun.com> (eggert@twinsun.com) X-fingerprint: 4B2 6187 5C3 D6B1 2E31 7666 9DF 2DC9 BE21 6115 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3085 Not really, unfortunately. ftw is standard, but it's a portability hassle too. In practice, there are real problems in running out of file descriptors when descending into deeply nested directories. Do you mean that there is an open file descriptor per directory level? You might try taking a look at lib/savedir.[ch] from the GNU core utilities, written by David MacKenzie. I'll do that. Thanks to all for your advice.