]> git.pld-linux.org Git - packages/cdrtools.git/blame - cdrtools-dvd-fix.patch
- up to 2.01.01a03; added dvd support
[packages/cdrtools.git] / cdrtools-dvd-fix.patch
CommitLineData
b2f9b8e5
AM
1--- cdrecord/cdrecord.c
2+++ cdrecord/cdrecord.c
3@@ -359,7 +359,7 @@
4 HOST_CPU, HOST_VENDOR, HOST_OS);
5 printf("Note: This version is an unofficial (modified) version with DVD support\n");
6 printf("Note: and therefore may have bugs that are not present in the original.\n");
7- printf("Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.\n");
8+ printf("Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla\n");
9 printf("Note: The author of cdrecord should not be bothered with problems in this version.\n");
10
11 #if defined(SOURCE_MODIFIED) || !defined(IS_SCHILY_XCONFIG)
12--- cdrecord/drv_mmc.c
13+++ cdrecord/drv_mmc.c
14@@ -1491,7 +1491,7 @@
15 dsp->ds_disktype&= ~DT_CD;
16 dsp->ds_disktype|= DT_DVD;
17
18- return (ret);
19+ return (0);
20
21 }
22
23@@ -2663,13 +2663,14 @@
24 The BIG timeout is needed in case there was a very short rzone to write at the
25 beginning of the disk, because lead-out needs to be at some distance.
26 */
27+ int ret;
28 scg_settimeout(scgp, 1000);
29 if(is_packet(trackp)){
30 scsi_close_tr_session(scgp, 2, 0, FALSE);
31 }
32- fixate_mmc(scgp, dp, trackp);
33+ ret = fixate_mmc(scgp, dp, trackp);
34 scg_settimeout(scgp, 200);
35-
36+ return ret;
37 }
38
39 char *blank_types[] = {
This page took 0.095859 seconds and 4 git commands to generate.