CVS difference for ais/ai-00063.txt

Differences between 1.1 and version 1.2
Log of other versions for file ais/ai-00063.txt

--- ais/ai-00063.txt	1998/09/30 00:17:12	1.1
+++ ais/ai-00063.txt	1999/07/09 21:42:06	1.2
@@ -1,5 +1,6 @@
-!standard A.10.3   (23)                               96-10-03  AI95-00063/04
+!standard A.10.3   (23)                               99-07-09  AI95-00063/05
 !class binding interpretation 95-07-06
+!status Corrigendum 2000 99-05-24
 !status WG9 approved 96-12-07
 !status ARG approved (letter ballot was 12-0-0) 96-10-03
 !status ARG approved 8-0-1 (subject to letter ballot) 96-06-17
@@ -9,12 +10,12 @@
 !difficulty Medium
 !subject Erroneous execution for closing default files
 
-!summary 95-07-06
+!summary
 
 An operation on a default file is erroneous if the corresponding file
 object is closed at the time the operation is invoked.
 
-!question 96-07-23
+!question
 
 A.10.3(23) states:
 
@@ -36,15 +37,15 @@
     Set_Output(File_2);
     Put(X); -- Erroneous?  (No.)
 
-!recommendation 96-07-23
+!recommendation
 
 (See summary.)
 
-!wording 96-07-23
+!wording
 
 Replace A.10.3(23) with the wording in the summary above.
 
-!discussion 96-07-23
+!discussion
 
 The above interpretation makes the most sense -- it doesn't make sense
 for a close to forever poison the default file.  That is, if you close
@@ -56,7 +57,22 @@
 In the above example, if there were no "Set_Output(File_2);", then
 execution would be erroneous.
 
-!appendix 95-07-06
+!corrigendum A.10.03(23)
+
+@drepl
+If the Close operation is applied to a file object that is also serving
+as the default input, default output, or default error file, then subsequent
+operations on such a default file are erroneous.
+@dby
+An operation on a default file is erroneous if the corresponding file
+object is closed at the time the operation is invoked.
+
+!ACATS test
+
+The ACATS test CE3902B prompted the AI. It resembles the example in the
+question and tests this rule effectively.
+
+!appendix
 
 !section A.10.3(23)
 !subject After a default file is Closed ... ?

Questions? Ask the ACAA Technical Agent