[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recursing through directories
From: |
Andreas Schwab |
Subject: |
Re: recursing through directories |
Date: |
Mon, 22 Apr 2002 17:06:59 +0200 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) |
Francesco Potorti` <address@hidden> writes:
|> 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.
Maybe ftw would be better, since it's POSIX (scandir isn't).
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."