diff options
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 5 |
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 |