From 549e455803a0014098c187a65bc7e4ce783e8645 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 1 Sep 2011 12:52:10 +0200 Subject: [PATCH] [multiple changes] 2011-09-01 Tristan Gingold * g-socthi-vms.adb: Add comments. 2011-09-01 Pascal Obry * prj.ads: Minor reformatting. From-SVN: r178405 --- gcc/ada/ChangeLog | 8 ++++++++ gcc/ada/g-socthi-vms.adb | 8 +++++--- gcc/ada/prj.ads | 6 +++--- 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 + + * g-socthi-vms.adb: Add comments. + +2011-09-01 Pascal Obry + + * prj.ads: Minor reformatting. + 2011-09-01 Vincent Celier * 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; -- 2.30.2