all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francesco Potorti` <pot@gnu.org>
Subject: recursing through directories
Date: Mon, 22 Apr 2002 16:48:32 +0200	[thread overview]
Message-ID: <E16zf7I-0003hj-00@pot.cnuce.cnr.it> (raw)

I am going to add a new functionality to etags (by popular request).

Until now, when a directory name was given, etags would raise an error.
I want etags to recurse through it and look for source files.

Looking at the libc functions, I think that scandir is the most useful
for this job.  Is it standard enough?  The man page says it is
conformant to bsd4.3, so I should have no problems.  The fact is that
the etags source is very conservative about systems compatibility.

Does anyone have a snippet of code as an example of usage?  Not really
necessary, but it could help.

             reply	other threads:[~2002-04-22 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22 14:48 Francesco Potorti` [this message]
2002-04-22 15:06 ` recursing through directories Andreas Schwab
2002-04-22 18:09 ` Paul Eggert
2002-04-22 18:31   ` Eli Zaretskii
2002-04-23  9:45   ` Francesco Potorti`
2002-04-23 23:56     ` Paul Eggert
2002-04-24  1:11       ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16zf7I-0003hj-00@pot.cnuce.cnr.it \
    --to=pot@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.