X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Funix.lisp;h=9959ae42c052e30a068a7cd644088c89dea26c33;hb=9603675940cce3bcac93b354dca62d20c991cbce;hp=0a25f7b6240ac08200ae3ebe4498119ec5823a60;hpb=d8a2257f9520d72cc38178b32029fa5f0e6519dd;p=sbcl.git diff --git a/src/code/unix.lisp b/src/code/unix.lisp index 0a25f7b..9959ae4 100644 --- a/src/code/unix.lisp +++ b/src/code/unix.lisp @@ -395,15 +395,15 @@ corresponds to NAME, or NIL if there is none." ;; comma not inside a backquote. This error has absolutely nothing ;; to do with the actual meaning of the error (and little to do with ;; its location, either). - #!-(or linux openbsd freebsd netbsd sunos osf1 darwin win32) (,stub,) - #!+(or linux openbsd freebsd netbsd sunos osf1 darwin win32) + #!-(or linux openbsd freebsd netbsd sunos osf1 darwin hpux win32) (,stub,) + #!+(or linux openbsd freebsd netbsd sunos osf1 darwin hpux win32) (or (newcharstar-string (alien-funcall (extern-alien "getcwd" (function (* char) (* char) size-t)) nil #!+(or linux openbsd freebsd netbsd darwin win32) 0 - #!+(or sunos osf1) 1025)) + #!+(or sunos osf1 hpux) 1025)) (simple-perror "getcwd"))) ;;; Return the Unix current directory as a SIMPLE-STRING terminated