This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: help/version patches
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Joshua Daniel Franklin" <joshuadfranklin at yahoo dot com>,<cygwin-patches at cygwin dot com>
- Date: Mon, 25 Feb 2002 16:34:35 +1100
- Subject: RE: help/version patches
> -----Original Message-----
> From: Joshua Daniel Franklin [mailto:joshuadfranklin@yahoo.com]
> Sent: Monday, February 25, 2002 4:22 PM
> To: cygwin-patches@cygwin.com
> Subject: help/version patches
>
>
> I've got patches for each of the utils to add/correct the help and
> version output options. There are 13 in all. I incremented the
> version number 0.01 from the ones in CVS/Entries with the
> exception of cygpath. I also added a line based on one found in
> strace that imbeds the compile date into the version output:
Some confusion here: I was meaning that having something like:
const char *revision="$Revision: $ ";
in the file allows you to then use:
const char *version = revision[11];
to obtain the correct version number.
Rob