Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Replace the current implementations of ftw() and nftw() with the OpenBSDimplementations written by Todd C. Miller. These are cleaner, less buggyand actively maintained.
Add implementations of ftw(3) and nftw(3) and the corresponding headerftw.h. This is the implementation written by Joel Baker<fenton@debian.org> for inclusion in NetBSD, but with severalbugfixes.Obtained from: Debian