sionescu / iolib

Common Lisp I/O library
http://common-lisp.net/project/iolib/
MIT License
141 stars 31 forks source link

Fix gray-stream read-sequence for when (<= start end) #2

Closed jasom closed 12 years ago

jasom commented 12 years ago

I discovered this with code that would do a (read-sequence buffer stream :start 0 :end length) where length was occasionally 0. There is nothing in the specification to make me think this shouldn't work.

sionescu commented 12 years ago

Merged a slightly different version, thanks :)