aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorDmitriy Anisimkov <anisimko@adacore.com>2019-08-12 09:01:58 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-12 09:01:58 +0000
commit8467866f26927d46be47240308278a867e3fb2b0 (patch)
tree9e70c5cbdf8811cb420a81eefe9a8fdcf45d8101 /gcc/tree.c
parent4a2e9be1ac7c8f4c37b5deb4ce0b0f39925e56c9 (diff)
downloadgcc-8467866f26927d46be47240308278a867e3fb2b0.zip
gcc-8467866f26927d46be47240308278a867e3fb2b0.tar.gz
gcc-8467866f26927d46be47240308278a867e3fb2b0.tar.bz2
[Ada] Fix IPv6 numeric address detection
IPv6 numeric address can't have less than 2 colons. It fixes the error when Get_Host_By_Name called with hostname composed by only hexadecimal symbols. 2019-08-12 Dmitriy Anisimkov <anisimko@adacore.com> gcc/ada/ * libgnat/g-socket.adb (Is_IPv6_Address): Check that no less then 2 colons in IPv6 numeric address. From-SVN: r274308
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions