--- rpl/src/instructions_o1.c 2010/08/09 13:51:47 1.19 +++ rpl/src/instructions_o1.c 2010/08/15 14:46:25 1.21 @@ -4185,8 +4185,8 @@ instruction_open(struct_processus *s_eta pointeur++; } - strncpy(socket_unix.sun_path, pointeur, 108); - socket_unix.sun_path[108 - 1] = d_code_fin_chaine; + strncpy(socket_unix.sun_path, pointeur, UNIX_PATH_MAX); + socket_unix.sun_path[UNIX_PATH_MAX - 1] = d_code_fin_chaine; if (options_socket() == d_erreur) { @@ -4443,7 +4443,7 @@ instruction_open(struct_processus *s_eta if ((*s_etat_processus).langue == 'F') { printf("+++Attention : Support du protocole" - " IPv6 indisponble\n"); + " IPv6 indisponible\n"); } else { @@ -4613,7 +4613,7 @@ instruction_open(struct_processus *s_eta if ((*s_etat_processus).langue == 'F') { printf("+++Attention : Support du protocole" - " IPv6 indisponble\n"); + " IPv6 indisponible\n"); } else { @@ -4724,8 +4724,8 @@ instruction_open(struct_processus *s_eta socket_unix.sun_family = AF_UNIX; strncpy(socket_unix.sun_path, (*((struct_socket *) - (*s_objet_resultat).objet)).adresse, 108); - socket_unix.sun_path[108 - 1] = d_code_fin_chaine; + (*s_objet_resultat).objet)).adresse, UNIX_PATH_MAX); + socket_unix.sun_path[UNIX_PATH_MAX - 1] = d_code_fin_chaine; if ((type_socket == 'S') || (type_socket == 'Q')) { @@ -4983,7 +4983,7 @@ instruction_open(struct_processus *s_eta if ((*s_etat_processus).langue == 'F') { printf("+++Attention : Support du protocole" - " IPv6 indisponble\n"); + " IPv6 indisponible\n"); } else { @@ -5195,7 +5195,7 @@ instruction_open(struct_processus *s_eta if ((*s_etat_processus).langue == 'F') { printf("+++Attention : Support du protocole" - " IPv6 indisponble\n"); + " IPv6 indisponible\n"); } else {