On Sat, 2 Mar 2002 20:32:52 -0500 "Joey Hess" <[EMAIL PROTECTED]> wrote:
> unsigned char magic[4]; > unsigned char major, minor; > short type; > short archnum; > char name[66]; > short osnum; > short signature_type; > short lsb_compliant; > char reserved[15]; > }; I forgot about the reserved bits -- that's obviously a better way to do this then I suggested as it will preserve compatibility with old versions of RPM (though a byte will suffice). Erik ----------------------------------------------------------------------------- | "Distracting? I'm inspiring" | | - Sally Bowles in Cabaret |