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