Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NDMP: Avoid double slashes in ndmp directory names
The old code added slashes to directories without checking if the slash is not already there. This was both done in the code handling NDMP4_FH_ADD_DIR and in the code handling NDMP4_FH_ADD_FILE calls. We now we only add slashes if needed, which avoids the problems caused by double slashes in the filenames.
- Loading branch information
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters