Diff for /rpl/src/instructions_v1.c between versions 1.29 and 1.43

version 1.29, 2011/07/24 15:43:05 version 1.43, 2012/10/05 13:12:39
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.1    RPL/2 (R) version 4.1.11
   Copyright (C) 1989-2011 Dr. BERTRAND Joël    Copyright (C) 1989-2012 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 500  instruction_version(struct_processus *s_ Line 500  instruction_version(struct_processus *s_
         return;          return;
     }      }
   
     if (((*(*l_element_courant).donnee).objet = malloc((strlen(d_date_en_rpl)      if (((*(*l_element_courant).donnee).objet = date_compilation()) == NULL)
             + 1) * sizeof(unsigned char))) == NULL)  
     {      {
         (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;          (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
         return;          return;
     }      }
   
     strcpy((unsigned char *) (*(*l_element_courant).donnee).objet,  
             d_date_en_rpl);  
   
     /*      /*
      * Ajout des options de compilation       * Ajout des options de compilation
      */       */
Line 909  instruction_version(struct_processus *s_ Line 905  instruction_version(struct_processus *s_
         return;          return;
     }      }
   
     sprintf(tampon, "%d BITS ABI", sizeof(void *) * 8);      sprintf(tampon, "%zu BITS ABI", sizeof(void *) * 8);
   
     if (((*(*l_element_courant).donnee).objet = malloc((strlen(tampon) + 1 )      if (((*(*l_element_courant).donnee).objet = malloc((strlen(tampon) + 1 )
             * sizeof(unsigned char))) == NULL)              * sizeof(unsigned char))) == NULL)
Line 1314  instruction_vars(struct_processus *s_eta Line 1310  instruction_vars(struct_processus *s_eta
                 return;                  return;
             }              }
   
             strcpy((unsigned char *) (*(*(*(*(*((struct_liste_chainee *)              if (tableau[i].variable_masquee == d_vrai)
                     (*((struct_objet *) (*l_element_courant).donnee)).objet))              {
                     .suivant).suivant) .suivant).donnee).objet, "STATIC");                  strcpy((unsigned char *) (*(*(*(*(*((struct_liste_chainee *)
                           (*((struct_objet *) (*l_element_courant).donnee))
                           .objet)).suivant).suivant).suivant).donnee).objet,
                           "SHADOW");
               }
               else
               {
                   strcpy((unsigned char *) (*(*(*(*(*((struct_liste_chainee *)
                           (*((struct_objet *) (*l_element_courant).donnee))
                           .objet)).suivant).suivant).suivant).donnee).objet,
                           "STATIC");
               }
         }          }
         else          else
         {          {

Removed from v.1.29  
changed lines
  Added in v.1.43


CVSweb interface <joel.bertrand@systella.fr>