Diff for /rpl/src/instructions_c3.c between versions 1.16 and 1.32

version 1.16, 2010/08/26 19:07:37 version 1.32, 2011/11/17 17:20:29
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.0.19    RPL/2 (R) version 4.1.4
   Copyright (C) 1989-2010 Dr. BERTRAND Joël    Copyright (C) 1989-2011 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 674  instruction_chr(struct_processus *s_etat Line 674  instruction_chr(struct_processus *s_etat
         }          }
         else          else
         {          {
             liberation(s_etat_processus, s_objet_argument);              if ((s_objet_resultat = allocation(s_etat_processus, CHN)) == NULL)
               {
                   (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
                   return;
               }
   
             (*s_etat_processus).erreur_execution = d_ex_argument_invalide;              if (((*s_objet_resultat).objet = malloc(5 * sizeof(unsigned char)))
             return;                      == NULL)
               {
                   (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;
                   return;
               }
   
               sprintf((unsigned char *) (*s_objet_resultat).objet, "\\x%02X",
                       (unsigned char) (*((integer8 *)
                       (*s_objet_argument).objet)));
         }          }
     }      }
   

Removed from v.1.16  
changed lines
  Added in v.1.32


CVSweb interface <joel.bertrand@systella.fr>