From 5ed2d1c73e4a0726647d6d01af80967476253b92 Mon Sep 17 00:00:00 2001 From: max10 Date: Mon, 16 Nov 2015 15:26:15 +0100 Subject: [PATCH] test c** --- libdvbci/dvbci_appmgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libdvbci/dvbci_appmgr.cpp b/libdvbci/dvbci_appmgr.cpp index 2d316fc..1fb2c1b 100644 --- a/libdvbci/dvbci_appmgr.cpp +++ b/libdvbci/dvbci_appmgr.cpp @@ -6,6 +6,9 @@ #include "dvbci_appmgr.h" +/* prevent possibly segfaults: read at end of this file */ +#define yy_debug 0 + static const char * FILENAME = "[dvbci_appmgr]"; eDVBCIApplicationManagerSession::eDVBCIApplicationManagerSession(tSlot *tslot) @@ -150,10 +153,13 @@ int eDVBCIApplicationManagerSession::checkBlist() { if (readBlist()) { +/* out commented: causes sometimes segfault when reboot....don't know why :( */ +#if yy_debug printf("Blacked sids: %d > ", slot->bsids.size()); for (unsigned int i = 0; i < slot->bsids.size(); i++) printf("%04x ", slot->bsids[i]); printf("\n"); +#endif } return 0; }