Diff for /rpl/src/completion.c between versions 1.41 and 1.56

version 1.41, 2013/03/20 17:11:43 version 1.56, 2015/11/26 11:44:29
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.13    RPL/2 (R) version 4.1.24
   Copyright (C) 1989-2013 Dr. BERTRAND Joël    Copyright (C) 1989-2015 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 38 Line 38
 void  void
 initialisation_completion()  initialisation_completion()
 {  {
     rl_attempted_completion_function = (CPPFunction *) completion_rpl;      rl_attempted_completion_function = (rl_completion_func_t *) completion_rpl;
 }  }
   
   
Line 73  generateur_commandes(char *texte, int et Line 73  generateur_commandes(char *texte, int et
   
         if (strncmp(nom, texte, longueur) == 0)          if (strncmp(nom, texte, longueur) == 0)
         {          {
             tampon = malloc((strlen(nom) + 1) * sizeof(char));              tampon = sys_malloc((strlen(nom) + 1) * sizeof(char));
   
             if (tampon == NULL)              if (tampon == NULL)
             {              {

Removed from v.1.41  
changed lines
  Added in v.1.56


CVSweb interface <joel.bertrand@systella.fr>