summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-an
blob: 8f386dbee8d439fec52bce592c9a1fe252b5497d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-an,v 1.5 2003/12/12 22:05:56 wiz Exp $

--- src/history.c.orig	Wed Oct  8 22:13:47 2003
+++ src/history.c
@@ -746,7 +746,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)