X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-simple-streams%2Fiodefs.lisp;fp=contrib%2Fsb-simple-streams%2Fiodefs.lisp;h=43314f86b14c417d5e332e32d2cd944c43d36c29;hb=be6abfb75a76eb69a417ff09fd6b0f41e708f8c3;hp=daff1a914bdd3910fc642f1e6f5b4705eb5d7665;hpb=e4c6f7338e2ca63cef6f82fbd8f88bc9264c292e;p=sbcl.git diff --git a/contrib/sb-simple-streams/iodefs.lisp b/contrib/sb-simple-streams/iodefs.lisp index daff1a9..43314f8 100644 --- a/contrib/sb-simple-streams/iodefs.lisp +++ b/contrib/sb-simple-streams/iodefs.lisp @@ -14,6 +14,9 @@ (in-package "SB-SIMPLE-STREAMS") +(defun file-namestring (pathname) + (sb-ext:native-namestring (sb-int:physicalize-pathname pathnane) :as-file t)) + (defmacro def-stream-class (name superclasses slots &rest options) `(defclass ,name ,superclasses ,slots ,@options))