[osicat-devel] Fix out-getuid for Clisp

12 Jan
2012
12 Jan
'12
11:20 a.m.
Clisp doesn't have (posix:getuid) function, instead it uses (posix:uid). Here's small patch to fix it in osicat tests. Timo diff --git a/tests/tests.lisp b/tests/tests.lisp index 2710a8f..7d0c399 100644 --- a/tests/tests.lisp +++ b/tests/tests.lisp @@ -59,6 +59,6 @@ (defun our-getuid () #+sbcl (sb-unix:unix-getuid) #+cmu (unix:unix-getuid) - #+clisp (posix:getuid) + #+clisp (posix:uid) #+allegro (excl.osi:getuid) #-(or sbcl cmu clisp allegro) 0) ; A sane enough default for testing?
4788
Age (days ago)
4866
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nikodemus Siivola
-
Timo Myyrä