summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2006-06-02 18:04:34 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2006-06-02 18:04:34 +0000
commit6f0ad7d059076e870382e8575ef316be7d03a94a (patch)
treea2966e089199cd966b806316315e3a738d0aa588 /usr.bin/rcs
parent29aafd36a85aab4486c00a632240ea99501c9b03 (diff)
- at end of checkin_main loop, reset pb.newrev. fixes a problem with checkin
of multiple files. reported by fgsch@ ok joris@
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/ci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index df948b94b1d..a771d564ece 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.177 2006/05/29 21:17:44 ray Exp $ */
+/* $OpenBSD: ci.c,v 1.178 2006/06/02 18:04:33 niallo Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -300,6 +300,7 @@ checkin_main(int argc, char **argv)
pb.flags &= ~NEWFILE;
rcs_close(pb.file);
+ pb.newrev = NULL;
}
if (!(pb.flags & QUIET) && status == 0)