[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions about OPEN
- To: "David A. Moon" <Moon@SCRC-RIVERSIDE.ARPA>
- Subject: Questions about OPEN
- From: Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- Date: Sat, 06 Oct 1984 05:55:00 -0000
- Cc: common-lisp@SU-AI.ARPA, "Robert (LISPer 68K)Heller" <heller%umass-cs.csnet@CSNET-RELAY.ARPA>
- In-reply-to: Msg of 6 Oct 1984 00:05-EDT from David A. Moon <Moon at SCRC-RIVERSIDE.ARPA>
I think that I mostly agree with your suggestions, but there are
some areas of confusion:
What should the semantics of Truename be as compared to
Probe-File? My original interpretation was:
(defun truename (file)
(or (probe-file file)
(error "File ~S does not exist." file)))
You seem to want to assign subtly different semantics to the two.
Under your interpretation of Truename, what is the name returned
when the stream is open for output and the file already existed? Is it:
1] The preexisting file?
2] The new file?
3] Either one?
4] Something else?
As we have discussed at length, 2 is impossible in some OS'es. 1 is
probably always possible, but might not be considered the most natural