CVS difference for ais/ai-00227.txt

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

--- ais/ai-00227.txt	2000/03/15 18:52:56	1.2
+++ ais/ai-00227.txt	2000/03/16 21:43:10	1.3
@@ -1,4 +1,4 @@
-!standard 13.13.1    (4)                             00-03-15  AI95-00227/02
+!standard 13.13.1    (4)                             00-03-16  AI95-00227/03
 !standard 13.13.1    (5)
 !standard 13.13.1    (8)
 !class binding interpretation 00-03-15
@@ -86,11 +86,12 @@
 element transferred is returned in Last. Last is less than Item'Last only if
 the end of the stream is reached.
 @dby
-The Read operation transfers Item'Length stream elements from the
-specified stream to fill the array Item. If elements are transferred, the index
-of the last stream element transferred is returned in Last. If no elements are
-transferred, Item'First - 1 is returned in Last. Last is less than Item'Last
-only if the end of the stream is reached.
+The Read operation transfers stream elements from the specified stream to fill
+the array Item. Elements are transferred until Item'Length items have been
+transferred, or until the end of the stream is reached. If any elements are
+transferred, the index of the last stream element transferred is returned in
+Last. Otherwise, Item'First - 1 is returned in Last. Last is less than
+Item'Last only if the end of the stream is reached.
 
 !corrigendum 13.13.01(10)
 
@@ -454,6 +455,42 @@
 
 I now agree with you that the wording needs fixing.  I would rewrite
 it in the spirit of the wording used for Get_Line -- A.10.7(20).
+
+*************************************************************
+
+From: Tucker Taft
+Sent: Wednesday, March 15, 2000 2:45 PM
+
+Randy Brukardt wrote:
+> ...
+>
+> @drepl
+> The Read operation transfers Item'Length stream elements from the
+> specified stream to fill the array Item. The index of the last stream
+> element transferred is returned in Last. Last is less than Item'Last only if
+> the end of the stream is reached.
+> @dby
+> The Read operation transfers Item'Length stream elements from the
+> specified stream to fill the array Item. If elements are transferred, the
+> index
+> of the last stream element transferred is returned in Last. If no elements
+> are
+> transferred, Item'First - 1 is returned in Last. Last is less than Item'Last
+> only if the end of the stream is reached.
+
+This wording still seems a little screwy.  Why say "the Read
+operation transfers Item'Length..." and then immediately thereafter
+contradict it?   We should indicate that it transfers Item'Length
+stream elements, or all of the stream elements until the end of the stream,
+whichever is less.
+
+*************************************************************
+
+From: Randy Brukardt
+Sent: Wednesday, March 15, 2000 7:34 PM
+
+I of course made the minimum change. I have no objection to a more sweeping
+change.
 
 *************************************************************
 

Questions? Ask the ACAA Technical Agent