[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337291: --use-the-force-luke=4gms doesn't work as advertised



Package: dvd+rw-tools
Version: 5.21.4.10.8-2
Severity: normal

I've noticed that the --use-the-force-luke=4gms option of growisofs
doesn't work as intended. growisofs still complains that the 4GB
border has been crossed, even with the option.

The reason for this behaviour is an error in the if clause testing for
it. The following patch cures the problem:

--- growisofs.c~	2004-08-25 01:02:29.000000000 +0200
+++ growisofs.c	2005-10-27 23:13:17.000000000 +0200
@@ -1932,7 +1932,7 @@
 			exit(FATAL_START(EINVAL));
 		}
 		else if (next_session > (0x200000-0x5000)) /* 4GB/2K-40MB/2K */
-		    if ((mmc_profile&0xFFFF)!=0x2B || !no_4gb_check)
+		    if ((mmc_profile&0xFFFF)!=0x2B && !no_4gb_check)
 			fprintf (stderr,":-( next session would cross 4GB "
 					"boundary, aborting...\n"),
 			exit (FATAL_START(ENOSPC));

Roman



Reply to: