[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OPEN for :OUTPUT with version :NEWEST
- To: Daniel L. Weinreb <DLW%SCRC-TENEX%MIT-MC@SU-DSN>
- Subject: OPEN for :OUTPUT with version :NEWEST
- From: Rob MacLachlan <RAM@CMU-CS-C>
- Date: Wed, 22 Jun 1983 11:28:00 -0000
- Cc: common-lisp@SU-AI, KMP%MIT-MC@SU-DSN
- In-reply-to: Msg of 22 Jun 1983 06:46-EDT from Daniel L. Weinreb <DLW%SCRC-TENEX%MIT-MC at SU-DSN>
I would agree that some clarification is called for. I have been
in the position of having to write implementation independant file
handling code for the Hemlock text editor I am working on, and I have
had some difficulty. In the DEC VAX implementation I have been using,
the implementer evidently decided that if an explicit version is
specified then an attempt to open for write will error, not supersede,
regardless of the :if-exists option. Perhaps this is wrong, but the
manual is not very clear on this point.
Another point about versions; not all operating systems have any
real concept of versions. It would seem dubious to forbid an
implementation of Common Lisp on UNIX.
It seems to me that the entire point of Pathnames is that they (may)
permit implementation independant file handling code to be written.
Implementers should be given plenty of rope, but it should be possible
to say something as simple as "I want to write this file" in a
portable fashion, or the whole exercise is pointless.