--- rpl/src/instructions_s8.c 2016/09/27 15:29:38 1.76 +++ rpl/src/instructions_s8.c 2019/02/07 21:44:15 1.85 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.26 - Copyright (C) 1989-2016 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.31 + Copyright (C) 1989-2019 Dr. BERTRAND Joël This file is part of RPL/2. @@ -386,9 +386,9 @@ instruction_send(struct_processus *s_eta } # ifndef SEMAPHORES_NOMMES - if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0) + if (sem_wait(&((*s_etat_processus).semaphore_fork)) != 0) # else - if (sem_post((*s_etat_processus).semaphore_fork) != 0) + if (sem_wait((*s_etat_processus).semaphore_fork) != 0) # endif { (*s_etat_processus).erreur_systeme = d_es_processus; @@ -1183,8 +1183,6 @@ instruction_sqlquery(struct_processus *s int ios; int nombre_colonnes; - logical1 presence_resultat; - sqlite3_stmt *ppStmt; struct_liste_chainee *l_element_courant; @@ -1213,7 +1211,6 @@ instruction_sqlquery(struct_processus *s return; } - presence_resultat = d_faux; s_objet_resultat = NULL; l_element_courant = NULL;