#+unix needed for both :pathname and the path.

Bug #944792 reported by Pascal J. Bourguignon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IOLib
Confirmed
Wishlist
Stelian Ionescu

Bug Description

iolib.syscalls.asd was missing #+unix before :pathname; here is the corrected file:
--------------------------------------------------------------------------------------------------------------------
;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-

(eval-when (:compile-toplevel :load-toplevel :execute)
  (asdf:oos 'asdf:load-op :iolib.base)
  (asdf:oos 'asdf:load-op :cffi-grovel))

(in-package :iolib.asdf)

(defsystem :iolib.syscalls
  :description "Syscalls and foreign types."
  :maintainer "Stelian Ionescu <email address hidden>"
  :version #.(with-open-file (f (merge-pathnames "../version.lisp-expr"
                                                 (or *compile-file-pathname*
                                                     *load-truename*)))
               (read f))
  :licence "MIT"
  :depends-on (:trivial-features :cffi :cffi-grovel :iolib.base)
  :default-component-class iolib-source-file
  :pathname #-asdf2 (merge-pathnames "syscalls/" *load-truename*)
            #+asdf2 "syscalls/"
  :components
  ((:file "pkgdcl")
   #+unix
   (:file "syscall-path-strings" :pathname "unix-syscall-path-strings")
   ;; Platform-specific files
   (cffi-grovel:grovel-file "ffi-types" #+unix :pathname #+unix "ffi-types-unix")
   (:file "conditions")
   (:file "os-conditions" #+unix :pathname #+unix "os-conditions-unix")
   (:file "designators")
   (:file "early")
   (cffi-grovel:wrapper-file "ffi-wrappers" #+unix :pathname #+unix "ffi-wrappers-unix"
     :soname "libiolib-syscalls")
   (:file "ffi-functions" #+unix :pathname #+unix "ffi-functions-unix"))
  :serial t)

Revision history for this message
Pascal J. Bourguignon (pjb-informatimago) wrote :

Same for iolib.os.asd and iolib.pathname.asd.

Revision history for this message
Stelian Ionescu (sionescu) wrote :

That's intentional: it signals that it doesn't work on Windows. When the port will be complete it will have #+windows everywhere

Changed in iolib:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Stelian Ionescu (sionescu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.