From de2addd6e8691adbbb861f1ae5e7d3470e31fcca Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Sun, 15 May 1994 22:15:14 +0000 Subject: [PATCH] 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). --- gnu/usr.bin/rcs/lib/rcskeys.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/rcs/lib/rcskeys.c b/gnu/usr.bin/rcs/lib/rcskeys.c index e41363bddcf..b148dbb2abb 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