summaryrefslogtreecommitdiff
path: root/gcc/ada/g-socthi-mingw.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 09:02:09 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 09:02:09 +0000
commit840cf63b740687b1206961f77fb8325c053b1d1e (patch)
tree6899598be63dfd66ea0d8a905fa67221507cd123 /gcc/ada/g-socthi-mingw.adb
parent7bd3442e1fb3e85658433cddaee133005d1d3eca (diff)
downloadgcc-840cf63b740687b1206961f77fb8325c053b1d1e.tar.gz
2010-06-22 Robert Dewar <dewar@adacore.com>
* ali-util.ads: Minor comment update. * g-socthi-mingw.adb: Minor reformatting. 2010-06-22 Ed Falis <falis@adacore.com> * s-osinte-vxworks.ads: take sigset_t definition from System.VxWorks.Ext * s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.ads: Define sigset_t for specific versions of VxWorks. 2010-06-22 Emmanuel Briot <briot@adacore.com> * gnat_rm.texi, gnat_ugn.texi, projects.texi: Remove all project files related sections from user's guide and reference manual, since they have now been merged together into a separate document (projects.texi). This removes a lot of duplication where attributes where described in several places. The grammar for the project files is now in each of the sections (packages,expressions,...) instead of being duplicates in two other sections (one in the user's guide that contained the full grammar, and various sections in the rm that contained extracts of the same grammar). Added the full list of all supported attributes, since existing lists were incomplete Rename "associative array" into "indexed attribute" Remove sections that were duplicates ("External References in Project Files" and "External Values", and "Project Extensions" for instance). The list of valid packages in project files is now in a single place. 2010-06-22 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Add_Internal_Interface_Entities): If Find_Primitive_Covering_Interface does not find the operation, it may be because of a name conflict between the inherited operation and a local non-overloadable name. In that case look for the operation among the primitive operations of the type. This search must succeed regardless of visibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-socthi-mingw.adb')
-rw-r--r--gcc/ada/g-socthi-mingw.adb19
1 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ada/g-socthi-mingw.adb b/gcc/ada/g-socthi-mingw.adb
index f1c8edd1e1c..42ccb3ded09 100644
--- a/gcc/ada/g-socthi-mingw.adb
+++ b/gcc/ada/g-socthi-mingw.adb
@@ -346,16 +346,21 @@ package body GNAT.Sockets.Thin is
-- If all the data that was initially available read, do not
-- attempt to receive more, since this might block, or merge data
- -- from successive datagrams for a datagram-oriented
- -- socket. We still try to receive more if we need to fill all
- -- vectors (MSG_WAITALL flag is set).
+ -- from successive datagrams for a datagram-oriented socket. We
+ -- still try to receive more if we need to fill all vectors
+ -- (MSG_WAITALL flag is set).
exit when Natural (Count) >= Req.Size
and then
- (not Fill -- either we are not in fill mode
- or else -- or last vector filled
- (Interfaces.C.size_t (Iov_Index) = Iovec'Last
- and then Current_Iovec.Length = 0));
+
+ -- Either we are not in fill mode
+
+ (not Fill
+
+ -- Or else last vector filled
+
+ or else (Interfaces.C.size_t (Iov_Index) = Iovec'Last
+ and then Current_Iovec.Length = 0));
end if;
end loop;