| Submitter | Eric Botcazou |
|---|---|
| Date | July 14, 2011, 9:18 a.m. |
| Message ID | <201107141118.34913.ebotcazou@adacore.com> |
| Download | mbox | patch |
| Permalink | /patch/104644/ |
| State | New |
| Headers | show |
Comments
Patch
Index: g-socthi-mingw.adb =================================================================== --- g-socthi-mingw.adb (revision 176261) +++ g-socthi-mingw.adb (working copy) @@ -277,7 +277,8 @@ package body GNAT.Sockets.Thin is use type C.size_t; Fill : constant Boolean := - (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0; + SOSC.MSG_WAITALL /= -1 + and then (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0; -- Is the MSG_WAITALL flag set? If so we need to fully fill all vectors Res : C.int;