summarylogtreecommitdiffstats
path: root/secretsauce.patch
blob: c673975914f57028e8b1424a623bed743e717f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
diff -Naur dvdisaster-0.72.6/scsi-layer.c dvdisaster-0.72.6.new/scsi-layer.c
--- dvdisaster-0.72.6/scsi-layer.c	2014-05-28 21:09:00.000000000 +0200
+++ dvdisaster-0.72.6.new/scsi-layer.c	2015-04-12 17:20:02.484953943 +0200
@@ -2596,7 +2596,7 @@
    }
      
    Verbose("# query_type() returned.\n");
-
+   /*
    if(dh->subType == UNSUPPORTED)
    {  char *td = alloca(strlen(dh->typeDescr)+1);
 
@@ -2605,7 +2605,7 @@
       Stop(_("This software does not support \"%s\" type media."), td);
       return NULL;
    }
-
+   */
    if(dh->sessions>1)
    {  int sessions = dh->sessions;
 
@@ -2685,6 +2685,7 @@
       }
 
       default:
+      ;/*
       {  char *td = alloca(strlen(dh->typeDescr)+1);
 
  	 strcpy(td, dh->typeDescr);
@@ -2692,13 +2693,14 @@
        	 Stop(_("This software does not support \"%s\" type media."), td);
        	 return NULL;
       }
+      */
    }
-
+   /*
    if(dh->mainType == DVD && query_copyright(dh))
    {  CloseDevice(dh);
       Stop(_("This software does not support encrypted media.\n"));
    }
-
+   */
    /* Create the bitmap of simulated defects */
 
    if(Closure->simulateDefects)