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

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

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

revision 1.10 by scresto, Tue Mar 29 00:10:26 2005 UTC revision 1.11 by scresto, Thu Mar 31 22:14:12 2005 UTC
# Line 115  _DEB("===>%s", Lbuffer); Line 115  _DEB("===>%s", Lbuffer);
115       /* copie en cours */       /* copie en cours */
116    
117      if (strstr(f, CDRDAO_BLOCKS)) {      if (strstr(f, CDRDAO_BLOCKS)) {
118        /* fin de l'operation */        /* fin de l'operation */      
119        gtk_label_set_text(Ltitle, _("Finishing operation..."));        gtk_label_set_text(Ltitle, _("Finishing operation..."));
120      } else {      } else {
 //      gchar *Lde = NULL, *La = NULL;  
121        gdouble Lgbuf = 0, Lfifo = 0;        gdouble Lgbuf = 0, Lfifo = 0;
122        gdouble Lde = 0, La = 0;        gdouble Lde = 0, La = 0;
123        gboolean Lok = FALSE;        gboolean Lok = FALSE;
# Line 482  gint get_cdinfo(Tgrave *Ag, Tdriveinfo * Line 481  gint get_cdinfo(Tgrave *Ag, Tdriveinfo *
481    gint Lloccont = 2;    gint Lloccont = 2;
482    gint *Lpid = (gint *)sc_grave_get_data(Ag, "pid");    gint *Lpid = (gint *)sc_grave_get_data(Ag, "pid");
483    GString *Loutput;    GString *Loutput;
484      gchar *Lcdprg = conf_get_string("cdrdao");
485    
486    g_snprintf(Lcommandline, sizeof(Lcommandline)-1, "%s disk-info --device %s", conf_get_string("cdrdao"), DRIVE_DEV(Adevice));    if (!Lcdprg || !*Lcdprg) return 0;
487    
488      g_snprintf(Lcommandline, sizeof(Lcommandline)-1, "%s disk-info --device %s", Lcdprg, DRIVE_DEV(Adevice));
489  _DEB("execution de [%s]\n", Lcommandline);  _DEB("execution de [%s]\n", Lcommandline);
490    if (!g_shell_parse_argv(Lcommandline, &Lnbrarg, &Lcmd, Aerror)) return 0;    if (!g_shell_parse_argv(Lcommandline, &Lnbrarg, &Lcmd, Aerror)) return 0;
491    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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