[Rpm-maint] [rpm-software-management/rpm] Unify glob fallback behavior (PR #2159)

Michal Domonkos notifications at github.com
Tue Aug 23 07:26:27 UTC 2022


@dmnks commented on this pull request.



> @@ -1595,7 +1595,7 @@ static rpmRC rpmReadRC(rpmrcCtx ctx, const char * rcfiles)
     argvSplit(&globs, rcfiles, ":");
     for (p = globs; *p; p++) {
 	ARGV_t av = NULL;
-	if (rpmGlob(*p, NULL, &av) == 0) {
+	if (rpmGlob(*p, RPMGLOB_NONE, NULL, &av) == 0) {
 	    argvAppend(&files, av);

Yup, this just goes to show that maybe making this explicit through the flag is "overkill" and we should just do it always and call it day :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2159#discussion_r952245245
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2159/review/1081602320 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220823/4fa0c154/attachment.html>


More information about the Rpm-maint mailing list