summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2008-02-04 15:07:32 +0000
committertobias <tobias@openbsd.org>2008-02-04 15:07:32 +0000
commit37fdff3fa60fdd1baf6bc6082eee5bd7ac3b858c (patch)
tree350e7b1ef9932579794369472f743922e60b92d2 /usr.bin/cvs/commit.c
parentspecify that MakeWhatis and pkg-config fall outside the scope of this document (diff)
downloadwireguard-openbsd-37fdff3fa60fdd1baf6bc6082eee5bd7ac3b858c.tar.xz
wireguard-openbsd-37fdff3fa60fdd1baf6bc6082eee5bd7ac3b858c.zip
Added -k flag support for all commands which support it.
OK joris@
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c
index 5156eb32700..bbc302e1797 100644
--- a/usr.bin/cvs/commit.c
+++ b/usr.bin/cvs/commit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commit.c,v 1.125 2008/01/31 22:11:38 joris Exp $ */
+/* $OpenBSD: commit.c,v 1.126 2008/02/04 15:07:33 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -456,10 +456,10 @@ cvs_commit_local(struct cvs_file *cf)
}
if (cf->file_status == FILE_ADDED && cf->file_ent->ce_opts != NULL) {
- int kflag;
+ int cf_kflag;
- kflag = rcs_kflag_get(cf->file_ent->ce_opts + 2);
- rcs_kwexp_set(cf->file_rcs, kflag);
+ cf_kflag = rcs_kflag_get(cf->file_ent->ce_opts + 2);
+ rcs_kwexp_set(cf->file_rcs, cf_kflag);
}
rcs_write(cf->file_rcs);