RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES rpm/tools/ Makefile.am rpm2cpio.c

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 23 Nov 2007 - 21:04:57 CET
Message-Id: <EDC32A1D-F183-4657-A12A-C53589A17695@mac.com>

On Nov 23, 2007, at 2:50 PM, Ralf S. Engelschall wrote:

> On Fri, Nov 23, 2007, Jeff Johnson wrote:
>
>>     - jbj: re-add rpm2cpio.c.
>
> Nice. Should we also install _this_ program instead of the weak
> scripts/rpm2cpio script?
>

Depends on your religion. Some like simple programs, others like  
scripts.

The flaw that needs solving in rpm2cpio.c is with the wiring of gzdio  
compression on
top of a handler ptr rather than a fdno. Way back when I used the  
"stdio" like
gzread() abstraction rather than inflate/deflate in buffers.

So the wiring onto a neon fd->req handler broke rpm2cpio.

This turns out to be exactly the last remaining problem I need to solve
with XAR Payload files, so I've resurrected the old rpm2cpio.c to focus
on the I/O model instead of the other baggage that rpm carries.

I 'spose I can do the monkey wrench pipe fitting to get a fdno on top
of the handler ...

73 de Jeff
Received on Fri Nov 23 21:05:37 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.