lib: added a few error checks, and exceptions, to a_osloader.c file handling
commitdb55d9bd7e9b35113dde0379b75efdc3fea03ec1
authorChris Frey <cdfrey@foursquare.net>
Wed, 8 Dec 2010 03:08:02 +0000 (7 22:08 -0500)
committerChris Frey <cdfrey@foursquare.net>
Thu, 9 Dec 2010 19:59:43 +0000 (9 14:59 -0500)
tree6fd2e1096a885ce51a0565f0004b5ae34c5fbaf6
parentf708a822304851500ac41d666535ae74871d2159
lib: added a few error checks, and exceptions, to a_osloader.c file handling

Also wrapped the opendir/closedir operations in a smart pointer
so there are no handle leaks in exception cases.
src/a_osloader.cc