Log Message: The original author must have assumed d_reclen referred to strlen(entr->d_name). Thus use this instead of the non-portable d_namlen field.