RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/python/ rpmps-py.c

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 22 Oct 2007 - 14:41:41 CEST
Message-Id: <2048CA1A-765D-46FA-839A-B8F76D22497D@mac.com>


There's likely more to do with the rpmpsi iterator.

The problem set abstraction (from Panu) has additional changes
that expose a level of indirection for rpmProblem * need vetting.

73 de jeff


On Oct 22, 2007, at 3:02 AM, Anders F. Björklund wrote:

>   RPM Package Manager, CVS Repository
>   http://rpm5.org/cvs/
>    
> ______________________________________________________________________ 
> ______
>
>   Server: rpm5.org                         Name:   Anders F. Björklund
>   Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
>   Module: rpm                              Date:   22-Oct-2007  
> 09:02:43
>   Branch: HEAD                             Handle: 2007102208024300
>
>   Modified files:
>     rpm/python              rpmps-py.c
>
>   Log:
>     fix typo
>
>   Summary:
>     Revision    Changes     Path
>     1.11        +1  -1      rpm/python/rpmps-py.c
>    
> ______________________________________________________________________ 
> ______
>
>   patch -p0 <<'@@ .'
>   Index: rpm/python/rpmps-py.c
>    
> ====================================================================== 
> ======
>   $ cvs diff -u -r1.10 -r1.11 rpmps-py.c
>   --- rpm/python/rpmps-py.c	20 Oct 2007 04:55:44 -0000	1.10
>   +++ rpm/python/rpmps-py.c	22 Oct 2007 07:02:43 -0000	1.11
>   @@ -185,7 +185,7 @@
>        while ((i = rpmpsNextIterator(psi)) >= 0) {
>    	if (i != ix)
>    	    continue;
>   -	result = Py_BuildValue("s", rpmProblemString(rpmpsPrpblem(psi)));
>   +	result = Py_BuildValue("s", rpmProblemString(rpmpsProblem(psi)));
>    if (_rpmps_debug < 0)
>    fprintf(stderr, "*** rpmps_subscript(%p,%p) %s\n", s, key,  
> PyString_AsString(result));
>    	break;
>   @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-cvs@rpm5.org
Received on Mon Oct 22 14:43:08 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.