This commit is contained in:
17
ghost.diff
Normal file
17
ghost.diff
Normal file
@@ -0,0 +1,17 @@
|
||||
Fix --noghost query option. rh#103207
|
||||
|
||||
Already in rpm-4.4.7
|
||||
|
||||
Index: lib/query.c
|
||||
===================================================================
|
||||
--- lib/query.c.orig
|
||||
+++ lib/query.c
|
||||
@@ -222,7 +222,7 @@ int showQueryPackage(QVA_t qva, rpmts ts
|
||||
continue;
|
||||
|
||||
/* If not querying %ghost, skip ghost files. */
|
||||
- if (!(qva->qva_fflags & RPMFILE_GHOST) && (fflags & RPMFILE_GHOST))
|
||||
+ if ((qva->qva_fflags & RPMFILE_GHOST) && (fflags & RPMFILE_GHOST))
|
||||
continue;
|
||||
|
||||
/*@-boundswrite@*/
|
Reference in New Issue
Block a user