Diff for /rpl/src/instructions_a5.c between versions 1.74 and 1.75

version 1.74, 2022/09/07 13:40:33 version 1.75, 2022/10/02 08:01:20
Line 51  instruction_alarm(struct_processus *s_et Line 51  instruction_alarm(struct_processus *s_et
   
     struct_objet                *s_objet_argument;      struct_objet                *s_objet_argument;
   
     struct timeb                st;  
   
     struct timespec             attente;      struct timespec             attente;
   
     struct timeval              debut_interruption;      struct timeval              debut_interruption;
Line 64  instruction_alarm(struct_processus *s_et Line 62  instruction_alarm(struct_processus *s_et
     struct tm                   s_time_registre;      struct tm                   s_time_registre;
   
     time_t                      alarme;      time_t                      alarme;
       time_t                      st;
   
     (*s_etat_processus).erreur_execution = d_ex;      (*s_etat_processus).erreur_execution = d_ex;
   
Line 149  instruction_alarm(struct_processus *s_et Line 148  instruction_alarm(struct_processus *s_et
             return;              return;
         }          }
   
         st.time = time(NULL);          st = time(NULL);
         s_time_actuel = localtime(&(st.time));          s_time_actuel = localtime(&st);
   
         l_element_courant = (*s_objet_argument).objet;          l_element_courant = (*s_objet_argument).objet;
         s_time_alarme.tm_hour = (int) (*((integer8 *) (*(*l_element_courant)          s_time_alarme.tm_hour = (int) (*((integer8 *) (*(*l_element_courant)
Line 233  instruction_alarm(struct_processus *s_et Line 232  instruction_alarm(struct_processus *s_et
             return;              return;
         }          }
   
         while((duree = difftime(alarme, st.time)) < 0)          while((duree = difftime(alarme, st)) < 0)
         {          {
             if (specification_date == d_vrai)              if (specification_date == d_vrai)
             {              {

Removed from v.1.74  
changed lines
  Added in v.1.75


CVSweb interface <joel.bertrand@systella.fr>