summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/root.c')
-rw-r--r--usr.bin/cvs/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/root.c b/usr.bin/cvs/root.c
index 4574450df49..7ca1b460f05 100644
--- a/usr.bin/cvs/root.c
+++ b/usr.bin/cvs/root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: root.c,v 1.23 2005/08/10 14:49:20 xsa Exp $ */
+/* $OpenBSD: root.c,v 1.24 2005/08/10 16:01:27 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -162,6 +162,7 @@ cvsroot_parse(const char *str)
if (root->cr_method == CVS_METHOD_NONE)
root->cr_method = CVS_METHOD_LOCAL;
/* stop here, it's just a path */
+ TAILQ_INSERT_HEAD(&cvs_rcache, root, root_cache);
return (root);
}