mblsha/dist-clang — pull request #1 by andrey-malets (2014-06-14 11:37:45+00:00)
Title: Fixed directory size calculation routine

closedir() now is invoked only if DIR* was actually opened.
Also return early from calculation cycle if an error occurs.