projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.21.16:
[sbcl.git]
/
src
/
cold
/
shared.lisp
diff --git
a/src/cold/shared.lisp
b/src/cold/shared.lisp
index
95f125a
..
c6f9922
100644
(file)
--- a/
src/cold/shared.lisp
+++ b/
src/cold/shared.lisp
@@
-170,7
+170,13
@@
(setf tmp-obj
;; (Note that this idiom is taken from the ANSI
;; documentation for TRUENAME.)
(setf tmp-obj
;; (Note that this idiom is taken from the ANSI
;; documentation for TRUENAME.)
- (with-open-file (stream tmp-obj :direction :output)
+ (with-open-file (stream tmp-obj
+ :direction :output
+ ;; Compilation would overwrite the
+ ;; temporary object anyway and overly
+ ;; strict implementations default
+ ;; to :ERROR.
+ :if-exists :supersede)
(close stream)
(truename stream)))
;; and some compilers (e.g. OpenMCL) will complain if they're
(close stream)
(truename stream)))
;; and some compilers (e.g. OpenMCL) will complain if they're