This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: upset, genini: different version ordering


On Jul 22 18:20, Achim Gratz wrote:
> Corinna Vinschen writes:
> > But then, for the time being, you can take care of this weird ordering
> > with prev and curr markers, right?
> 
> Yes, I could, but since I test things with genini locally I'll have to
> guess when to to that.
> 
> > Well, apart from "me, no perl", me neither.  Nevertheless I looked into
> > upset briefly (I'm tainted anyway), and it turns out that the version
> > number handling is entirely hand-made.  Version.pm is a 85 lines perl
> > script, providing two functions, Normalize($;$) and Sort(\@)
> 
> Thanks, that confirms my suspicions.  Could you tell me what Normalize
> uses as the two inputs and how it returns the result?

I'm not really sure.  It seems the input is a filename and something
optional called a "prematch".  The return value is apparently a pair,
normalized version and version.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpc45DQH2bud.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]