zone.lisp: Fix default output directory.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Apr 2014 11:00:49 +0000 (12:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 15 Apr 2014 13:12:04 +0000 (14:12 +0100)
commit3d7852d98d9a540ce6b68a4ed26d170c78c7a2c7
treea876c868e36229db8c89faa05b0e22a1cea3be3f
parentf1d7d492baa865026add48fa604328c87ac7042e
zone.lisp: Fix default output directory.

The code used to capture `*default-pathname-defaults*' in
`*zone-output-path*' at load time, which (varying by implementation)
might indicate the calling process's working directory, or might be the
directory from which the file was loaded.  The latter is obviously
wrong, so we adopt the convention in `zone-file-name' that if
`*zone-output-path*' is nil then we use `*default-pathname-defaults'
from the time of the call.
zone.lisp