Diff for /rpl/src/instructions_l4.c between versions 1.1 and 1.36

version 1.1, 2010/01/26 15:22:44 version 1.36, 2012/08/22 10:47:16
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.0.9    RPL/2 (R) version 4.1.10
   Copyright (C) 1989-2010 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 20 Line 20
 */  */
   
   
 #include "rpl.conv.h"  #include "rpl-conv.h"
   
   
 /*  /*
Line 716  instruction_lock(struct_processus *s_eta Line 716  instruction_lock(struct_processus *s_eta
   
     struct flock                lock;      struct flock                lock;
   
       struct_descripteur_fichier  *fichier;
   
     struct_objet                *s_objet_argument_1;      struct_objet                *s_objet_argument_1;
     struct_objet                *s_objet_argument_2;      struct_objet                *s_objet_argument_2;
   
Line 811  instruction_lock(struct_processus *s_eta Line 813  instruction_lock(struct_processus *s_eta
   
         free(chaine);          free(chaine);
   
         if ((descripteur = descripteur_fichier(s_etat_processus,          if ((fichier = descripteur_fichier(s_etat_processus,
                 (struct_fichier *) (*s_objet_argument_2).objet)) == NULL)                  (struct_fichier *) (*s_objet_argument_2).objet)) == NULL)
         {          {
             return;              return;
         }          }
   
           descripteur = (*fichier).descripteur_c;
   
         if (fcntl(fileno(descripteur), F_SETLK, &lock) == -1)          if (fcntl(fileno(descripteur), F_SETLK, &lock) == -1)
         {          {
             liberation(s_etat_processus, s_objet_argument_1);              liberation(s_etat_processus, s_objet_argument_1);

Removed from v.1.1  
changed lines
  Added in v.1.36


CVSweb interface <joel.bertrand@systella.fr>