version 1.37, 2011/08/09 11:31:37
|
version 1.39, 2011/08/30 14:19:28
|
Line 105 reencodage(struct_processus *s_etat_proc
|
Line 105 reencodage(struct_processus *s_etat_proc
|
|
|
chaine_sortie[0] = d_code_fin_chaine; |
chaine_sortie[0] = d_code_fin_chaine; |
|
|
if ((buffer_sortie = malloc((d_LONGUEUR + 1) * sizeof(char))) == NULL) |
if ((buffer_sortie = malloc((d_LONGUEUR + 1) * sizeof(unsigned char))) |
|
== NULL) |
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return(NULL); |
return(NULL); |
Line 131 reencodage(struct_processus *s_etat_proc
|
Line 132 reencodage(struct_processus *s_etat_proc
|
} |
} |
} |
} |
|
|
tampon = (unsigned char *) chaine_sortie; |
tampon = chaine_sortie; |
(*pointeur) = d_code_fin_chaine; |
(*pointeur) = d_code_fin_chaine; |
|
|
if ((chaine_sortie = malloc((strlen(tampon) + strlen(buffer_sortie) + 1) |
if ((chaine_sortie = malloc((strlen(tampon) + strlen(buffer_sortie) + 1) |
Line 175 localisation_courante(struct_processus *
|
Line 176 localisation_courante(struct_processus *
|
int pipes_sortie[2]; |
int pipes_sortie[2]; |
int status; |
int status; |
|
|
logical1 drapeau_fin; |
|
|
|
long i; |
long i; |
long nombre_arguments; |
long nombre_arguments; |
|
|
Line 216 localisation_courante(struct_processus *
|
Line 215 localisation_courante(struct_processus *
|
arguments[2] = NULL; |
arguments[2] = NULL; |
|
|
nombre_arguments = 2; |
nombre_arguments = 2; |
drapeau_fin = d_faux; |
|
|
|
if (pipe(pipes_entree) != 0) |
if (pipe(pipes_entree) != 0) |
{ |
{ |