$NetBSD: patch-as,v 1.8 2005/04/19 12:39:18 wiz Exp $

--- src/tag.c.orig	2005-03-16 20:16:01.000000000 +0100
+++ src/tag.c
@@ -1301,7 +1301,7 @@ Numeric tag %s contains characters other
 	/* The tags is valid but not mentioned in val-tags.  Add it.  */
 	datum value;
 
-	if (noexec || nowrite)
+	if (noexec || nowrite || nolock)
 	{
 	    if (db != NULL)
 		dbm_close (db);
