Adeodato Simó writes ("Debian version numbers and strcmp()"):
> I'd like to hear from members of this list what they think about the
> following issue: I just noticed that to determine whether two Debian
> versions are equal, one can't use strcmp() or similar,
On Sun, 25 Jan 2009, Roger Leigh wrote:
> Having a canonical implementation of the version comparison in a C
> library would be super, since all the other languages could just
> wrap it.
The implementation I wrote for debbugs is a fallback for when
libapt-pkg-perl isn't around; I think any languag
On Fri, Jan 23, 2009 at 12:40:46PM +0200, Guillem Jover wrote:
> Hi!
>
> On Thu, 2009-01-22 at 15:19:40 +0100, Adeodato Simó wrote:
> > I'd like to hear from members of this list what they think about the
> > following issue: I just noticed that to determine whether two Debian
> > versions are equ
Hi!
On Thu, 2009-01-22 at 15:19:40 +0100, Adeodato Simó wrote:
> I'd like to hear from members of this list what they think about the
> following issue: I just noticed that to determine whether two Debian
> versions are equal, one can't use strcmp() or similar, and must
> implement the full compar
Thanks everybody for their responses. I'll learn to live with this
(small) unhappiness.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
The first step on the road to wisdom is the admis
On Thu, 22 Jan 2009, Adeodato Simó wrote:
> I'd like to hear from members of this list what they think about the
> following issue: I just noticed that to determine whether two Debian
> versions are equal, one can't use strcmp() or similar, and must
> implement the full comparison algorithm. For ex
On Thu, 22 Jan 2009, Russ Allbery wrote:
> them), but I've only thought about it for a couple of minutes. It would,
> however, change the current sort order by making 0.1 > 0.02, whereas
> currently 0.1 < 0.02. I haven't checked to see if that would break
> anything in the archive.
I'm pretty su
Adeodato Simó writes:
> I'd like to hear from members of this list what they think about the
> following issue: I just noticed that to determine whether two Debian
> versions are equal, one can't use strcmp() or similar, and must
> implement the full comparison algorithm. For example, 0.9 and 0.0
Hello,
I'd like to hear from members of this list what they think about the
following issue: I just noticed that to determine whether two Debian
versions are equal, one can't use strcmp() or similar, and must
implement the full comparison algorithm. For example, 0.9 and 0.09 are
the same version a
Adeodato Simó wrote:
> I'm tempted to say this is rather unfortunate: I always believed our
> version numbers to be comparable for *equality* using standard tools,
[snip]
> Is there a reason that would
> advise against changing it?
Probably, telling that 0.9 != 0.09 would break current dpkg/apt com
10 matches
Mail list logo