martin 44f72a641f Simplify previous by just doing an open() on the directory and then using
the fstat* family to test for all relevant details.
Clean up buffer sizes and clarify a length check. Based on input from dholland.
2015-07-08 07:14:38 +00:00
..