$NetBSD: patch-an,v 1.2 2000/10/18 03:31:16 hubertf Exp $

--- src/history.c.orig	Wed May  3 00:13:25 2000
+++ src/history.c
@@ -730,7 +730,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)
