--- rpl/src/transliteration.c 2011/09/20 14:36:30 1.44 +++ rpl/src/transliteration.c 2012/07/04 13:02:50 1.54 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.3 - Copyright (C) 1989-2011 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.9 + Copyright (C) 1989-2012 Dr. BERTRAND Joël This file is part of RPL/2. @@ -117,7 +117,7 @@ reencodage(struct_processus *s_etat_proc longueur_sortie = d_LONGUEUR; pointeur = buffer_sortie; - if ((ios = iconv(transcodage, (char **) &buffer_entree, + if ((ios = iconv(transcodage, (const char **) &buffer_entree, &longueur_entree, (char **) &pointeur, &longueur_sortie)) == (size_t) -1) { @@ -675,7 +675,7 @@ transliterated_fprintf(struct_processus } # ifdef OS2 - if ((flux == stdin) || (flux == stdout)) + if ((flux == stderr) || (flux == stdout)) { i = 0; ptr_l = tampon2; @@ -694,7 +694,7 @@ transliterated_fprintf(struct_processus sizeof(unsigned char))) == NULL) { (*s_etat_processus).erreur_systeme = d_es_allocation_memoire; - return(NULL); + return(-1); } ptr_e = tampon3;