diff options
Diffstat (limited to 'gnu/usr.bin/rcs/lib/rcsedit.c')
-rw-r--r-- | gnu/usr.bin/rcs/lib/rcsedit.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/usr.bin/rcs/lib/rcsedit.c b/gnu/usr.bin/rcs/lib/rcsedit.c index 218a8751d16c..3d85320d63a7 100644 --- a/gnu/usr.bin/rcs/lib/rcsedit.c +++ b/gnu/usr.bin/rcs/lib/rcsedit.c @@ -36,6 +36,11 @@ Report problems and direct all questions to: /* $Log: rcsedit.c,v $ + * Revision 1.2 1994/05/14 07:00:22 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 * @@ -157,7 +162,7 @@ Report problems and direct all questions to: #include "rcsbase.h" -libId(editId, "$Id: rcsedit.c,v 1.1.1.1 1993/06/18 04:22:12 jkh Exp $") +libId(editId, "$Id: rcsedit.c,v 1.2 1994/05/14 07:00:22 rgrimes Exp $") static void keyreplace P((enum markers,struct hshentry const*,FILE*)); @@ -962,10 +967,14 @@ keyreplace(marker,delta,out) case Date: aputs(date2str(date,datebuf), out); break; + /* + * The FreeBSD keyword is identical to Id. + */ + case FreeBSD: case Id: case Header: aprintf(out, "%s %s %s %s %s", - marker==Id || RCSv<VERSION(4) + marker==Id || marker==FreeBSD || RCSv<VERSION(4) ? basename(RCSfilename) : getfullRCSname(), delta->num, |