summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsdiff.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-11-25 15:56:11 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-11-25 15:56:11 +0000
commit56f4bbe55b84b877d191977388f2b3eb67840892 (patch)
treebbc459664542dc63d78ff7fddbef5b7ec8124aed /usr.bin/rcs/rcsdiff.c
parent2a136c19e9d0676d2e49a70c8de917a953b8485f (diff)
add support for `-kmode';
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r--usr.bin/rcs/rcsdiff.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c
index 8604e937d43..55290b4e9cd 100644
--- a/usr.bin/rcs/rcsdiff.c
+++ b/usr.bin/rcs/rcsdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsdiff.c,v 1.19 2005/11/23 09:39:20 xsa Exp $ */
+/* $OpenBSD: rcsdiff.c,v 1.20 2005/11/25 15:56:10 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -127,6 +127,9 @@ rcsdiff_main(int argc, char **argv)
if ((file = rcs_open(fpath, RCS_READ)) == NULL)
continue;
+ if (kflag != RCS_KWEXP_ERR)
+ rcs_kwexp_set(file, kflag);
+
if (rev == RCS_HEAD_REV)
frev = file->rf_head;
else