0.8.19.32:
[sbcl.git] / src / code / bsd-os.lisp
index 4152ae2..6a96ee9 100644 (file)
@@ -16,7 +16,9 @@
   "Return a string describing the supporting software."
   (the string ; (to force error in case of unsupported BSD variant)
        #!+FreeBSD "FreeBSD"
-       #!+OpenBSD "OpenBSD"))
+       #!+OpenBSD "OpenBSD"
+       #!+NetBSD "NetBSD"
+       #!+Darwin "Darwin"))
 
 (defvar *software-version* nil)
 
 (defun os-cold-init-or-reinit ()
   (setf *software-version* nil)
   (setf *default-pathname-defaults*
+       ;; (temporary value, so that #'PATHNAME won't blow up when
+       ;; we call it below:)
+       (make-trivial-default-pathname)
+       *default-pathname-defaults*
+       ;; (final value, constructed using #'PATHNAME:)
        (pathname (sb!unix:posix-getcwd/))))
 
 ;;; Return system time, user time and number of page faults.