Diff for /rpl/src/instructions_a4.c between versions 1.20 and 1.32

version 1.20, 2011/06/20 17:54:16 version 1.32, 2012/01/05 10:19:00
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.0.prerelease.1    RPL/2 (R) version 4.1.5
   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 777  instruction_axes(struct_processus *s_eta Line 777  instruction_axes(struct_processus *s_eta
   
         if (presence_type == d_faux)          if (presence_type == d_faux)
         {          {
             if ((tampon = malloc(5 * sizeof(unsigned char))) == NULL)  
             {  
                 (*s_etat_processus).erreur_systeme = d_es_allocation_memoire;  
                 return;  
             }  
   
             if ((*s_etat_processus).systeme_axes == 0)              if ((*s_etat_processus).systeme_axes == 0)
             {              {
                   if ((tampon = malloc(5 * sizeof(unsigned char))) == NULL)
                   {
                       (*s_etat_processus).erreur_systeme =
                               d_es_allocation_memoire;
                       return;
                   }
   
                 strcpy(tampon, "MAIN");                  strcpy(tampon, "MAIN");
             }              }
             else              else
             {              {
                   if ((tampon = malloc(10 * sizeof(unsigned char))) == NULL)
                   {
                       (*s_etat_processus).erreur_systeme =
                               d_es_allocation_memoire;
                       return;
                   }
   
                 strcpy(tampon, "AUXILIARY");                  strcpy(tampon, "AUXILIARY");
             }              }
         }          }

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


CVSweb interface <joel.bertrand@systella.fr>