diff options
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index b54157d744d..6ecc1608047 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.180 2006/06/01 20:00:52 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.181 2006/06/04 09:52:56 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -375,6 +375,9 @@ rcs_write(RCSFILE *rfp) if (rfp->rf_flags & RCS_SYNCED) return; + if (cvs_noexec == 1) + return; + /* Write operations need the whole file parsed */ rcs_parse_deltatexts(rfp, NULL); |