[Rpm-maint] recognizing epoch, take two
mls at suse.de
Wed Nov 16 10:20:51 UTC 2011
On Wed, Nov 16, 2011 at 11:17:23AM +0100, Ales Kozumplik wrote:
> I use long int type to pass the epoch around. This type can both cover the
> entire range of RPM_INT32_TYPE (the type of epoch value) and -1 for the
> 'any epoch' semantics. Compared to the previous version, it saves us one
> malloc and is not longer.
Hmm, is sizeof(long int) > 4 true for all platforms?
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
More information about the Rpm-maint