help/version patches
Joshua Daniel Franklin
joshuadfranklin@yahoo.com
Mon Feb 25 20:29:00 GMT 2002
> > I'm not sure I understand. Hard-code the revision in a const char
>
> man co might enlighten you.
>
I'm afraid I've never used CVS/RCS before. :(
Am I reading this right? If I just put $Revision$ in the code, once
it's checked in/out that'll be replaced with the correct version number?
I see strace.cc has a line:
static const char *version_string = "@(#)strace V1.0, Copyright (C) 2001 Red
Hat
Inc., " __DATE__ "\n";
That doesn't look autogenerated, but maybe it is.
Anyway here is a patch for cygcheck that I think does the right thing.
Somebody want to take a look?
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.cc-patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020225/83e9e10c/attachment.ksh>
More information about the Cygwin-patches
mailing list