brasero r946 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r946 - in trunk: . src
- Date: Wed, 2 Jul 2008 14:39:24 +0000 (UTC)
Author: philippr
Date: Wed Jul 2 14:39:24 2008
New Revision: 946
URL: http://svn.gnome.org/viewvc/brasero?rev=946&view=rev
Log:
Fix #506338 â Import Session fails on DVD+R that contains multiple sessions
use fseeko instead of fseek that can\'t break the 2Gio barrier
* src/burn-volume-source.c (brasero_volume_source_seek_fd):
Modified:
trunk/ChangeLog
trunk/src/burn-volume-source.c
Modified: trunk/src/burn-volume-source.c
==============================================================================
--- trunk/src/burn-volume-source.c (original)
+++ trunk/src/burn-volume-source.c Wed Jul 2 14:39:24 2008
@@ -56,8 +56,12 @@
int whence,
GError **error)
{
- if (fseek (src->data, block * ISO9660_BLOCK_SIZE, whence) == -1) {
- BRASERO_BURN_LOG ("fseek () failed at block %lli (%s)", block, strerror (errno));
+
+ if (fseeko (src->data, (guint64) (block * ISO9660_BLOCK_SIZE), whence) == -1) {
+ BRASERO_BURN_LOG ("fseeko () failed at block %i (= %lli bytes) (%s)",
+ block,
+ (guint64) (block * ISO9660_BLOCK_SIZE),
+ strerror (errno));
g_set_error (error,
BRASERO_BURN_ERROR,
BRASERO_BURN_ERROR_GENERAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]