summaryrefslogtreecommitdiff
path: root/gcc/ada/g-socthi-vms.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-01 10:52:10 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-01 10:52:10 +0000
commit533474bc1ea83d2ac536785b2f6473bad9cfd7dc (patch)
tree533c0e7bc16f86433d9c3d11ce53244e86158e66 /gcc/ada/g-socthi-vms.adb
parent3cc63234763cb2f53ef716ad014f80ec7a75761b (diff)
downloadgcc-533474bc1ea83d2ac536785b2f6473bad9cfd7dc.tar.gz
2011-09-01 Tristan Gingold <gingold@adacore.com>
* g-socthi-vms.adb: Add comments. 2011-09-01 Pascal Obry <obry@adacore.com> * prj.ads: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178405 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-socthi-vms.adb')
-rw-r--r--gcc/ada/g-socthi-vms.adb8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ada/g-socthi-vms.adb b/gcc/ada/g-socthi-vms.adb
index 79d3e6cab00..6addd563b91 100644
--- a/gcc/ada/g-socthi-vms.adb
+++ b/gcc/ada/g-socthi-vms.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2001-2010, AdaCore --
+-- Copyright (C) 2001-2011, AdaCore --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -40,8 +40,10 @@ package body GNAT.Sockets.Thin is
type VMS_Msghdr is new Msghdr;
pragma Pack (VMS_Msghdr);
- -- On VMS (unlike other platforms), struct msghdr is packed, so a specific
- -- derived type is required.
+ -- On VMS 8.x (unlike other platforms), struct msghdr is packed, so a
+ -- specific derived type is required.
+ -- This structure was not packed on VMS 7.3, so sendmsg and recvmsg fail on
+ -- earlier VMS versions.
Non_Blocking_Sockets : aliased Fd_Set;
-- When this package is initialized with Process_Blocking_IO set to True,