version 1.60, 2012/12/18 13:19:40
|
version 1.62, 2013/02/23 15:02:20
|
Line 209 localisation_courante(struct_processus *
|
Line 209 localisation_courante(struct_processus *
|
|
|
pid_t pid; |
pid_t pid; |
|
|
struct sigaction action_passee; |
|
|
|
unsigned char *tampon; |
unsigned char *tampon; |
|
|
unsigned long longueur_lecture; |
unsigned long longueur_lecture; |
Line 582 localisation_courante(struct_processus *
|
Line 580 localisation_courante(struct_processus *
|
strcpy((*s_etat_processus).localisation, d_locale); |
strcpy((*s_etat_processus).localisation, d_locale); |
} |
} |
|
|
if (sigaction(SIGINT, &action_passee, NULL) != 0) |
|
{ |
|
for(i = 0; i < nombre_arguments; i++) |
|
{ |
|
free(arguments[i]); |
|
} |
|
|
|
free(arguments); |
|
(*s_etat_processus).erreur_systeme = d_es_signal; |
|
return; |
|
} |
|
|
|
for(i = 0; i < nombre_arguments; i++) |
for(i = 0; i < nombre_arguments; i++) |
{ |
{ |
free(arguments[i]); |
free(arguments[i]); |