Commit Briefs
use memcpy instead of bcopy
memcpy is ANSI C89, bcopy seems to be an history BSD function.
don't save the directory fd in c->pfd
scandir_fd already calls closedir, which in turns closes the fd
memcpy is ANSI C89, bcopy seems to be an history BSD function.
scandir_fd already calls closedir, which in turns closes the fd