summaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ada/ChangeLog8
-rw-r--r--gcc/ada/g-socthi-vms.adb8
-rw-r--r--gcc/ada/prj.ads6
3 files changed, 16 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 685c16f7717..a1dd8984d14 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2011-09-01 Vincent Celier <celier@adacore.com>
* prj-env.adb (Create_Config_Pragmas_File.Check): Put all naming
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,
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index 5f39c24a071..07799856ab3 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -1479,7 +1479,7 @@ package Prj is
-- Unit name to Unit_Index (and from there to Source_Id)
Source_Files_HT : Source_Files_Htable.Instance;
- -- Base source file names to Source_Id list.
+ -- Base source file names to Source_Id list
Source_Paths_HT : Source_Paths_Htable.Instance;
-- Full path to Source_Id
@@ -1493,7 +1493,7 @@ package Prj is
-- True when a source info file has been successfully read
Shared : Shared_Project_Tree_Data_Access;
- -- The shared data for this tree and all aggregated trees.
+ -- The shared data for this tree and all aggregated trees
Appdata : Project_Tree_Appdata_Access;
-- Application-specific data for this tree
@@ -1501,7 +1501,7 @@ package Prj is
case Is_Root_Tree is
when True =>
Shared_Data : aliased Shared_Project_Tree_Data;
- -- Do not access directly, only through Shared.
+ -- Do not access directly, only through Shared
when False =>
null;