On Tue, Aug 19, 2003 at 01:15:50PM +1000, Martin Michlmayr wrote: > * Matt Zimmerman <[EMAIL PROTECTED]> [2003-08-18 12:32]: > > > Yes, this was clearly the intention, but the behaviour doesn't match. > > > > OK, I see the problem. It's hitting the end of the string before it > > compares the '~', so the shorter version number (3.0) is considered smaller > > than the longer (3.0~rc1). It works in dpkg because it continues its > > comparison onto the terminating null byte. The interface for apt, though, > > is such that the string doesn't need to be null terminated at this point. > > I'll see about fixing it. > > Is it possible to have a set of regression tests for these kind of > things?
Check the apt CVS changelog for the past 24 hours. :-) -- - mdz

