commit 6af4f7a7ae3d9e016399f09ba99331bfbdc6a6af
parent c065d5875b8467f0ad81c1d05c4ffda57ddb380d
Author: tjg <tjg>
Date: Wed, 27 Mar 2002 13:42:36 +0000
Feature: rename $version to $rc_version.
Diffstat:
4 files changed, 16 insertions(+), 7 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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)