Your message dated Sun, 02 Mar 2008 18:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#419670: fixed in dvdbackup 0.1.1-11
has caused the Debian Bug report #419670,
regarding dvdbackup: Handle short reads from DVDReadBlocks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
419670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419670
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dvdbackup
Version: 0.1.1-10
Severity: normal

When using dvdbackup to backup a double layer DVD I got the other day I
found that DVDReadBlocks would sometimes return fewer blocks than
requested but would otherwise work fine.  I have a patch that handles
this situation and it backed up my dvd fine after applying the patch.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-3-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dvdbackup depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdvdread3                 0.9.7-3      library for reading DVDs

dvdbackup recommends no packages.

-- no debconf information
Only in dvdbackup-0.1.1.ckr/: build-stamp
Only in dvdbackup-0.1.1.ckr/debian: dvdbackup
Only in dvdbackup-0.1.1.ckr/debian: dvdbackup-dbg
Only in dvdbackup-0.1.1.ckr/debian: dvdbackup.substvars
Only in dvdbackup-0.1.1.ckr/debian: files
Only in dvdbackup-0.1.1.ckr/src: dvdbackup
diff -u -r dvdbackup-0.1.1/src/dvdbackup.c dvdbackup-0.1.1.ckr/src/dvdbackup.c
--- dvdbackup-0.1.1/src/dvdbackup.c	2007-04-17 06:01:28.000000000 -0400
+++ dvdbackup-0.1.1.ckr/src/dvdbackup.c	2007-04-15 07:37:39.800282257 -0400
@@ -328,7 +328,7 @@
 	/* Buffer size in DVD sectors */
 	/* Currently set to 1MB */
 	int buff = 512;
-
+	int rbuff;
 
 	/* Offsets */
 	int soffset;
@@ -422,15 +422,19 @@
 		if (buff > left) {
 			buff = left;
 		}
-		if ( DVDReadBlocks(dvd_file,soffset,buff, buffer) != buff) {
-			fprintf(stderr, "Error reading MENU VOB\n");
+		
+		if ((rbuff = DVDReadBlocks(dvd_file,soffset,buff, buffer)) < 0) {
+			fprintf(stderr, "Error reading MENU VOB %d != %d\n", rbuff, buff);
 			free(buffer);
 			DVDCloseFile(dvd_file);
 			close(streamout);
 			return(1);
 		}
+		if (rbuff < buff) {
+			fprintf(stderr, "DVDReadBlocks read %d blocks of %d blocks\n", rbuff, buff);
+		}
 
-		if (write(streamout,buffer,buff *  2048) != buff * 2048) {
+		if (write(streamout,buffer,rbuff *  2048) != rbuff * 2048) {
 			fprintf(stderr, "Error writing TITLE VOB\n");
 			free(buffer);
 			close(streamout);
@@ -440,8 +444,8 @@
 		fprintf(stderr,"Current soffset changed from %i to ",soffset);
 #endif
 		soffset = soffset + buff;
-		left = left - buff;
-		size = size + buff;
+		left = left - rbuff;
+		size = size + rbuff;
 		if ((size >= vobsize) && (left > 0)) {
 #ifdef DEBUG
 		    fprintf(stderr,"size: %i, vobsize: %i\n ",size, vobsize);

--- End Message ---
--- Begin Message ---
Source: dvdbackup
Source-Version: 0.1.1-11

We believe that the bug you reported is fixed in the latest version of
dvdbackup, which is due to be installed in the Debian FTP archive:

dvdbackup-dbg_0.1.1-11_i386.deb
  to pool/main/d/dvdbackup/dvdbackup-dbg_0.1.1-11_i386.deb
dvdbackup_0.1.1-11.diff.gz
  to pool/main/d/dvdbackup/dvdbackup_0.1.1-11.diff.gz
dvdbackup_0.1.1-11.dsc
  to pool/main/d/dvdbackup/dvdbackup_0.1.1-11.dsc
dvdbackup_0.1.1-11_i386.deb
  to pool/main/d/dvdbackup/dvdbackup_0.1.1-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <[EMAIL PROTECTED]> (supplier of updated dvdbackup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 02 Mar 2008 17:44:38 +0000
Source: dvdbackup
Binary: dvdbackup dvdbackup-dbg
Architecture: source i386
Version: 0.1.1-11
Distribution: unstable
Urgency: low
Maintainer: Stephen Gran <[EMAIL PROTECTED]>
Changed-By: Stephen Gran <[EMAIL PROTECTED]>
Description: 
 dvdbackup  - tool to rip DVD's from the command line
 dvdbackup-dbg - debug files for dvdbackup
Closes: 415770 419670 463179 467075
Changes: 
 dvdbackup (0.1.1-11) unstable; urgency=low
 .
   * dvdbackup-dbg Depends on dvdbackup (closes: #463179)
   * s/mkisofs/genisoimage/g (closes: #415770)
   * Handle short reads from DVDReadBlocks (closes: #419670)
   * Handle broken ifo/bup files (closes: #467075)
   * Modify Build-Depends to not use the -1 revision
   * Update Standards Version (no changes)
Files: 
 dc6881915d8af1f8e7c8885ec2a0fce5 609 utils optional dvdbackup_0.1.1-11.dsc
 39f24c3494ef6f7ef9c2fb6ef4abd799 15479 utils optional 
dvdbackup_0.1.1-11.diff.gz
 b4bd8efeb40f428b8de0609047e58b75 20408 utils optional 
dvdbackup_0.1.1-11_i386.deb
 053ba2b0d41c1cab8019156ffb9135a4 23870 utils extra 
dvdbackup-dbg_0.1.1-11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyueySYIMHOpZA44RAmZ9AKDX0hE9d6k7/YiGv/MMfJTR13Hd3ACgrQP8
QCmoNaBREs8Yz3z5B0CMmp0=
=5Xjb
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to