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:
06c7181
)
- disable persistent epgcache in order to avoid tuxbox-libmd5sum
author
Felix Domke
<tmbinc@elitedvb.net>
Fri, 22 Jul 2005 21:28:47 +0000
(21:28 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Fri, 22 Jul 2005 21:28:47 +0000
(21:28 +0000)
lib/dvb/epgcache.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/epgcache.cpp
b/lib/dvb/epgcache.cpp
index 13647f83f67bf2887e2aa898cfaaedd7024addcd..bc85717639c31ab3db7cf7fdb8bed168135f27a5 100644
(file)
--- a/
lib/dvb/epgcache.cpp
+++ b/
lib/dvb/epgcache.cpp
@@
-6,7
+6,7
@@
#include <time.h>
#include <unistd.h> // for usleep
#include <sys/vfs.h> // for statfs
#include <time.h>
#include <unistd.h> // for usleep
#include <sys/vfs.h> // for statfs
-#include <libmd5sum.h>
+
//
#include <libmd5sum.h>
#include <lib/base/eerror.h>
int eventData::CacheSize=0;
#include <lib/base/eerror.h>
int eventData::CacheSize=0;
@@
-573,6
+573,7
@@
void eEPGCache::thread()
void eEPGCache::load()
{
void eEPGCache::load()
{
+#if 0
FILE *f = fopen("/hdd/epg.dat", "r");
if (f)
{
FILE *f = fopen("/hdd/epg.dat", "r");
if (f)
{
@@
-622,10
+623,12
@@
void eEPGCache::load()
}
fclose(f);
}
}
fclose(f);
}
+#endif
}
void eEPGCache::save()
{
}
void eEPGCache::save()
{
+#if 0
struct statfs s;
off64_t tmp;
if (statfs("/hdd", &s)<0)
struct statfs s;
off64_t tmp;
if (statfs("/hdd", &s)<0)
@@
-680,6
+683,7
@@
void eEPGCache::save()
}
}
}
}
}
}
+#endif
}
RESULT eEPGCache::getInstance(ePtr<eEPGCache> &ptr)
}
RESULT eEPGCache::getInstance(ePtr<eEPGCache> &ptr)