From: Andreas F. <as...@bo...> - 2004-09-05 22:06:10
|
Hi all, I was trying to rewrite the autobenchmarker in maintainable CL instead of the mess of shell scripts that it is now; obviously, I'm going to hit a few obstacles related to path names. Among them, something that looks like a bug to me (this is (TRACE RENAME-FILE) output): * (rename-file (make-pathname :DIRECTORY '(:ABSOLUTE "home" "asf" "dl" "arch" "sbcl--main" "output") :NAME "sbcl.core") (make-pathname :DIRECTORY '(:ABSOLUTE "home" "asf" "hack" "sb-bench" "build-archive" "sbcl" "0.8.14") :NAME "sbcl.core")) #P"/home/asf/hack/sb-bench/build-archive/sbcl/0.8.14/sbcl.core.core" #P"/home/asf/dl/arch/sbcl--main/output/sbcl.core" #P"/home/asf/hack/sb-bench/build-archive/sbcl/0.8.14/sbcl.core.core" What I'm trying to do is rename .../sbcl.core to build-archive/sbcl/version/sbcl.core. What I get is build-archive/sbcl/version/sbcl.core.core. Is this expected when :type is NIL? Should I start playing with :type? (I was hoping to avoid that because files will grow a ".gz" suffix sometimes, and I don't want to handle dreadful :type munging, as well) Help, (-: -- Andreas Fuchs, <as...@bo...>, as...@ja..., antifuchs |