Diff for /rpl/src/instructions_v1.c between versions 1.44 and 1.45

version 1.44, 2012/12/13 16:59:42 version 1.45, 2012/12/17 21:22:44
Line 1023  instruction_vars(struct_processus *s_eta Line 1023  instruction_vars(struct_processus *s_eta
     (*s_objet_resultat).objet = NULL;      (*s_objet_resultat).objet = NULL;
     l_element_precedent = NULL;      l_element_precedent = NULL;
   
     nb_variables = nombre_variables(s_etat_processus,      nb_variables = nombre_variables(s_etat_processus);
             (*s_etat_processus).s_arbre_variables);  
   
     if ((tableau = malloc(nb_variables * sizeof(struct_tableau_variables)))      if ((tableau = malloc(nb_variables * sizeof(struct_tableau_variables)))
             == NULL)              == NULL)
     {      {
           liberation_mutexes_arbre_variables_partagees(s_etat_processus,
                   (*(*s_etat_processus).s_arbre_variables_partagees));
         (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;          (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
         return;          return;
     }      }
   
     liste_variables(s_etat_processus, tableau, 0,      liste_variables(s_etat_processus, tableau);
             (*s_etat_processus).s_arbre_variables);  
   
     for(i = 0; i < nb_variables; i++)      for(i = 0; i < nb_variables; i++)
     {      {
Line 1090  instruction_vars(struct_processus *s_eta Line 1090  instruction_vars(struct_processus *s_eta
         {          {
             if (recherche_variable_partagee(s_etat_processus,              if (recherche_variable_partagee(s_etat_processus,
                     tableau[i].nom, tableau[i].variable_partagee,                      tableau[i].nom, tableau[i].variable_partagee,
                     tableau[i].origine) == d_faux)                      tableau[i].origine) == NULL)
             {              {
                 // La variable partagée n'existe plus.                  // La variable partagée n'existe plus.
   

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


CVSweb interface <joel.bertrand@systella.fr>