You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RPM has only path and directory dependencies, largely because the path canonicalization in rpmCleanPath() always strips a trailing '/' character.
Luckily, the (arguably hacky) fix is not very complicated.
always over allocate paths by 1 byte to accomodate a trailing '/' (if necessary.
Copy the trailing character of the input argument to rpmCleanPath() to the return value when it's a trailing '/'
The above heuristic starts to propagate a hint to the expected file type throughout rpm, thereby diffentiating dir/file dependencies with stricter tests for, say, %ghost marked paths.
No description provided.
The text was updated successfully, but these errors were encountered: