wanted: run-program stream option completeness
Bug #789817 reported by
Nikodemus Siivola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Won't Fix
|
Low
|
Unassigned |
Bug Description
There's no way to say :IF-OUTPUT-
Similarly for error.
:IF-INPUT-
To post a comment you must log in.
Assuming that `open` is used and these options are passed through in the obvious way, I would not expect such a new flag to be necessary. The difference between :if-output-exists :overwrite and :if-output-exists :supersede would be exactly that the former should also have an effect like :if-output- does-not- exist :error, no? That's my understanding of http:// clhs.lisp. se/Body/ f_open. htm
You get to set
:if-output-exists :overwrite -> :error if it does not exists
:if-output-exists :supersede -> :create if it does not exist
:if-output-exists :append -> :error if it does not exist
:if-output-exists :error -> :create if it does not exist
I think those four cases cover everything that one would want, no?