Diff for /rpl/src/bibliotheques_externes.c between versions 1.76 and 1.79

version 1.76, 2017/08/03 17:17:42 version 1.79, 2018/12/24 15:54:59
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.28    RPL/2 (R) version 4.1.30
   Copyright (C) 1989-2017 Dr. BERTRAND Joël    Copyright (C) 1989-2018 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 376  chargement_bibliotheque(struct_processus Line 376  chargement_bibliotheque(struct_processus
     {      {
         if ((fleche = strstr(tableau[i], "->")) != NULL)          if ((fleche = strstr(tableau[i], "->")) != NULL)
         {          {
             strncpy(fleche, "to", 2);              memcpy(fleche, "to", 2);
             (*s_etat_processus).s_instructions_externes[(*s_etat_processus)              (*s_etat_processus).s_instructions_externes[(*s_etat_processus)
                     .nombre_instructions_externes].position_fleche =                      .nombre_instructions_externes].position_fleche =
                     fleche - tableau[i];                      fleche - tableau[i];
Line 926  execution_fonction_de_bibliotheque(struc Line 926  execution_fonction_de_bibliotheque(struc
   
     if ((fleche = strstr(nom_fonction, "->")) != NULL)      if ((fleche = strstr(nom_fonction, "->")) != NULL)
     {      {
         strncpy(fleche, "to", 2);          memcpy(fleche, "to", 2);
     }      }
   
     ordre_iteration = 0;      ordre_iteration = 0;

Removed from v.1.76  
changed lines
  Added in v.1.79


CVSweb interface <joel.bertrand@systella.fr>