Diff for /rpl/src/instructions_v1.c between versions 1.31 and 1.39

version 1.31, 2011/08/09 11:31:35 version 1.39, 2012/04/13 14:13:01
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.3    RPL/2 (R) version 4.1.8
   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.31  
changed lines
  Added in v.1.39


CVSweb interface <joel.bertrand@systella.fr>