ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] date-stamping C-t v


From: Doug Kearns
Subject: Re: [RP] date-stamping C-t v
Date: Tue Jun 29 18:34:01 2004
User-agent: Mutt/1.4i

On Wed, Jun 30, 2004 at 10:11:22AM +1000, Trent Buck wrote:
> Is there an easy way to insert the compile date into the version
> string (C-t v by default), so that I can tell what build I am using?
> 
> I currently have three RPs installed -- stable and current, and the
> one I'm patching stuff to.  Since they're all CVS, having it say
> '1.3.0cvs or 1.3.1cvs' isn't helpful.

Index: src/actions.c
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/src/actions.c,v
retrieving revision 1.196
diff -u -r1.196 actions.c
--- src/actions.c       20 May 2004 06:13:52 -0000      1.196
+++ src/actions.c       30 Jun 2004 01:31:11 -0000
@@ -1094,7 +1094,7 @@
 char *
 cmd_version (int interactive, char *data)
 {
-  message (" " PACKAGE " " VERSION " ");
+  message (" " PACKAGE " " VERSION " " __DATE__ " ");
   return NULL;
 } 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]