aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-20 13:24:19 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-20 13:24:19 +0000
commitbac62ae64bc2b0cba82a26daec4b3623cae3a859 (patch)
tree4d817ce05176d5a88d5f61908afff687aecd6d5b /lib
parent85c8a035708ee3a3ab8b95eab3dfc4bff93a8fc4 (diff)
downloadenigma2-bac62ae64bc2b0cba82a26daec4b3623cae3a859.tar.gz
enigma2-bac62ae64bc2b0cba82a26daec4b3623cae3a859.zip
needed for files > 2GB
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb/dvb.cpp2
-rw-r--r--lib/service/servicedvbrecord.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp
index 7e937e6f..c310d49d 100644
--- a/lib/dvb/dvb.cpp
+++ b/lib/dvb/dvb.cpp
@@ -680,7 +680,7 @@ RESULT eDVBChannel::playFile(const char *file)
return -ENODEV;
}
- m_pvr_fd_src = open(file, O_RDONLY);
+ m_pvr_fd_src = open(file, O_RDONLY|O_LARGEFILE);
if (m_pvr_fd_src < 0)
{
eDebug("can't open PVR m_pvr_fd_src file %s (%m)", file);
diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp
index 454c2be1..cfcfe8b4 100644
--- a/lib/service/servicedvbrecord.cpp
+++ b/lib/service/servicedvbrecord.cpp
@@ -24,7 +24,7 @@ void eDVBServiceRecord::serviceEvent(int event)
{
eDebug("Recording to %s...", m_filename.c_str());
::remove(m_filename.c_str());
- int fd = ::open(m_filename.c_str(), O_WRONLY|O_CREAT, 0644);
+ int fd = ::open(m_filename.c_str(), O_WRONLY|O_CREAT|O_LARGEFILE, 0644);
if (fd == -1)
{
eDebug("eDVBServiceRecord - can't open hardcoded recording file!");