[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recursing through directories
From: |
Thien-Thi Nguyen |
Subject: |
Re: recursing through directories |
Date: |
23 Apr 2002 21:11:49 -0400 |
Paul Eggert <address@hidden> writes:
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.
perhaps restricting ftw usage to "depth" mode would help. in that case,
only a parent chain of directory descriptors is needed, i would think,
and so a smart implementation could make do w/ O(filesytstem-depth) fds
(for directories).
thi