Diff for /rpl/src/instructions_r4.c between versions 1.107 and 1.116

version 1.107, 2018/12/24 15:56:23 version 1.116, 2023/08/07 17:42:57
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.30    RPL/2 (R) version 4.1.35
   Copyright (C) 1989-2018 Dr. BERTRAND Joël    Copyright (C) 1989-2023 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 2120  instruction_read(struct_processus *s_eta Line 2120  instruction_read(struct_processus *s_eta
                             if (sscanf(&(format_chaine[8]), "%lld", &longueur)                              if (sscanf(&(format_chaine[8]), "%lld", &longueur)
                                     != 1)                                      != 1)
                             {                              {
                                 liberation(s_etat_processus, s_objet_argument_1);                                  liberation(s_etat_processus,
                                           s_objet_argument_1);
                                 liberation(s_etat_processus, s_objet_resultat);                                  liberation(s_etat_processus, s_objet_resultat);
                                 free(format_chaine);                                  free(format_chaine);
   
Line 3546  instruction_read(struct_processus *s_eta Line 3547  instruction_read(struct_processus *s_eta
   
             do              do
             {              {
                 if ((tampon_lecture = malloc((((long long unsigned int)                  if ((tampon_lecture = malloc((((size_t) longueur_questure) + 1)
                         longueur_questure) + 1) *                          * sizeof(unsigned char))) == NULL)
                         sizeof(unsigned char))) == NULL)  
                 {                  {
                     (*s_etat_processus).erreur_systeme =                      (*s_etat_processus).erreur_systeme =
                             d_es_allocation_memoire;                              d_es_allocation_memoire;
Line 3728  instruction_read(struct_processus *s_eta Line 3728  instruction_read(struct_processus *s_eta
                 return;                  return;
             }              }
   
             if (((*s_objet_type).objet = malloc((long long unsigned int)              if (((*s_objet_type).objet = malloc((size_t) longueur_enregistrement
                     longueur_enregistrement *                      * sizeof(unsigned char))) == NULL)
                     sizeof(unsigned char))) == NULL)  
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;                  (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
                 return;                  return;

Removed from v.1.107  
changed lines
  Added in v.1.116


CVSweb interface <joel.bertrand@systella.fr>