Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k Initialize "hasdebug" default deterministically.
details: https://anonhg.NetBSD.org/src/rev/af02a9d97580
branches: trunk
changeset: 755015:af02a9d97580
user: pooka <pooka%NetBSD.org@localhost>
date: Thu May 20 00:13:02 2010 +0000
description:
Initialize "hasdebug" default deterministically.
diffstat:
lib/libp2k/p2k.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 0f8603dd72e1 -r af02a9d97580 lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Wed May 19 22:14:20 2010 +0000
+++ b/lib/libp2k/p2k.c Thu May 20 00:13:02 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index