entry = readdir(cur_dir_ptr) futex problems