forked from rpm-software-management/rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate uses of realpath() and rpmCleanPath() in fingerprint canonD…
…ir() Use filesystem::canonical() instead of realpath() and the new rpm::join_path() and rpm::normalize_path() for the other path manipulation. Also return a C++ string to the sole caller. Drop some bogus checks and comments: canonDir() could not return NULL for a long long time. One could argue that there's more than one change here but going from C strings to C++ strings tends to have a bit of a domino effect. No functional changes intended.
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 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