summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-05-30 19:16:52 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-05-30 19:16:52 +0000
commitf58045fbd8e6599859a773544d3d00818b930c9f (patch)
tree70989aab731ae42ece7c4d03128148e0aabf94ad /usr.bin/cvs/rcs.c
parent0ccc8d426b5f68c508dbaf7023366bb3a4dee5f0 (diff)
look inside the Attic if a specified RCS file cannot be found
in the normal repository, and a way to identify an RCS file in the Attic in the RCSFILE struct. will come in handy later on.
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 39663f425b0..7b27255a8a1 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.176 2006/05/29 07:15:52 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.177 2006/05/30 19:16:51 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -265,6 +265,7 @@ rcs_open(const char *path, int fd, int flags, ...)
rfp->rf_mode = fmode;
rfp->fd = fd;
rfp->rf_dead = 0;
+ rfp->rf_inattic = 0;
TAILQ_INIT(&(rfp->rf_delta));
TAILQ_INIT(&(rfp->rf_access));