Re: Trouble with RPMTAG_PROVIDEFLAGS FIXED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Farning wrote:

Later when I try to use pkg_node_exp via



  if (pkg_node_exp->provide_count > 0)
    {
      printf ("Provides\n");
      printf ("\t count = %d\n", pkg_node_exp->provide_count);
      for (i = 0; i < pkg_node_exp->provide_count; i++)
        printf ("\t               %s %i %s\n",
                pkg_node_exp->provide_name[i],
                pkg_node_exp->provide_flags[i],
                pkg_node_exp->provide_version[i]);
    }



Just masking out the important bits with & 63 makes it work.
Replace
	pkg_node_exp->provide_flags[i],
with
	pkg_node_exp->require_flags[i] & 63,

What the heck is happening here?

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux