From 6af4f7a7ae3d9e016399f09ba99331bfbdc6a6af Mon Sep 17 00:00:00 2001 From: tjg Date: Wed, 27 Mar 2002 13:42:36 +0000 Subject: Feature: rename $version to $rc_version. --- AUTHORS | 10 +++++----- ChangeLog | 4 ++++ rc.1 | 7 ++++++- var.c | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/AUTHORS b/AUTHORS index 11bbd1d..d2593d0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -30,8 +30,8 @@ Tim would like to thank these people for their contributions since he took over maintenance of rc. Aharon Robbins, Arvid Requate, Bengt Kleberg, Brynjulv Hauksson, Byron Rakitzis, Callum Gibson, Chris Siebenmann, Dale Scheetz, David Luyer, David Swasey, Decklin Foster, -Donn Cave, Gary Carvell, Gerry Tomlinson, Gert-Jan Vons, Ian Lance -Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark H Wilkinson, Mark K -Gardner, Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz, -Stefan Dalibor, Steve Simon, Thomas Nordin, Tom Culliton, Tom Tromey, -Vincent Broman, Wolfgang Zekoll. +Donn Cave, Erik Quanstrom, Gary Carvell, Gerry Tomlinson, Gert-Jan +Vons, Ian Lance Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark H +Wilkinson, Mark K Gardner, Raymond Venneker, Rich $alz, Rob Savoye, +Scott Schwartz, Stefan Dalibor, Steve Simon, Thomas Nordin, Tom +Culliton, Tom Tromey, Vincent Broman, Wolfgang Zekoll. diff --git a/ChangeLog b/ChangeLog index b12d1d4..cfab9dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -768,3 +768,7 @@ Changes since rc-1.5b2 Bug: yet more wrongly ordered header file includes. Release: rc-1.6c6. + +2002-03-27 + + Feature: rename $version to $rc_version. diff --git a/rc.1 b/rc.1 index 6953160..3e22c65 100644 --- a/rc.1 +++ b/rc.1 @@ -1421,7 +1421,7 @@ usually sets to .Cr "(0 0)" . .TP -.Cr version " (read only)" +.Cr rc_version " (read only)" The first element of this list variable is a string which identifies this version of .IR rc . @@ -2119,6 +2119,11 @@ keywords, the .B echo builtin, +the +.Cr bqstatus +and +.Cr rc_version +variables, the support for the GNU .IR readline (3) library and diff --git a/var.c b/var.c index 1c30fba..a7f5c76 100644 --- a/var.c +++ b/var.c @@ -68,7 +68,7 @@ extern List *varlookup(char *name) { return sgetapids(); if (streq(name, "status")) return sgetstatus(); - if (streq(name, "version")) + if (streq(name, "rc_version")) return &id1; if (*name != '\0' && (sub = a2u(name)) != -1) { /* handle $1, $2, etc. */ for (l = varlookup("*"); l != NULL && sub != 0; --sub) -- cgit v1.2.3