aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-12-04 09:54:34 +0000
committerdos-reis <gdr@axiomatics.org>2007-12-04 09:54:34 +0000
commit547e421f7e57ca7526007c92332a0c2215e05567 (patch)
tree05ba73c7468e0abec6709efbb244d4f55b05e57b /src/interp
parente7e4c958b07fafbf896892f563634fdad8ca9fbf (diff)
downloadopen-axiom-547e421f7e57ca7526007c92332a0c2215e05567.tar.gz
* patches.lisp (|cd|): Make sure *default-pathname-defaults*
stores the new directory name with a trailing slash.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/ChangeLog5
-rw-r--r--src/interp/patches.lisp2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/interp/ChangeLog b/src/interp/ChangeLog
index f1c40d6f..d5b7235a 100644
--- a/src/interp/ChangeLog
+++ b/src/interp/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * patches.lisp (|cd|): Make sure *default-pathname-defaults*
+ stores the new directory name with a trailing slash.
+
2007-12-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
Support library function case.
diff --git a/src/interp/patches.lisp b/src/interp/patches.lisp
index b851f085..a28df227 100644
--- a/src/interp/patches.lisp
+++ b/src/interp/patches.lisp
@@ -71,7 +71,7 @@
#- (or :SBCL :GCL) (error "don't know how to chdir in this Lisp")
;; FIXME: some Lisps may not properly end the name with slash
;; investigate.
- (setf *default-pathname-defaults* dir)
+ (setf *default-pathname-defaults* (|ensureTrailingSlash| dir))
(|sayKeyedMsg| 'S2IZ0070
(list (namestring *default-pathname-defaults*)))))