help/version patches
Robert Collins
robert.collins@itdomain.com.au
Mon Feb 25 06:45:00 GMT 2002
> -----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
More information about the Cygwin-patches
mailing list