Diff for /rpl/src/instructions_l4.c between versions 1.3 and 1.30

version 1.3, 2010/02/10 10:14:23 version 1.30, 2011/11/26 10:01:29
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.0.11    RPL/2 (R) version 4.1.5
   Copyright (C) 1989-2010 Dr. BERTRAND Joël    Copyright (C) 1989-2011 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.3  
changed lines
  Added in v.1.30


CVSweb interface <joel.bertrand@systella.fr>