[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] include compiled date to output of ratpoison -v
From: |
Nazri Ramliy |
Subject: |
[RP] include compiled date to output of ratpoison -v |
Date: |
Sat, 22 Apr 2006 01:28:00 +0800 |
Sometimes i wanted to know when I compiled the ratpoison that I'm
currently running and wished that ratpoison -v shows it.
I don't know if others might find it useful (this may be gcc-specific).
Nazri.
*** main.c 2006-04-22 01:14:00.376062592 +0800
--- main.c.orig 2006-04-22 01:10:38.216795472 +0800
***************
*** 283,289 ****
void
print_version ()
{
! printf ("%s %s (Compiled %s %s)\n", PACKAGE, VERSION, __DATE__, __TIME__);
printf ("Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts\n\n");
exit (EXIT_SUCCESS);
--- 283,289 ----
void
print_version ()
{
! printf ("%s %s\n", PACKAGE, VERSION);
printf ("Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts\n\n");
- [RP] include compiled date to output of ratpoison -v,
Nazri Ramliy <=