From: Andreas Oberritter Date: Fri, 25 Mar 2011 15:34:11 +0000 (+0100) Subject: db: remove recursive loading of bouquets X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/73c456d053fec157ed8a8b70a5efa7b622b58af4 db: remove recursive loading of bouquets --- 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");