X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fosf1-os.lisp;h=2171c8eeefcaffd1c7f941ada0dec4afebf1350a;hb=7f1e94ae961a198e00daf281eb1dc858e5b2dcc7;hp=496e6b248bcb6cb951b758764f56537d943c3edd;hpb=48f92d19cf12f3aff81a29a786970264a523bc7a;p=sbcl.git diff --git a/src/code/osf1-os.lisp b/src/code/osf1-os.lisp index 496e6b2..2171c8e 100644 --- a/src/code/osf1-os.lisp +++ b/src/code/osf1-os.lisp @@ -20,31 +20,16 @@ "Return a string describing the supporting software." (values "OSF/1")) -(defvar *software-version* nil) - (defun software-version () #!+sb-doc "Return a string describing version of the supporting software, or NIL 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)))))) - -(defun os-cold-init-or-reinit () ; KLUDGE: don't know what to do here - (/show "entering osf1-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 osf1-os.lisp OS-COLD-INIT-OR-REINIT")) + (string-trim '(#\newline) + (with-output-to-string (stream) + (sb!ext:run-program "/bin/uname" `("-r") + :output stream)))))) ;;; Return system time, user time and number of page faults. (defun get-system-info () @@ -62,3 +47,7 @@ ;; FIXME: Or we could just get rid of this, since the uses of it look ;; disposable. 4096) + +;;; support for CL:MACHINE-VERSION defined OAOO elsewhere +(defun get-machine-version () + nil)