diff options
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/rcs.c | 8 | ||||
-rw-r--r-- | usr.bin/cvs/rcs.h | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 893836cc517..3cccf2b0d01 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.120 2005/12/30 16:48:33 niallo Exp $ */ +/* $OpenBSD: rcs.c,v 1.121 2005/12/30 16:53:55 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -339,7 +339,6 @@ rcs_open(const char *path, int flags, ...) memset(rfp, 0, sizeof(*rfp)); rfp->rf_path = xstrdup(path); - rfp->rf_ref = 1; rfp->rf_flags = flags | RCS_SLOCK; rfp->rf_mode = fmode; @@ -380,11 +379,6 @@ rcs_close(RCSFILE *rfp) struct rcs_lock *rlp; struct rcs_sym *rsp; - if (rfp->rf_ref > 1) { - rfp->rf_ref--; - return; - } - if ((rfp->rf_flags & RCS_WRITE) && !(rfp->rf_flags & RCS_SYNCED)) rcs_write(rfp); diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index 550edd7d606..743f7639bce 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.43 2005/12/27 16:05:21 niallo Exp $ */ +/* $OpenBSD: rcs.h,v 1.44 2005/12/30 16:53:55 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -173,7 +173,6 @@ struct rcs_delta { typedef struct rcs_file { char *rf_path; - u_int rf_ref; mode_t rf_mode; u_int rf_flags; |