From: | Olaf Barthel |
Date: | 23 Dec 99 at 15:36:59 |
Subject: | Re: Re: Version String, CPU detection |
From: "Olaf Barthel" <olsen-amigac@sourcery.han.de>
On Dec 22 Colin (Colin Wenzel) wrote:
> From: Colin Wenzel <colstv@hotkey.net.au>
>
> On 22-Dec-99, Fritsch Alexander wrote:
> > From: Fritsch Alexander <Alexander.Fritsch@icn.siemens.de>
> > Hello,
> > could someone tell me how the format of a version string has to be? I
> > found an example somewhere on Developer Disk 1.2 and used the
> > following line in my c-program:
> >
> > char versiontag[] = "\0$VER: af_mksstv 0.1 (19.12.1999)";
> > The name of the program is af_mksstv, the version should be 0.1 and
> > the date of the source is Dec 19th 1999. When I type
> >
> > version af_mksstv FULL
> > I see
> > af_mksstv 0.1 (15.07.94)
> > So whats wrong here?
>
>
> Use the international format, month in letters,
> because the americans do most things
> differently to the rest of us......
>
> char verstion[]="$VER: progfilename 1.0 (19.Dec.1999)";
Ouch. Bad practice. This won't solve the problem, and the "Version"
command cannot properly parse this format either.