Module Name:    src
Committed By:   pooka
Date:           Thu May 20 00:13:02 UTC 2010

Modified Files:
        src/lib/libp2k: p2k.c

Log Message:
Initialize "hasdebug" default deterministically.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/libp2k/p2k.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libp2k/p2k.c
diff -u src/lib/libp2k/p2k.c:1.36 src/lib/libp2k/p2k.c:1.37
--- src/lib/libp2k/p2k.c:1.36	Sat May  1 14:44:48 2010
+++ src/lib/libp2k/p2k.c	Thu May 20 00:13:02 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: p2k.c,v 1.36 2010/05/01 14:44:48 pooka Exp $	*/
+/*	$NetBSD: p2k.c,v 1.37 2010/05/20 00:13:02 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007, 2008, 2009  Antti Kantee.  All Rights Reserved.
@@ -314,6 +314,8 @@
 	PUFFSOP_SET(pops, p2k, node, abortop);
 
 	dodaemon = true;
+	hasdebug = false;
+
 	if (getenv("P2K_DEBUG") != NULL) {
 		puffs_flags |= PUFFS_FLAG_OPDUMP;
 		dodaemon = false;

Reply via email to