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

version 1.29, 2011/07/24 15:43:05 version 1.38, 2012/03/01 10:14:08
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.1    RPL/2 (R) version 4.1.7
   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)

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


CVSweb interface <joel.bertrand@systella.fr>