[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recursing through directories
From: |
Paul Eggert |
Subject: |
Re: recursing through directories |
Date: |
Tue, 23 Apr 2002 16:56:08 -0700 (PDT) |
> From: Francesco Potorti` <address@hidden>
> CC: address@hidden
> Organization:
> Date: Tue, 23 Apr 2002 11:45:16 +0200
>
> 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?
In some implementations, yes, I think so.
It's a tricky area. If you use an open file descriptor per directory,
you can always get back to where you came from. If not, then you can
run into other problems.