On 08/28/2015 01:15 PM, Michael Schwendt wrote:
The version tags "ver" and "rel" attributes may also be non-numerical.
Why not "epoch", too?

I haven't looked into the sources, but IIRC, inside of rpm, while rel, ver etc. are strings, epoch is an integer.

AFAIR, there are APIs which return the epoch as a *int, which may be NULL or a valid pointer. I.e. callers will have to special case accessing these pointers.

Seems to me as if something doesn't get this right.
(FWIW: All this was an FAQ > 10 years ago :) )

Ralf


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to