RPM Community Forums

Mailing List Message of <rpm-devel>

rpmfiFMaxLen

From: Alexey Tourbin <at@altlinux.ru>
Date: Sun 06 Jul 2008 - 07:55:30 CEST
Message-ID: <20080706055530.GM7854@solemn.turbinal>
On Sun, Jul 06, 2008 at 06:24:43AM +0200, Alexey Tourbin wrote:
>   Server: rpm5.org                         Name:   Alexey Tourbin
>   Root:   /v/rpm/cvs                       Email:  at@rpm5.org
>   Module: rpm                              Date:   06-Jul-2008 06:24:43
>   Branch: HEAD                             Handle: 2008070604244200
> 
>   Modified files:
>     rpm                     CHANGES
>     rpm/build               files.c
>     rpm/lib                 librpm.vers rpmfi.c rpmfi.h
> 
>   Log:
>     rpmfi: changed fi->fnlen meaning, added rpmfiFMaxLen() function
>     
>     - fi->fnlen: now indicates max file name lengith, without '\0' (like strlen)
>     - rpmfiNew: find the exact max file name lengith, not dnlmax + bnlmax
>     - rpmfiFN: allocate (fi->fnlen + 1) bytes
>     - rpmfiFMaxLen: new function

rpmfiFNMaxLen is possibly a better name - s/F/FN/.
However, there is also rpmfiFNlink.


  • application/pgp-signature attachment: stored
Received on Sun Jul 6 07:55:31 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.