summaryrefslogtreecommitdiff
path: root/gcc/ada/g-socket.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-08 18:03:10 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-08 18:03:10 +0000
commit75209ec580b15561fd2cfdaac8d170ddac358633 (patch)
treeeba6429960aa993a1e3a9b1deefd4dc536eb9375 /gcc/ada/g-socket.ads
parentfee96e903d674e86f46f067a8c3c584fca56e204 (diff)
downloadgcc-75209ec580b15561fd2cfdaac8d170ddac358633.tar.gz
2009-04-08 Robert Dewar <dewar@adacore.com>
* checks.adb (Enable_Overflow_Check): Do not enable if overflow checks suppressed. * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all resolution steps. 2009-04-08 Robert Dewar <dewar@adacore.com> * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for No_Local_Allocators restriction preventing local instantiation. 2009-04-08 Thomas Quinot <quinot@adacore.com> * sem_eval.adb: Minor comment fix 2009-04-08 Thomas Quinot <quinot@adacore.com> * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): New limited controlled type used to automate the initialization and finalization of the sockets implementation. (GNAT.Sockets.Initialize, Finalize): Make these no-ops 2009-04-08 Vincent Celier <celier@adacore.com> * prj-attr.adb: New read-only project-level attribute Project_Dir * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of read-only attribute of the same name. (Process_Declarative_Items): Call Add_Attributes with Project_Dir (Recursive_Process): Ditto * snames.adb: Add new standard name Project_Dir * snames.ads: Add new standard name Project_Dir git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-socket.ads')
-rw-r--r--gcc/ada/g-socket.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/g-socket.ads b/gcc/ada/g-socket.ads
index 7dddd3decea..9ea9ecc56b6 100644
--- a/gcc/ada/g-socket.ads
+++ b/gcc/ada/g-socket.ads
@@ -383,6 +383,8 @@ package GNAT.Sockets is
-- Note that this operation is a no-op on UNIX platforms, but applications
-- should make sure to call it if portability is expected: some platforms
-- (such as Windows) require initialization before any socket operation.
+ -- This is now a no-op (initialization and finalization are done
+ -- automatically).
procedure Initialize (Process_Blocking_IO : Boolean);
pragma Obsolescent
@@ -394,10 +396,14 @@ package GNAT.Sockets is
-- is built. The old version of Initialize, taking a parameter, is kept
-- for compatibility reasons, but this interface is obsolete (and if the
-- value given is wrong, an exception will be raised at run time).
+ -- This is now a no-op (initialization and finalization are done
+ -- automatically).
procedure Finalize;
-- After Finalize is called it is not possible to use any routines
-- exported in by this package. This procedure is idempotent.
+ -- This is now a no-op (initialization and finalization are done
+ -- automatically).
type Socket_Type is private;
-- Sockets are used to implement a reliable bi-directional point-to-point,