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;