(0004707)
kre (reporter)
2020-01-06 23:57
|
An alternative resolution might be to change line 113704 (page 3375)
(this is the line quoted in the Description of this issue from the STDIN
section) so that it says something like:
If standard input is not a terminal device, and no error is detected,
the results are undefined. If an error occurs, see below in the
CONSEQUENCES OF ERRORS for the appropriate result.
Note: do not read this as a strong preference for this version over the
Desired Action, I just have a general preference for less undefined cases
rather than more whenever it is possible. Here I am not sure what actual
vi implementations do when input is not a terminal (when some error occurs).
Also, does this really need (when there is no error, and perhaps when there
is) to be undefined, rather than unspecified? |