RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_1: rpm/lib/ rpmps.c

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 06 Oct 2008 - 21:55:59 CEST
Message-id: <6A00B8CC-2F6B-428F-B47C-8E4563957890@mac.com>
Ah, so __THAT__'s what the issue was , I'm blind. I'd like to
keep the display string buried in lib/rpmps.c rather than having
2 i18n strings that differ only because of a trailing \n ...

Thanks for spotting, I'll take care of the rest.

73 de Jeff

On Oct 6, 2008, at 3:41 PM, Ralf S. Engelschall wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>   
> ____________________________________________________________________________
>
>  Server: rpm5.org                         Name:   Ralf S. Engelschall
>  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
>  Module: rpm                              Date:   06-Oct-2008 21:41:45
>  Branch: rpm-5_1                          Handle: 2008100619414500
>
>  Modified files:           (Branch: rpm-5_1)
>    rpm/lib                 rpmps.c
>
>  Log:
>    Ops! One semicolon too much.
>    The function always returned NULL.
>
>  Summary:
>    Revision    Changes     Path
>    2.22.2.2    +1  -1      rpm/lib/rpmps.c
>   
> ____________________________________________________________________________
>
>  patch -p0 <<'@@ .'
>  Index: rpm/lib/rpmps.c
>   
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
>  $ cvs diff -u -r2.22.2.1 -r2.22.2.2 rpmps.c
>  --- rpm/lib/rpmps.c	4 Oct 2008 18:13:43 -0000	2.22.2.1
>  +++ rpm/lib/rpmps.c	6 Oct 2008 19:41:45 -0000	2.22.2.2
>  @@ -388,7 +388,7 @@
>
>   rpmProblem rpmpsGetProblem(rpmps ps, int num)
>   {
>  -    if (ps == NULL);
>  +    if (ps == NULL)
>           return(NULL);
>       /* XXX Retrieve last problem with negative index. */
>       if (num < 0)
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-cvs@rpm5.org
Received on Mon Oct 6 21:56:26 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.