Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+16 -2
View File
@@ -1,6 +1,9 @@
$NetBSD: patch-src_KeyClient.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
$NetBSD: patch-src_KeyClient.cpp,v 1.2 2015/11/17 15:59:13 he Exp $
--- src/KeyClient.cpp.orig 2011-11-25 17:00:02.000000000 +0000
Include strings.h too.
Initialize all pointers.
--- src/KeyClient.cpp.orig 2008-12-22 01:52:35.000000000 +0000
+++ src/KeyClient.cpp
@@ -46,6 +46,7 @@ extern "C" {
@@ -10,3 +13,14 @@ $NetBSD: patch-src_KeyClient.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
}
@@ -104,6 +105,10 @@ KeyClient::KeyClient (int argc, char **a
_netclient = new Netclient(this->display());
_active = _clients.end();
+ // Initialize uninitialized pointers to NULL
+ _keybindings = NULL;
+ config_check_timer = NULL;
+
initialize();
}