[Rpm-maint] [rpm-software-management/rpm] Unify glob fallback behavior (PR #2159)
Michal Domonkos
notifications at github.com
Tue Aug 23 10:30:52 UTC 2022
@dmnks commented on this pull request.
> @@ -2281,7 +2281,7 @@ static int rpmdbRemoveFiles(char * pattern)
int rc = 0;
ARGV_t paths = NULL, p;
- if (rpmGlob(pattern, NULL, &paths) == 0) {
+ if (rpmGlob(pattern, RPMGLOB_NONE, NULL, &paths) == 0) {
Similar to the above, we would try to unlink a file that doesn't exist (e.g. one that ends with a `/*`), see `rpmdbRemoveDatabase()` where we call this function.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2159#pullrequestreview-1081880130
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2159/review/1081880130 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220823/86e9740f/attachment.html>
More information about the Rpm-maint
mailing list