Diff for /rpl/src/rpl.c between versions 1.45 and 1.49

version 1.45, 2010/08/30 14:14:07 version 1.49, 2010/09/06 16:50:17
Line 23 Line 23
 #define  MAIN_RPL  #define  MAIN_RPL
 #include "rpl-conv.h"  #include "rpl-conv.h"
   
 #ifdef SEMAPHORES_SYSV  #ifdef IPCS_SYSV
 #ifndef OS2  #ifndef OS2
     unsigned char       *chemin_semaphores_SysV;      unsigned char       *chemin_semaphores_SysV;
 #endif  #endif
Line 240  rplinit(int argc, char *argv[], unsigned Line 240  rplinit(int argc, char *argv[], unsigned
     (*s_etat_processus).chemin_fichiers_temporaires =      (*s_etat_processus).chemin_fichiers_temporaires =
             recherche_chemin_fichiers_temporaires(s_etat_processus);              recherche_chemin_fichiers_temporaires(s_etat_processus);
   
 #   ifdef SEMAPHORES_SYSV  #   ifdef IPCS_SYSV
 #   ifndef OS2  #   ifndef OS2
     chemin_semaphores_SysV = (*s_etat_processus).chemin_fichiers_temporaires;      chemin_semaphores_SysV = (*s_etat_processus).chemin_fichiers_temporaires;
 #   endif  #   endif
Line 419  rplinit(int argc, char *argv[], unsigned Line 419  rplinit(int argc, char *argv[], unsigned
 #   else  #   else
     action.sa_handler = interruption1;      action.sa_handler = interruption1;
 #   endif  #   endif
     action.sa_flags = SA_ONSTACK | SA_SIGINFO;      action.sa_flags = SA_ONSTACK | SA_SIGINFO | SA_NODEFER;
   
     if (sigaction(SIGINT, &action, NULL) != 0)      if (sigaction(SIGINT, &action, NULL) != 0)
     {      {
Line 465  rplinit(int argc, char *argv[], unsigned Line 465  rplinit(int argc, char *argv[], unsigned
 #   else  #   else
     action.sa_handler = interruption4;      action.sa_handler = interruption4;
 #   endif  #   endif
     // SIGCONT ne doit pas pouvoir être appelé depuis son gestionnaire.      action.sa_flags = SA_ONSTACK | SA_SIGINFO | SA_NODEFER;
     action.sa_flags = SA_ONSTACK | SA_SIGINFO;  
   
     if (sigaction(SIGSTART, &action, NULL) != 0)      if (sigaction(SIGSTART, &action, NULL) != 0)
     {      {
Line 1600  rplinit(int argc, char *argv[], unsigned Line 1599  rplinit(int argc, char *argv[], unsigned
 #           else  #           else
             action.sa_handler = interruption10;              action.sa_handler = interruption10;
 #           endif  #           endif
             action.sa_flags = SA_ONSTACK | SA_SIGINFO;              action.sa_flags = SA_ONSTACK | SA_SIGINFO | SA_NODEFER;
   
             if (sigaction(SIGHUP, &action, NULL) != 0)              if (sigaction(SIGHUP, &action, NULL) != 0)
             {              {

Removed from v.1.45  
changed lines
  Added in v.1.49


CVSweb interface <joel.bertrand@systella.fr>