output file unexpectedly deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
When a stream is opened for output, the file may be unexpectedly deleted. I've found that I can reproduce the error with an example from the hyperspec:
From Function DELETE-FILE:
(with-open-file (s "delete-me.text" :direction :output :if-exists :error)
(delete-file s))
couldn't delete /home/deox/
No such file or directory
[Condition of type SB-INT:
I would expect this to return T, as described in the hyperspec.
SBCL 1.0.30
Linux 2.6.28-14-generic x86_64 GNU/Linux
(:SB-BSD-
:ASDF :SB-THREAD :ANSI-CL :COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB
:SB-PACKAGE-LOCKS :SB-UNICODE :SB-EVAL :SB-SOURCE-
:IEEE-
:STACK-
:COMPARE-
:STACK-
:STACK-
:CYCLE-COUNTER :COMPLEX-FLOAT-VOPS :FLOAT-EQL-VOPS :INLINE-CONSTANTS
:OS-PROVIDES-