From 5e667559c345ac27763ba6f069a127d20ea2be18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Wed, 13 Oct 2010 20:46:04 +0000 Subject: fix rpmEVRcmp() vs rpmEVRcompare() confusion, expose both --- URPM.xs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'URPM.xs') diff --git a/URPM.xs b/URPM.xs index c476a34..20d4411 100644 --- a/URPM.xs +++ b/URPM.xs @@ -190,7 +190,6 @@ get_nvra(Header h) { return NVRA; } -/* TODO: behaviour of rpmEVRcmp() & rpmEVRcompare() differs, is this correct? */ static int do_rpmEVRcmp(const char *a, const char *b) { int compare; @@ -3354,6 +3353,11 @@ int rpmEVRcmp(one, two) char *one char *two + +int +rpmEVRcompare(one, two) + char *one + char *two PREINIT: int compare; CODE: -- cgit v1.2.1