version 1.20, 2010/08/13 21:00:37
|
version 1.24, 2010/09/23 15:27:39
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.18 |
RPL/2 (R) version 4.0.20 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 4185 instruction_open(struct_processus *s_eta
|
Line 4185 instruction_open(struct_processus *s_eta
|
pointeur++; |
pointeur++; |
} |
} |
|
|
strncpy(socket_unix.sun_path, pointeur, 108); |
strncpy(socket_unix.sun_path, pointeur, UNIX_PATH_MAX); |
socket_unix.sun_path[108 - 1] = d_code_fin_chaine; |
socket_unix.sun_path[UNIX_PATH_MAX - 1] = d_code_fin_chaine; |
|
|
if (options_socket() == d_erreur) |
if (options_socket() == d_erreur) |
{ |
{ |
Line 4447 instruction_open(struct_processus *s_eta
|
Line 4447 instruction_open(struct_processus *s_eta
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |
Line 4617 instruction_open(struct_processus *s_eta
|
Line 4617 instruction_open(struct_processus *s_eta
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |
Line 4724 instruction_open(struct_processus *s_eta
|
Line 4724 instruction_open(struct_processus *s_eta
|
|
|
socket_unix.sun_family = AF_UNIX; |
socket_unix.sun_family = AF_UNIX; |
strncpy(socket_unix.sun_path, (*((struct_socket *) |
strncpy(socket_unix.sun_path, (*((struct_socket *) |
(*s_objet_resultat).objet)).adresse, 108); |
(*s_objet_resultat).objet)).adresse, UNIX_PATH_MAX); |
socket_unix.sun_path[108 - 1] = d_code_fin_chaine; |
socket_unix.sun_path[UNIX_PATH_MAX - 1] = d_code_fin_chaine; |
|
|
if ((type_socket == 'S') || (type_socket == 'Q')) |
if ((type_socket == 'S') || (type_socket == 'Q')) |
{ |
{ |
Line 4987 instruction_open(struct_processus *s_eta
|
Line 4987 instruction_open(struct_processus *s_eta
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |
Line 5199 instruction_open(struct_processus *s_eta
|
Line 5199 instruction_open(struct_processus *s_eta
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |