summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-09-29 20:51:36 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-09-29 20:51:36 +0000
commit2e897add4d59a3f115971c876332deeb2ca8c0be (patch)
treed5a873fdff677431bd310109c663a17df30a16e8 /usr.bin
parentb10d664578370fb1c03c149bb75eb4c55ff27791 (diff)
set RCS_SYNCED to off in some more functions which
change rcs file content. ok joris@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/rcs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 1d39bd35e82..2088c686eb2 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.69 2005/09/29 20:47:34 moritz Exp $ */
+/* $OpenBSD: rcs.c,v 1.70 2005/09/29 20:51:35 moritz Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -584,6 +584,7 @@ rcs_head_set(RCSFILE *file, const RCSNUM *rev)
if (rcsnum_cpy(rev, file->rf_head, 0) < 0)
return (-1);
+ file->rf_flags &= ~RCS_SYNCED;
return (0);
}
@@ -620,6 +621,7 @@ rcs_branch_set(RCSFILE *file, const RCSNUM *bnum)
return (-1);
}
+ file->rf_flags &= ~RCS_SYNCED;
return (0);
}
@@ -876,6 +878,7 @@ rcs_lock_setmode(RCSFILE *file, int mode)
return (-1);
}
+ file->rf_flags &= ~RCS_SYNCED;
return (pmode);
}