[alexandria.git] updated branch master: 95f8d22 Fix COPY-STREAM when called without an explicit END argument.
Attila Lendvai
alendvai at common-lisp.net
Wed Mar 7 03:40:02 UTC 2012
The branch master has been updated:
via 95f8d2213e3c4be345f0bdf4d06ab82ade67d898 (commit)
from e1c8ede0ebaac5026c7dd2e8a1cc450a58455ae5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 95f8d2213e3c4be345f0bdf4d06ab82ade67d898
Author: Zach Beane <xach at xach.com>
Date: Wed Mar 7 09:35:42 2012 +0600
Fix COPY-STREAM when called without an explicit END argument.
-----------------------------------------------------------------------
Summary of changes:
io.lisp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/io.lisp b/io.lisp
index 637c9be..ee89cb0 100644
--- a/io.lisp
+++ b/io.lisp
@@ -115,7 +115,8 @@ compatible element-types."
(check-type start non-negative-integer)
(check-type end (or null non-negative-integer))
(check-type buffer-size positive-integer)
- (when (< end start)
+ (when (and end
+ (< end start))
(error "END is smaller than START in ~S" 'copy-stream))
(let ((output-position 0)
(input-position 0))
--
Alexandria hooks/post-receive
More information about the alexandria-cvs
mailing list