gcc/ada/
* g-socket.adb: Add a message "IPv6 not supported" to the
Socket_Error exception.
From-SVN: r134385
+2008-04-17 Samuel Tardieu <sam@rfc1149.net>
+
+ * g-socket.adb: Add a message "IPv6 not supported" to the
+ Socket_Error exception.
+
2008-04-16 Samuel Tardieu <sam@rfc1149.net>
PR ada/29015
begin
if Address.Family = Family_Inet6 then
- raise Socket_Error;
+ raise Socket_Error with "IPv6 not supported";
end if;
Set_Length (Sin'Unchecked_Access, Len);
begin
if Server.Family = Family_Inet6 then
- raise Socket_Error;
+ raise Socket_Error with "IPv6 not supported";
end if;
Set_Length (Sin'Unchecked_Access, Len);
S_B4 => C.unsigned_char (Addr.Sin_V4 (4)));
end if;
- raise Socket_Error;
+ raise Socket_Error with "IPv6 not supported";
end To_In_Addr;
------------------