aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*)))))