delorie.com/archives/browse.cgi | search |
Date: | Thu, 24 May 2001 15:18:03 -0400 |
Message-Id: | <200105241918.PAA24649@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp-workers AT delorie DOT com |
In-reply-to: | <20010524134600.A78@kendall.sfbr.org> (message from JT Williams |
on Thu, 24 May 2001 13:46:00 -0500) | |
Subject: | Re: CVS revision number in djasm.y |
References: | <20010524134600 DOT A78 AT kendall DOT sfbr DOT org> |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Won't work for branches, when Revision is, say, 1.4.2.6 Won't work for revision 1.100 (prints 1.10) or 1.9 (prints 1.90). Strings would be better. Avoids floating point opcodes, too. > +#define VERSION $Revision$ > + > > - sprintf(exe+INFO_TEXT_START, "\r\n%s generated from %s by djasm, on %.24s\r\n", argv[2], argv[1], ctime(&now)); > + sprintf(exe+INFO_TEXT_START, "\r\n%s generated from %s by djasm v%.2f on %.24s\r\n", argv[2], argv[1], VERSION, ctime(&now));
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |