git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45ad93
)
db: remove recursive loading of bouquets
author
Andreas Oberritter
<obi@opendreambox.org>
Fri, 25 Mar 2011 15:34:11 +0000
(16:34 +0100)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 29 Mar 2011 13:43:58 +0000
(15:43 +0200)
lib/dvb/db.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/db.cpp
b/lib/dvb/db.cpp
index ccaecd4f682798d62fc9315d0f923934aa863d3c..47b5427eca1c65933d68845c499c0323d82ea059 100644
(file)
--- 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");