aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-09-01 12:52:10 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-09-01 12:52:10 +0200
commit549e455803a0014098c187a65bc7e4ce783e8645 (patch)
tree533c0e7bc16f86433d9c3d11ce53244e86158e66
parent70c0422d554dd46881e4211015e025b279c37a36 (diff)
downloadgcc-549e455803a0014098c187a65bc7e4ce783e8645.zip
gcc-549e455803a0014098c187a65bc7e4ce783e8645.tar.gz
gcc-549e455803a0014098c187a65bc7e4ce783e8645.tar.bz2
[multiple changes]
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. From-SVN: r178405
-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 685c16f..a1dd898 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 79d3e6c..6addd56 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 5f39c24..0779985 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;