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

version 1.72, 2020/01/10 11:15:43 version 1.75, 2022/10/02 08:01:20
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.32    RPL/2 (R) version 4.1.34
   Copyright (C) 1989-2020 Dr. BERTRAND Joël    Copyright (C) 1989-2021 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
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.72  
changed lines
  Added in v.1.75


CVSweb interface <joel.bertrand@systella.fr>