* Reported by Richard Kreuter on sbcl-help.
* Add DEFTRANSFORMS for common cases.
* bug fix: use of MAKE-METHOD in method combination now works even
in the presence of user-defined method classes. (reported by
Bruno Haible and Pascal Costanza)
+ * bug fix: erronous calls to PATHNAME were being optimized away.
+ (reported by Richard Kreuter)
changes in sbcl-0.9.15 relative to sbcl-0.9.14:
* added support for the ucs-2 external format. (contributed by Ivan
(defknown load-logical-pathname-translations (string) t ())
(defknown logical-pathname-translations (logical-host-designator) list ())
-(defknown pathname (pathname-designator) pathname (unsafely-flushable))
+(defknown pathname (pathname-designator) pathname ())
(defknown truename (pathname-designator) pathname ())
(defknown parse-namestring
(funcall control *standard-output* ,@arg-names)
nil)))
+(deftransform pathname ((pathspec) (pathname) *)
+ 'pathspec)
+
+(deftransform pathname ((pathspec) (string) *)
+ '(values (parse-namestring pathspec)))
+
(macrolet
((def (name)
`(defoptimizer (,name optimizer) ((control &rest args))
`(let* ((acons (assoc quality-name policy))
(result (or (cdr acons) 1)))
result))
+
(assert (not (pathname-directory p)))
p))))
+;;; reported by Richard Kreuter: PATHNAME used to be unsafely-flushable
+(assert (eq :false (if (ignore-errors (pathname nil)) :true :false)))
+
\f
;;;; success
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.15.12"
+"0.9.15.13"