/[graveman]/graveman/current/src/cdrecord.c
ViewVC logotype

Diff of /graveman/current/src/cdrecord.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by scresto, Sat Feb 12 23:15:46 2005 UTC revision 1.17 by scresto, Tue Feb 15 22:44:44 2005 UTC
# Line 66  Line 66 
66    
67  /* definition de tous les type de bus */  /* definition de tous les type de bus */
68  Tsearchdrive listesearchdrives[] = {  Tsearchdrive listesearchdrives[] = {
69      { "", "", "SCSI", 100 }, /* scsi (sg) */  #if LINUX_IDE /* pure ide devices with linux */
70  #ifdef LINUX_IDE  /* pure ide devices with linux */      { "dev=/dev/hda", "/dev/hda", "IDE", 100 },
71      { "dev=/dev/hda", "/dev/hda", "IDE", 40 },      { "dev=/dev/hdb", "/dev/hdb", "IDE", 100 },
72      { "dev=/dev/hdb", "/dev/hdb", "IDE", 40 },      { "dev=/dev/hdc", "/dev/hdc", "IDE", 100 },
73      { "dev=/dev/hdc", "/dev/hdc", "IDE", 40},      { "dev=/dev/hdd", "/dev/hdd", "IDE", 100 },
     { "dev=/dev/hdd", "/dev/hdd", "IDE", 40 },  
74  #endif  #endif
75      { "dev=ATA:", "ATA:", "ATA", 80 }, /* ide sg */      { "", "", "SCSI", 80 }, /* scsi (sg) */
76      { "dev=ATAPI:", "ATAPI:", "ATAPI", 60 }, /* ide */      { "dev=ATA:", "ATA:", "ATA", 60 }, /* ide sg */
77        { "dev=ATAPI:", "ATAPI:", "ATAPI", 40 }, /* ide */
78      { NULL, NULL, NULL, 0}      { NULL, NULL, NULL, 0}
79    };    };
80    
# Line 438  gboolean burn_from_image(gchar *Aop, GHa Line 438  gboolean burn_from_image(gchar *Aop, GHa
438      while (*Lcont > 0 && *Labort == FALSE) {      while (*Lcont > 0 && *Labort == FALSE) {
439        gtk_main_iteration();            gtk_main_iteration();    
440      }      }
441      exit_prog(*Lpid, Aerror, NULL);      exit_prog(*Lpid, *Labort, Aerror, NULL);
442    
443      g_source_remove(Lcomevent);      g_source_remove(Lcomevent);
444      g_source_remove(Lcomerrevent);      g_source_remove(Lcomerrevent);
# Line 817  _DEB("execution [%s]\n", Lcommandline); Line 817  _DEB("execution [%s]\n", Lcommandline);
817      while (*Lcont>0 && *Labort == FALSE) {      while (*Lcont>0 && *Labort == FALSE) {
818        gtk_main_iteration();        gtk_main_iteration();
819      }      }
820      exit_prog(*Lpid, Aerror, NULL);      exit_prog(*Lpid, *Labort, Aerror, NULL);
821    
822      g_source_remove(Lcomerrevent);      g_source_remove(Lcomerrevent);
823      g_source_remove(Lcomevent);      g_source_remove(Lcomevent);
# Line 976  _DEB("cont vaut => %d\n", *Lcont); Line 976  _DEB("cont vaut => %d\n", *Lcont);
976  _DEB("fin !!!\n");  _DEB("fin !!!\n");
977    while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); }    while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); }
978    
979    exit_prog(*Lpid, Aerror, NULL);    exit_prog(*Lpid, FALSE, Aerror, NULL);
980    
981    g_source_remove(Lcomerrevent);    g_source_remove(Lcomerrevent);
982    g_source_remove(Lcomevent);    g_source_remove(Lcomevent);
# Line 1045  _DEB("cont vaut => %d\n", *Lcont); Line 1045  _DEB("cont vaut => %d\n", *Lcont);
1045  _DEB("fin !!!\n");  _DEB("fin !!!\n");
1046    while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); }    while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); }
1047    
1048    exit_prog(*Lpid, Aerror, NULL);    exit_prog(*Lpid, FALSE, Aerror, NULL);
1049    
1050    g_source_remove(Lcomerrevent);    g_source_remove(Lcomerrevent);
1051    g_source_remove(Lcomevent);    g_source_remove(Lcomevent);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26