From a17eff78784195dea6977a294abcac4d2e2cb9f1 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 10 Aug 2018 09:46:31 +0900 Subject: [PATCH 1/2] C function name of make-random-state is MAKERANDOMSTATE the commit https://github.com/euslisp/EusLisp/pull/143 was not tested when the source is compiled --- lisp/comp/builtins.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comp/builtins.l b/lisp/comp/builtins.l index 180e0b5b0..ad16a3aa6 100644 --- a/lisp/comp/builtins.l +++ b/lisp/comp/builtins.l @@ -51,7 +51,7 @@ (def-builtin-entry 'LISP:ASH "ASH") (def-builtin-entry 'LISP:LDB "LDB") (def-builtin-entry 'LISP:DPB "DPB") -(def-builtin-entry 'LISP:MAKE-RANDOM-STATE "MAKE-RANDOM-STATE") +(def-builtin-entry 'LISP:MAKE-RANDOM-STATE "MAKERANDOMSTATE") (def-builtin-entry 'LISP:RANDOM "RANDOM") (def-builtin-entry 'LISP:AREF "AREF") (def-builtin-entry 'LISP:ASET "ASET") From 8441d3dd02970dba6d6710ca29f51bd9623aac56 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 10 Aug 2018 09:48:22 +0900 Subject: [PATCH 2/2] enable to run compile-file with direcotry currently is valied but is not Not sure why no body have ever complain this.... --- lisp/comp/comp.l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/comp/comp.l b/lisp/comp/comp.l index 0b9217fd6..7a23be2d7 100644 --- a/lisp/comp/comp.l +++ b/lisp/comp/comp.l @@ -1225,6 +1225,8 @@ *verbose* verbose) (unless (send (pathname file) :directory) (setq file (namestring (merge-pathnames "./" file)))) + (when (and (null o) (send (pathname file) :directory)) + (setq o (send (pathname file) :directory-string))) (when o (setq o (pathname o)) (setq o (merge-pathnames o file))