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

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

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

revision 1.19 by scresto, Tue Mar 29 00:10:26 2005 UTC revision 1.20 by scresto, Thu Mar 31 22:14:12 2005 UTC
# Line 467  gboolean read_all_output_callback(GIOCha Line 467  gboolean read_all_output_callback(GIOCha
467    gint *Lloccont = (gint *) sc_grave_get_data(Lg, "loccont");    gint *Lloccont = (gint *) sc_grave_get_data(Lg, "loccont");
468    
469    if (Acond == G_IO_HUP || Acond == G_IO_ERR) {    if (Acond == G_IO_HUP || Acond == G_IO_ERR) {
     printf("err!\n");  
470      *Lloccont = 0;      *Lloccont = 0;
471      return FALSE;      return FALSE;
472    }    }
473  printf("oui man ?\n");    
474    Lstatus = g_io_channel_read_line(Astd, &Lbuffer, NULL, NULL, NULL);      Lstatus = g_io_channel_read_line(Astd, &Lbuffer, NULL, NULL, NULL);  
475    if (!Lbuffer) {    if (!Lbuffer) {
476      return TRUE;      return TRUE;
477    }    }
 printf("====>%s\n", Lbuffer);  
478    
479    Lstrbuf = g_string_append(Lstrbuf, Lbuffer);    Lstrbuf = g_string_append(Lstrbuf, Lbuffer);
480    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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