summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-10-08 09:27:42 +0200
committerAlexander Larsson <alexl@redhat.com>2013-10-08 09:31:05 +0200
commit77f98e82f552ea464545b2e584b7a3011ae55a65 (patch)
tree927eddd9d67a1e401642e980ec010c341bdcaab8 /daemon
parentfb56d6dd8699ae73c732fd30dd8bb2034105ecb8 (diff)
downloadgvfs-77f98e82f552ea464545b2e584b7a3011ae55a65.tar.gz
cdda: Allow seek past end of file
https://bugzilla.gnome.org/show_bug.cgi?id=709432
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackendcdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendcdda.c b/daemon/gvfsbackendcdda.c
index 03c76533..b22ea9cc 100644
--- a/daemon/gvfsbackendcdda.c
+++ b/daemon/gvfsbackendcdda.c
@@ -886,7 +886,7 @@ do_seek_on_read (GVfsBackend *backend,
break;
}
- if (new_offset < 0 || new_offset >= read_handle->size)
+ if (new_offset < 0)
{
g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR,
G_IO_ERROR_FAILED,