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

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

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

revision 1.5 by scresto, Wed Feb 2 23:07:25 2005 UTC revision 1.6 by scresto, Tue Feb 8 02:32:57 2005 UTC
# Line 138  _DEB("=>%s", Lbuffer); Line 138  _DEB("=>%s", Lbuffer);
138  }  }
139    
140  /* creation d'une image iso */  /* creation d'une image iso */
141  gint make_image(GHashTable *Ahash, GError **Aerror)  gboolean make_image(GHashTable *Ahash, GError **Aerror)
142  {  {
143    gchar **Lcmd;    gchar **Lcmd;
144    gchar *Lcommandline;    gchar *Lcommandline;
# Line 173  gint make_image(GHashTable *Ahash, GErro Line 173  gint make_image(GHashTable *Ahash, GErro
173      return FALSE;      return FALSE;
174    }    }
175    Lstatus = g_spawn_async_with_pipes(NULL, Lcmd, NULL, /* env argument */    Lstatus = g_spawn_async_with_pipes(NULL, Lcmd, NULL, /* env argument */
176      (GSpawnFlags ) (0),      (GSpawnFlags ) (G_SPAWN_DO_NOT_REAP_CHILD),
177       NULL, NULL, Lpid, &g_in, &g_out, &g_err, Aerror);       NULL, NULL, Lpid, &g_in, &g_out, &g_err, Aerror);
178    g_strfreev(Lcmd);    g_strfreev(Lcmd);
179    
# Line 198  gint make_image(GHashTable *Ahash, GErro Line 198  gint make_image(GHashTable *Ahash, GErro
198    while (*Lcont>0 && *Labort == FALSE) {    while (*Lcont>0 && *Labort == FALSE) {
199     gtk_main_iteration();         gtk_main_iteration();    
200    }    }
201    
202      exit_prog(*Lpid, Aerror, _("Error while reading CD"));
203    
204    g_source_remove(Lcomevent);    g_source_remove(Lcomevent);
205    g_source_remove(Lcomerrevent);    g_source_remove(Lcomerrevent);
206    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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