[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: firstname.lastname@example.org
- Subject: DISALLOW-CLOSED-STREAM-FUNCTIONS
- From: chapman%aitg.DEC@decwrl.dec.com
- Date: Tue, 30 Aug 88 11:57:21 PDT
References: CLOSE (p 332)
Edit history: 26-Aug-88, Version 1 by Chapman
The description of CLOSE is not completely clear about the functions
which are allowed to be performed on a closed stream.
On p332 it says:
"The stream is closed. No further Input/output operations may be
performed on it. However, certain inquiry operations may still
be performed, ..."
but the list of inquiry operations is not specified.
At least one implementation interpreted the list to include
at least OUTPUT-STREAM-P, while another has disallowed that operation
to be performed on a closed stream.
Clarify that it is an error to perform any operation on a closed stream.
This clarification allows existing implementations to maintain the status
quo, while alerting users to the fact that the result of performing
an operation on a closed stream is undefined in the standard.
Also, the descriptions of OUTPUT-STREAM-P and INPUT-STREAM-P indicate
that these functions can only be performed on streams that have not
At least two implementations differ in which functions are allowed to be
performed on a closed stream.
This clarification will assist users in writing portable code.