summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-15 22:15:14 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-15 22:15:14 +0000
commit985e589745d6effdd03b9c5b5b9229a7ac5c0789 (patch)
tree09d0d50127a4145cda6e6b2e37fb7b0c193d7977 /gnu/usr.bin
parentc960b32a548677a19a06f5aada598426180958a3 (diff)
downloadFreeBSD-src-985e589745d6effdd03b9c5b5b9229a7ac5c0789.zip
FreeBSD-src-985e589745d6effdd03b9c5b5b9229a7ac5c0789.tar.gz
To truely have the OLD behavior of RCS by default make the expansion
of $FreeBSD$ false by default. This should keep them out of the pre 2.x repository. (Or at least make them useless in it).
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/rcs/lib/rcskeys.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.bin/rcs/lib/rcskeys.c b/gnu/usr.bin/rcs/lib/rcskeys.c
index e41363b..b148dbb 100644
--- a/gnu/usr.bin/rcs/lib/rcskeys.c
+++ b/gnu/usr.bin/rcs/lib/rcskeys.c
@@ -31,6 +31,11 @@ Report problems and direct all questions to:
/* $Log: rcskeys.c,v $
+ * Revision 1.2 1994/05/14 07:00:23 rgrimes
+ * Add new option -K from David Dawes that allows you to turn on and off
+ * specific keyword substitution during a rcs co command.
+ * Add the new keyword FreeBSD that is IDENTICAL in operation to $Id$.
+ *
* Revision 1.1.1.1 1993/06/18 04:22:12 jkh
* Updated GNU utilities
*
@@ -63,14 +68,15 @@ Report problems and direct all questions to:
#include "rcsbase.h"
-libId(keysId, "$Id: rcskeys.c,v 1.1.1.1 1993/06/18 04:22:12 jkh Exp $")
+libId(keysId, "$Id: rcskeys.c,v 1.2 1994/05/14 07:00:23 rgrimes Exp $")
char const *const Keyword[] = {
/* This must be in the same order as rcsbase.h's enum markers type. */
nil,
AUTHOR, DATE, HEADER, IDH,
- LOCKER, LOG, RCSFILE, REVISION, SOURCE, STATE, FREEBSD
+ LOCKER, LOG, RCSFILE, REVISION, SOURCE, STATE,
+ FREEBSD
};
@@ -79,7 +85,8 @@ char const *const Keyword[] = {
static int ExpandKeyword[] = {
nil,
true, true, true, true,
- true, true, true, true, true, true, true, true
+ true, true, true, true, true, true, true,
+ false
};
enum markers
OpenPOWER on IntegriCloud