bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC] Method of directory traversing


From: Shigio Yamaguchi
Subject: [RFC] Method of directory traversing
Date: Tue, 14 Sep 2004 11:37:06 +0900

Hello,

I would like to remove find(3) support in libutil/find.c in the future,
because it is time-consuming to always maintain two kinds of codes.
Currently, method selection is like this:

        if find(1) exist then
                use find(1)
        else
                use dirent(3)

As the first step, I would like to change the priority of the method
selection.

        if dirent(3) exist then
                use dirent(3)
        else if find(1) exist then
                use find(1)
        else
                ERROR

Since I know that the config macros HAVE_DP_D_TYPE and HAVE_DP_D_NAMLEN
don't work in linux, I will throw them away.

In the future, method selection will be like this:

        if dirent(3) exist then
                use dirent(3)
        else
                ERROR

Any objection?
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]