git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/dvb/sec.cpp: remove not needed satpos depends check when the tuner is linked...
[enigma2.git]
/
lib
/
base
/
rawfile.cpp
diff --git
a/lib/base/rawfile.cpp
b/lib/base/rawfile.cpp
index e444ba90c7613a36264ea8dbf2445ae23bb222a5..c7e11feb308632d876b706105361ac3d81fd3081 100644
(file)
--- a/
lib/base/rawfile.cpp
+++ b/
lib/base/rawfile.cpp
@@
-1,3
+1,4
@@
+#include <cstdio>
#include <unistd.h>
#include <fcntl.h>
#include <lib/base/rawfile.h>
#include <unistd.h>
#include <fcntl.h>
#include <lib/base/rawfile.h>
@@
-226,3
+227,8
@@
int eRawFile::openFileUncached(int nr)
}
return ::open(filename.c_str(), O_RDONLY | O_LARGEFILE);
}
}
return ::open(filename.c_str(), O_RDONLY | O_LARGEFILE);
}
+
+off_t eRawFile::length()
+{
+ return m_totallength;
+}