1.0.15.1: Fix asdf-install for HTTP servers that omit the Length: header.
authorAndreas Fuchs <asf@boinkor.net>
Wed, 27 Feb 2008 16:56:27 +0000 (16:56 +0000)
committerAndreas Fuchs <asf@boinkor.net>
Wed, 27 Feb 2008 16:56:27 +0000 (16:56 +0000)
Make copy-stream use the output stream's element type, as the input stream
is very likely to be a bivalent stream, which will report CHARACTER, leading
to incompatible element-types.

contrib/asdf-install/installer.lisp
version.lisp-expr

index b43f15a..b55532a 100644 (file)
 
 
 (defun copy-stream (in out)
-  (let ((buf (make-array 8192 :element-type (stream-element-type in))))
+  (let ((buf (make-array 8192 :element-type (stream-element-type out))))
     (loop for pos = (read-sequence buf in)
           until (zerop pos)
           do (write-sequence buf out :end pos))))
index 3f7a36a..35162a0 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.15"
+"1.0.15.1"