From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: recursing through directories Date: Mon, 22 Apr 2002 21:31:33 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <7458-Mon22Apr2002213133+0300-eliz@is.elta.co.il> References: <200204221809.g3MI9Uh07012@shade.twinsun.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019500434 29949 127.0.0.1 (22 Apr 2002 18:33:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 18:33:54 +0000 (UTC) Cc: pot@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zidN-0007mw-00 for ; Mon, 22 Apr 2002 20:33:54 +0200 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by mail-relay.eunet.no (8.12.2/8.12.2/GN) with ESMTP id g3MIXsQn091508 for ; Mon, 22 Apr 2002 20:33:54 +0200 (CEST) (envelope-from emacs-devel-admin@gnu.org) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zieB-0003rG-00 for ; Mon, 22 Apr 2002 20:34:44 +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 16zicj-0004n7-00; Mon, 22 Apr 2002 14:33:13 -0400 Original-Received: from thor.inter.net.il ([192.114.186.11]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zibR-00042V-00; Mon, 22 Apr 2002 14:31:54 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by thor.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id ACC66196; Mon, 22 Apr 2002 21:31:33 +0300 (IDT) Original-To: eggert@twinsun.com X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <200204221809.g3MI9Uh07012@shade.twinsun.com> (message from Paul Eggert on Mon, 22 Apr 2002 11:09:30 -0700 (PDT)) 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:3045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3045 > From: Paul Eggert > Date: Mon, 22 Apr 2002 11:09:30 -0700 (PDT) > > > Looking at the libc functions, I think that scandir is the most useful > > for this job. Is it standard enough? > > Not really, unfortunately. ftw is standard, but it's a portability > hassle too. I agree with Paul. I think it is best for etags to have code that uses more portable functions such as opendir/readdir. I suspect that even ftw is absent on some platforms like Windows (DJGPP does have it, though).