X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsunos-os.lisp;h=63e4e3187e235c13f5e425408ba9d9224cd71032;hb=6ddaf294e5a7e3b1792ed1d9c342894c38538773;hp=9aad8b68e513328e8fc69cc9418963142ad8afbb;hpb=0d669e68a1ffbea42af6216f2ae8c7d7ca12ffb6;p=sbcl.git diff --git a/src/code/sunos-os.lisp b/src/code/sunos-os.lisp index 9aad8b6..63e4e31 100644 --- a/src/code/sunos-os.lisp +++ b/src/code/sunos-os.lisp @@ -18,7 +18,7 @@ (defun software-type () #!+sb-doc "Return a string describing the supporting software." - (values "Solaris")) + (values "SunOS")) (defvar *software-version* nil) @@ -28,23 +28,23 @@ if not available." (or *software-version* (setf *software-version* - (string-trim '(#\newline) - (with-output-to-string (stream) - (sb!ext:run-program "/bin/uname" `("-r") - :output stream)))))) + (string-trim '(#\newline) + (with-output-to-string (stream) + (sb!ext:run-program "/bin/uname" `("-r") + :output stream)))))) (defun os-cold-init-or-reinit () ; KLUDGE: don't know what to do here - (/show "entering solaris-os.lisp OS-COLD-INIT-OR-REINIT") + (/show "entering sunos-os.lisp OS-COLD-INIT-OR-REINIT") (setf *software-version* nil) (/show "setting *DEFAULT-PATHNAME-DEFAULTS*") (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/))) - (/show "leaving solaris-os.lisp OS-COLD-INIT-OR-REINIT")) + ;; (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/))) + (/show "leaving sunos-os.lisp OS-COLD-INIT-OR-REINIT")) ;;; Return system time, user time and number of page faults. (defun get-system-info () @@ -62,4 +62,5 @@ ;; FIXME: Or we could just get rid of this, since the uses of it look ;; disposable. ;; FIXME II: this could well be wrong - 8192) + #!+sparc 8192 + #!+x86 4096)