[Ada] Fix logic in C_Select under mingw
authorArnaud Charlet <charlet@adacore.com>
Thu, 3 Sep 2020 08:04:22 +0000 (04:04 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 23 Oct 2020 08:24:59 +0000 (04:24 -0400)
commit6c1929894ca27ab2469c2c7bf25ad2625f567351
tree02afe911b4dbf1efdffcbb8732f21a8797e8c947
parent3a5c9377f6d99ea23520f71340880b2fcb7bef11
[Ada] Fix logic in C_Select under mingw

gcc/ada/

* libgnat/g-socthi__mingw.adb (C_Select): Fix logic in code and
make it explicit that we are checking against null values before
dereferencing them.
gcc/ada/libgnat/g-socthi__mingw.adb