This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]