/[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.9 by scresto, Sat Feb 12 16:41:07 2005 UTC revision 1.10 by scresto, Sat Feb 12 18:15:51 2005 UTC
# Line 321  void exit_prog(gint Apid, GError **Aerro Line 321  void exit_prog(gint Apid, GError **Aerro
321  {  {
322    gint Lcmdstatus = 0;    gint Lcmdstatus = 0;
323    
324      kill(Apid, SIGINT);
325    waitpid(Apid, &Lcmdstatus, 0);    waitpid(Apid, &Lcmdstatus, 0);
326    
327    if ((WIFEXITED(Lcmdstatus) && WEXITSTATUS(Lcmdstatus)!=0) || (!(WIFEXITED(Lcmdstatus)))) {    if ((WIFEXITED(Lcmdstatus) && WEXITSTATUS(Lcmdstatus)!=0) || (!(WIFEXITED(Lcmdstatus)))) {

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

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