From 73c456d053fec157ed8a8b70a5efa7b622b58af4 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Fri, 25 Mar 2011 16:34:11 +0100 Subject: [PATCH] db: remove recursive loading of bouquets --- lib/dvb/db.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index ccaecd4f..47b5427e 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -618,14 +618,7 @@ void eDVBDB::loadBouquet(const char *path) int entries=0; if (!fp) { - struct stat s; - if ( !stat(path, &s) ) - { - rename(path, p.c_str() ); - loadBouquet(path); - return; - } - eDebug("failed to open."); + eDebug("can't open %s: %m", p.c_str()); if ( strstr(path, "bouquets.tv") ) { eDebug("recreate bouquets.tv"); -- 2.30.2