From: | "Zeugswetter Andreas DCP SD" <ZeugswetterA(at)spardat(dot)at> |
---|---|
To: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] vcbuild bison check |
Date: | 2006-10-04 16:06:55 |
Message-ID: | E1539E0ED7043848906A8FF995BDA579016269F7@m0143.s-mxs.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> -----Original Message-----
> From: Magnus Hagander [mailto:mha(at)sollentuna(dot)net]
> Sent: Wednesday, October 04, 2006 6:01 PM
> To: Zeugswetter Andreas ADI SD
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: RE: [HACKERS] [PATCHES] vcbuild bison check
>
> > > Ok. So what you want is something that checks that it's
> > > >=1.875 but specifically not 2.1?
> > >
> > > Might be a while before I can submit an updated patch for that,
> > may
> > > need to rewrite the whole script in perl to do that :-( .bat
> > files are
> > > horribly limited in what they can do.
> >
> > Since we are on NT or higher you could use extensions:
> > IF %bversion% GEQ 1.875 IF %bversion% NEQ 2.1 goto use_bison
> > http://www.robvanderwoude.com/ntif.html
>
> I thought that only worked if your locale was set to
> something that has dot as decimal separator. Mine has comma,
> as have many others...
Um, I think it does a string compare because point or comma is no
decimal digit,
but that would imho also be sufficient.
My locale is German, so my decimal sep should also be a comma, and it
worked
for the mentioned versions.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-10-04 16:12:21 | Re: [PATCHES] vcbuild bison check |
Previous Message | Magnus Hagander | 2006-10-04 16:01:29 | Re: [PATCHES] vcbuild bison check |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-10-04 16:12:21 | Re: [PATCHES] vcbuild bison check |
Previous Message | Magnus Hagander | 2006-10-04 16:01:29 | Re: [PATCHES] vcbuild bison check |