__collect_history
__collect_history(fd, errorp, dir_tree);
static void __collect_history(int fd, int *error,