The semanics of dirlist needs to be documented.