--- rpl/src/instructions_u1.c 2010/03/04 17:42:46 1.5 +++ rpl/src/instructions_u1.c 2011/05/09 13:52:22 1.18.2.3 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.0.12 - Copyright (C) 1989-2010 Dr. BERTRAND Joël + RPL/2 (R) version 4.0.24 + Copyright (C) 1989-2011 Dr. BERTRAND Joël This file is part of RPL/2. @@ -20,7 +20,7 @@ */ -#include "rpl.conv.h" +#include "rpl-conv.h" /* @@ -1077,10 +1077,10 @@ instruction_uchol(struct_processus *s_et void instruction_unlock(struct_processus *s_etat_processus) { - file *descripteur; - struct flock lock; + struct_descripteur_fichier *descripteur; + struct_objet *s_objet; (*s_etat_processus).erreur_execution = d_ex; @@ -1137,7 +1137,8 @@ instruction_unlock(struct_processus *s_e return; } - if (fcntl(fileno(descripteur), F_SETLK, &lock) == -1) + if (fcntl(fileno((*descripteur).descripteur_c), F_SETLK, &lock) + == -1) { liberation(s_etat_processus, s_objet);