1.0.25.15: less compilation warnings
[sbcl.git] / contrib / sb-posix / macros.lisp
index 018ff62..f80e714 100644 (file)
@@ -2,7 +2,8 @@
 
 (define-designator filename c-string
   (pathname
-   (sb-ext:native-namestring (translate-logical-pathname filename)))
+   (sb-ext:native-namestring (translate-logical-pathname filename)
+                             :as-file t))
   (string filename))
 
 (define-designator file-descriptor (integer 32)
@@ -34,6 +35,7 @@
           (etypecase name
             (list
              (destructuring-bind (name &key c-name options) name
+               (declare (ignorable options))
                (if c-name
                    c-name
                    (cond #+largefile