[Ada] GNAT.Sockets: fix timeout computations for sockets
authorDmitriy Anisimkov <anisimko@adacore.com>
Tue, 11 Dec 2018 11:10:53 +0000 (11:10 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 11 Dec 2018 11:10:53 +0000 (11:10 +0000)
commit6b6a0f02ab7012daebd62726066b827fbdfa62f9
treea57a2a3cec6991917ae670b0235aa504f2f1fd13
parent371e21cf9020cd4278e98bfeee17086dc39e2723
[Ada] GNAT.Sockets: fix timeout computations for sockets

2018-12-11  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

* libgnat/g-socket.ads, libgnat/g-socket.adb: Fix duration
computations to be compatible with the type for socket timeouts
on Windows.

From-SVN: r266998
gcc/ada/ChangeLog
gcc/ada/libgnat/g-socket.adb
gcc/ada/libgnat/g-socket.ads