-
Richard Acayan authored
When a pathname navigates to the parent directory via the special "../" name, the current directory may be assigned a numeric file descriptor. With a numeric file descriptor, the current directory can still be referenced, and should not be closed. Only close the directory if it is not assigned.