Mailinglist Archive: zypp-devel (40 mails)
| < Previous | Next > |
Re: [zypp-devel] Found bug in RPM... should I report? Plans for RPM 4.7?
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Wed, 8 Jul 2009 15:21:24 +0200
- Message-id: <20090708132124.GB18296@xxxxxxx>
On Wed, Jul 08, 2009 at 03:07:59PM +0200, Cristian Morales Vega wrote:
The plan is to go to 4.7 for 11.2.
Shouldn't you skip the lead first, i.e. call readLead()?
You probably also need to read the signarures with rpmReadSignature().
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
I'm playing with rpmlib and it seems to me that headerRead() fails. I
could open a bug report... upstream would not accept it, and not sure
if it makes sense to open it for openSUSE. What are the plans for RPM
4.7 (or 5.x)? Will be used in 11.2?
The plan is to go to 4.7 for 11.2.
The problem is that in this simple code headerRead always returns
NULL. Isn't easy to debug optimized code but it seems the
HEADER_MAGIC_YES detection fails (with HEADER_MAGIC_NO fails in
another header check).
Shouldn't you skip the lead first, i.e. call readLead()?
You probably also need to read the signarures with rpmReadSignature().
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |