Diff for /rpl/src/gestion_pile.c between versions 1.33 and 1.46

version 1.33, 2011/11/18 10:57:00 version 1.46, 2013/02/27 17:11:40
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.4    RPL/2 (R) version 4.1.13
   Copyright (C) 1989-2011 Dr. BERTRAND Joël    Copyright (C) 1989-2013 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 268  affichage_pile(struct_processus *s_etat_ Line 268  affichage_pile(struct_processus *s_etat_
   
 void  void
 ecriture_pile(struct_processus *s_etat_processus, file *flux,  ecriture_pile(struct_processus *s_etat_processus, file *flux,
         struct_liste_chainee *l_element_courant, unsigned long niveau_courant)          struct_liste_chainee *l, unsigned long niveau_courant)
 {  {
     unsigned char               *chaine;      unsigned char               *chaine;
     unsigned char               *registre;      unsigned char               *registre;
     unsigned char               tampon[32 + 1];      unsigned char               tampon[32 + 1];
   
       // Évite le warning : argument l_element_courant might be clobbered by
       // longjmp or vfork
       volatile struct_liste_chainee   *l_element_courant;
   
       l_element_courant = l;
   
     if (l_element_courant != NULL)      if (l_element_courant != NULL)
     {      {
         if (setjmp(contexte_ecriture) == 0)          if (setjmp(contexte_ecriture) == 0)
Line 366  ecriture_pile(struct_processus *s_etat_p Line 372  ecriture_pile(struct_processus *s_etat_p
   
 void  void
 impression_pile(struct_processus *s_etat_processus,  impression_pile(struct_processus *s_etat_processus,
         struct_liste_chainee *l_element_courant, unsigned char methode,          struct_liste_chainee *l, unsigned char methode,
         unsigned long niveau_courant)          unsigned long niveau_courant)
 {  {
     struct_objet                s_objet;      struct_objet                s_objet;
Line 375  impression_pile(struct_processus *s_etat Line 381  impression_pile(struct_processus *s_etat
     unsigned char               *registre;      unsigned char               *registre;
     unsigned char               tampon[32 + 1];      unsigned char               tampon[32 + 1];
   
       // Évite le warning : argument l_element_courant might be clobbered by
       // longjmp or vfork
       volatile struct_liste_chainee   *l_element_courant;
   
       l_element_courant = l;
   
     if (l_element_courant != NULL)      if (l_element_courant != NULL)
     {      {
         if (setjmp(contexte_impression) == 0)          if (setjmp(contexte_impression) == 0)

Removed from v.1.33  
changed lines
  Added in v.1.46


CVSweb interface <joel.bertrand@systella.fr>