Diff for /rpl/src/daemon.c between versions 1.7 and 1.33

version 1.7, 2010/04/17 18:57:35 version 1.33, 2011/09/20 14:36:28
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.0.14    RPL/2 (R) version 4.1.3
   Copyright (C) 1989-2010 Dr. BERTRAND Joël    Copyright (C) 1989-2011 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 20 Line 20
 */  */
   
   
 #include "rpl.conv.h"  #include "rpl-conv.h"
   
   
 /*  /*
Line 58  lancement_daemon(struct_processus *s_eta Line 58  lancement_daemon(struct_processus *s_eta
      */       */
   
     fflush(NULL);      fflush(NULL);
   
     pid = fork();      pid = fork();
   
     if (pid < 0)      if (pid < 0)
Line 69  lancement_daemon(struct_processus *s_eta Line 70  lancement_daemon(struct_processus *s_eta
     if (pid > 0)      if (pid > 0)
     {      {
         // Fin du processus père.          // Fin du processus père.
           destruction_queue_signaux(s_etat_processus);
         _exit(EXIT_SUCCESS);          _exit(EXIT_SUCCESS);
     }      }
   
Line 110  lancement_daemon(struct_processus *s_eta Line 112  lancement_daemon(struct_processus *s_eta
     }      }
   
     (*s_etat_processus).pid_processus_pere = getpid();      (*s_etat_processus).pid_processus_pere = getpid();
       creation_queue_signaux(s_etat_processus);
     modification_pid_thread_pere(s_etat_processus);      modification_pid_thread_pere(s_etat_processus);
   
     return;      return;

Removed from v.1.7  
changed lines
  Added in v.1.33


CVSweb interface <joel.bertrand@systella.fr>