summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-12-27 16:05:22 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-12-27 16:05:22 +0000
commite4827a10efc4c9779a532fdab3cfaf618c7f2ede (patch)
treefb4a252bc55e3fed10238a3f3bf32177af24e6b6 /usr.bin/rcs/ci.c
parent610ad560277906f254eb396c4bf343b9b4eaca33 (diff)
- implement lazy-parsing of rcs files, that is only parse as much as we
need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 03acfbfaef1..45316432033 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.89 2005/12/23 00:59:55 joris Exp $ */
+/* $OpenBSD: ci.c,v 1.90 2005/12/27 16:05:21 niallo Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -107,7 +107,7 @@ checkin_main(int argc, char **argv)
pb.fmode = pb.flags = status = 0;
pb.flags = INTERACTIVE;
- pb.openflags = RCS_RDWR|RCS_CREATE;
+ pb.openflags = RCS_RDWR|RCS_CREATE|RCS_PARSE_FULLY;
while ((ch = rcs_getopt(argc, argv, CI_OPTSTRING)) != -1) {
switch (ch) {