Problems with read and delivery level 5 on LWW 4.3.7
This code (read.lisp):
(defun test ()
(with-open-file (i "/tmp/test-in.txt")
(let ((data (read i nil)))
(let ((foo (cdr (assoc 'foo data))))
(with-open-file (o "/tmp/test-out.txt" :direction :output :if-exists
:supersede)
(format o "data: ~A~%foo: ~A~%" data foo))))))
with test-in.txt:
((foo . "Hello"))
produces test-out.txt:
data: ((FOO . Hello))
foo: Hello
But when I deliver it like this:
(load-all-patches)
(compile-file-if-needed (current-pathname "c:/tmp/read.lisp") :load t)
(deliver 'test "read" 5 :keep-lisp-reader t)
(quit)
and start the read.exe, the test-out.txt looks like this:
data: ((FOO . Hello))
foo: NIL
How can I fix it, using delivery level 5?
--
Frank Buß, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de