summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-an
blob: 94d1462ed20f8a687a66e3e739207050053b76a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-an,v 1.4 2003/07/12 09:19:19 wiz Exp $

--- src/history.c.orig	Tue Mar  4 21:08:12 2003
+++ src/history.c
@@ -740,7 +740,7 @@ history_write (type, update_dir, revs, n
     if (trace)
 	fprintf (stderr, "%s-> fopen(%s,a)\n",
 		 CLIENT_SERVER_STR, fname);
-    if (noexec)
+    if (nolock)
 	goto out;
     fd = CVS_OPEN (fname, O_WRONLY | O_APPEND | OPEN_BINARY, 0666);
     if (fd < 0)