diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-27 17:39:41 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-27 17:39:41 +0000 |
commit | 41328c09e266d4a15f2fdccc2afd06dc3575e0e1 (patch) | |
tree | 456e89d703a735b9d4f6d71d381618c35d18b90e /usr.bin/cvs | |
parent | 1918837b14362d92d86e278e8f0a55913e7616e8 (diff) |
cvs_noexec check; ok jfbeers
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/entries.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c index df964fc8e76..28f4580bef5 100644 --- a/usr.bin/cvs/entries.c +++ b/usr.bin/cvs/entries.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entries.c,v 1.32 2005/05/26 22:25:31 jfb Exp $ */ +/* $OpenBSD: entries.c,v 1.33 2005/05/27 17:39:40 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -157,7 +157,7 @@ cvs_ent_close(CVSENTRIES *ep) { struct cvs_ent *ent; - if ((ep->cef_flags & CVS_ENTF_WR) && + if (!cvs_noexec && (ep->cef_flags & CVS_ENTF_WR) && !(ep->cef_flags & CVS_ENTF_SYNC)) { /* implicit sync with disk */ (void)cvs_ent_write(ep); |