CVS difference for ai05s/ai05-0285-1.txt

Differences between 1.2 and version 1.3
Log of other versions for file ai05s/ai05-0285-1.txt

--- ai05s/ai05-0285-1.txt	2012/02/04 09:07:39	1.2
+++ ai05s/ai05-0285-1.txt	2012/03/10 02:28:48	1.3
@@ -1,4 +1,4 @@
-!standard  A.17(4/2)                               12-01-27    AI05-0285-1/01
+!standard  A.17(4/2)                               12-02-24    AI05-0285-1/02
 !standard  A.17(11/2)
 !class Amendment 12-01-27
 !status Amendment 2012 12-01-27
@@ -31,14 +31,17 @@
 
    function Value (Name : in String; Default : in String) return String;
 
-      If the external execution environment supports environment variables,
-      then Value returns the value of the environment variable with the given
-      name. If no environment variable with the given name exists, then
-      Default is returned. If the execution environment does not support
-      environment variables, then Program_Error is propagated.
+      If an environment variable with the given name exists, returns its value.
+      Otherwise, returns Default.
 
+      AARM Note: On an implementation that does not support environment variables,
+      the "Otherwise" above will apply. Duh.
+
 !discussion
 
+Not only is the two-step process inconvenient, it could cause a race condition if
+another process could modify the variable.
+
 !corrigendum A.17(4/2)
 
 @dinsa
@@ -55,10 +58,8 @@
 does not support environment variables, then Program_Error is propagated.>
 @dinss
 @xcode<@b<function> Value (Name : @b<in> String; Default : @b<in> String) @b<return> String;>
-@xindent<If the external execution environment supports environment variables, then Value
-returns the value of the environment variable with the given name. If no environment variable
-with the given name exists, then Default is returned. If the execution environment
-does not support environment variables, then Program_Error is propagated.>
+@xindent<If an environment variable with the given name exists, returns its value.
+Otherwise, returns Default.>
 
 !ACATS Test
 

Questions? Ask the ACAA Technical Agent