Incorporate improvements to the parsing of resource directories
Incorporate improvements to the parsing of resource directories

These changes were contributions from Neel Mehta, IIRC. With some minor tweaks by me.

erocarrera/pefile