ref: c129c9edf109cadc5e78c271855b6594ad0f79a2
parent: 0dccb3c895c2f8f1f758b2702e5d5d967c8998c2
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Jun 20 13:37:47 EDT 2014
Compute the directory length There can be padding at the end of the buffer for alignment. All we can rely on is the '\0' terminator.