$NetBSD: patch-an,v 1.3 2002/11/24 21:31:24 hubertf Exp $

--- src/history.c.orig	Thu May  3 21:35:16 2001
+++ src/history.c
@@ -731,7 +731,7 @@
     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 | O_CREAT | OPEN_BINARY, 0666);
     if (fd < 0)
