[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmvercmp is kinda broken, always has been



On Fri, Jan 03, 2003 at 11:49:58AM -0500, Jeff Johnson wrote:
> 
> Heh, so you want rpm to make the number 503 less than 6? Well I suppose
> I could do the comparison "modulo 3", that would work ;-)
> 

Nah, modulo 3 doesn't work. Neither do any of
bash$ dc
503 2 % p
1
503 3 % p
2
503 5 % p
3
503 7 % p
6
503 11 % p
8
503 13 % p
9
503 17 % p   
10
503 19 % p
9
503 23 % p
20
503 29 % p
10
503 31 % p
7
503 37 % p
22
503 41 % p
11
503 43 % p
30
503 47 % p
33
503 53 % p
26
...

Looks like 503 is gonna stay bigger than 6 forever, sigh.

;-)

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []