1.0.28.59: give UNIX-NAMESTRING the chop
[sbcl.git] / contrib / sb-simple-streams / impl.lisp
index d3e3293..014c852 100644 (file)
   (if (typep stream 'file-simple-stream)
       (with-stream-class (file-simple-stream stream)
         (setf (sm pathname stream) new-name)
-        (setf (sm filename stream) (sb-int:unix-namestring new-name nil))
+        (setf (sm filename stream) (file-namestring new-name))
         t)
       nil))
 
@@ -1097,7 +1097,7 @@ is supported only on simple-streams."
      (cond (new-name
             (setf (sb-impl::fd-stream-pathname stream) new-name)
             (setf (sb-impl::fd-stream-file stream)
-                  (sb-int:unix-namestring new-name nil))
+                  (file-namestring new-name))
             t)
            (t
             (sb-impl::fd-stream-pathname stream))))))