Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* When temporarily enabling warnings.pm I observed a warning in DirEntries(): closedir() attempted on invalid dirhandle $dh * The way the code was written, opendir() was always called even if the file was not a directory * Delay the opendir() call until we know that we don't want to list a regular file * opendir() should not happen if running "ls -d", or if the argument to DirEntries() is not a directory
- Loading branch information