summaryrefslogtreecommitdiff
path: root/patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base
diff options
context:
space:
mode:
authorLars Heer <l.heer@gmx.de>2013-09-18 05:59:02 +0200
committerLars Heer <l.heer@gmx.de>2013-09-18 05:59:02 +0200
commit4d09442efcd8c158999685831720919a705f3d98 (patch)
tree5a164f4441f56ab0df1d0ad24a97701e3b29dd3d /patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base
parent079f1dc39df7faabf0d1a846b4df0525b9491a87 (diff)
downloadvdr-plugin-mcli-4d09442efcd8c158999685831720919a705f3d98.tar.gz
vdr-plugin-mcli-4d09442efcd8c158999685831720919a705f3d98.tar.bz2
removed obsolete .svn directories
Diffstat (limited to 'patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base')
-rw-r--r--patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base38
1 files changed, 0 insertions, 38 deletions
diff --git a/patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base b/patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base
deleted file mode 100644
index 3d1bea4..0000000
--- a/patches/.svn/text-base/vdr-1.6-section-read-abstraction.patch.svn-base
+++ /dev/null
@@ -1,38 +0,0 @@
---- ../vdr-1.6.0/device.c 2009-01-26 20:26:49.000000000 +0100
-+++ device.c 2009-01-26 23:12:59.000000000 +0100
-@@ -674,6 +680,11 @@
- return -1;
- }
-
-+int cDevice::ReadFilter(int Handle, void *Buffer, size_t Length)
-+{
-+ return safe_read(Handle, Buffer, Length);
-+}
-+
- void cDevice::CloseFilter(int Handle)
- {
- close(Handle);
---- ../vdr-1.6.0/device.h 2009-01-26 20:26:49.000000000 +0100
-+++ device.h 2009-01-26 23:12:41.000000000 +0100
-@@ -317,6 +317,10 @@
- ///< Opens a file handle for the given filter data.
- ///< A derived device that provides section data must
- ///< implement this function.
-+ virtual int ReadFilter(int Handle, void *Buffer, size_t Length);
-+ ///< Read from a handle for the given filter data.
-+ ///< a derived class need not implement this function, because this
-+ ///< is done by the default implementation.
- virtual void CloseFilter(int Handle);
- ///< Closes a file handle that has previously been opened
- ///< by OpenFilter(). If this is as simple as calling close(Handle),
---- ../vdr-1.6.0/sections.c 2007-10-14 14:52:07.000000000 +0200
-+++ sections.c 2009-01-26 23:14:00.000000000 +0100
-@@ -198,7 +198,7 @@
- if (fh) {
- // Read section data:
- unsigned char buf[4096]; // max. allowed size for any EIT section
-- int r = safe_read(fh->handle, buf, sizeof(buf));
-+ int r = device->ReadFilter(fh->handle, buf, sizeof(buf));
- if (!DeviceHasLock)
- continue; // we do the read anyway, to flush any data that might have come from a different transponder
- if (r > 3) { // minimum number of bytes necessary to get section length