diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-26 21:48:18 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-26 21:48:18 +0000 |
commit | 1dc1e685e35f59cc0cd89a24510839b45f0150da (patch) | |
tree | 8c789f604084d7b0d74c6528814f7f7877d7baa4 /usr.bin/cvs/rcs.c | |
parent | 5fe1d95edff25df017aaf72fcf4bfc72a3936053 (diff) |
- support [-k mode] for the add command
- do not let the file keyword expension options (-k) disappear
from the Entries file when doing a commit/update/checkout
- be sure the expension mode gets written to the RCS file when a file
is added/committed in the first place
problems raised by otto@; tests/ok otto@ and joris@.
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 2de6a08c313..28f633bd73b 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.204 2007/01/26 11:19:44 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.205 2007/01/26 21:48:17 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -1466,6 +1466,7 @@ rcs_kflag_get(const char *flags) } else if (*fp == 'b') { if (len != 1) fl |= RCS_KWEXP_ERR; + fl |= RCS_KWEXP_NONE; } else /* unknown letter */ fl |= RCS_KWEXP_ERR; } |