Diff for /rpl/src/allocateur.c between versions 1.16 and 1.22

version 1.16, 2017/01/18 15:44:16 version 1.22, 2019/01/01 09:02:39
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.26    RPL/2 (R) version 4.1.30
   Copyright (C) 1989-2017 Dr. BERTRAND Joël    Copyright (C) 1989-2019 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 287  allocation_buffer(struct_processus *s_et Line 287  allocation_buffer(struct_processus *s_et
   
     if (longueur == 0)      if (longueur == 0)
     {      {
         if (((*s_buffer).buffer = sys_malloc(0)) == NULL)          if (((*s_buffer).buffer = sys_malloc(sizeof(struct_buffer *))) == NULL)
         {          {
             (*s_etat_processus).erreur_systeme =              (*s_etat_processus).erreur_systeme =
                     d_es_allocation_memoire;                      d_es_allocation_memoire;

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


CVSweb interface <joel.bertrand@systella.fr>