On 7/28/07, Jaroslaw Swierczynski <[EMAIL PROTECTED]> wrote:
> 2007/7/28, Scott Horowitz <[EMAIL PROTECTED]>:
> >
> > I'm sorry, but that's just untrue. Looking at the two version numbers,
> > I have no idea which is supposed to be newer without reading the
> > original poster's comments; certainly pacman would have no idea
> > either. What the heck does "P1" stand for?
>
> It wouldn't need to have any idea as long as it would treat
> underscores as dots (well, not exactly, perhaps lower level
> separators, dots would be the higher level separators).

You're absolutely wrong here. With your logic, if I made a package
with the version:
   9.4.1_prerelease
it is going to be greater than 9.4.1, yes? Even though it's 100%
obvious that it is a "PRERELEASE"

The simple fact is that version comparison when you allow alphanumeric
versions is 100% impossible to get right all the time.

Until you can show me a patch that does it correctly, you're just
going to look foolish.

_______________________________________________
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch

Reply via email to