On 02 Mar 2010, at 12:12 AM, Joe Orton wrote:

You can get the type by checking dirent.filetype directly, if you add
APR_FINFO_TYPE to the bitmask passed to apr_dir_read(), this will be
more efficient on most platforms since it can avoid the stat call.

Doh, forgot the APR_FINFO_TYPE. Fixed in r917759. Thanks for the heads up.

Regards,
Graham
--

Reply via email to