From 56f4bbe55b84b877d191977388f2b3eb67840892 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 25 Nov 2005 15:56:11 +0000 Subject: add support for `-kmode'; --- usr.bin/rcs/rcsdiff.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/rcs/rcsdiff.c') 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 * 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 -- cgit v1.2.3