$NetBSD: patch-as,v 1.6 2004/04/15 22:28:36 wiz Exp $

--- src/tag.c.orig	Tue Apr  6 20:37:10 2004
+++ src/tag.c
@@ -1290,7 +1290,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);
