From avodonosov at yandex.ru Sun Jun 29 07:07:42 2008 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Sun Jun 29 07:07:37 2008 Subject: [cl-plus-ssl-devel] trivial-gray-streams: better CLISP support for stream-read-sequence, stream-write-sequence In-Reply-To: <4785499.20080410001427@yandex.ru> References: <4785499.20080410001427@yandex.ru> Message-ID: <1379217132.20080629140742@yandex.ru> The previous patch has an error (stream-position function undefined for newer CLISPs). The correct patch (against CVS HEAD) is attached. Best regards -Anton on Thursday, April 10, 2008, 12:14:27 AM Anton wrote: > Hello. > Attached is a patch for better support of stream-read-sequence and > stream-write-sequence in CLISP (CLISP recently implemented these > functions). > An example of the problem solved by the patch is in the second > attach. > Best regards, > -Anton -------------- next part -------------- A non-text attachment was scrubbed... Name: better-clisp.diff Type: application/octet-stream Size: 2223 bytes Desc: not available Url : http://common-lisp.net/pipermail/cl-plus-ssl-devel/attachments/20080629/425cd140/better-clisp.obj From avodonosov at yandex.ru Sun Jun 29 07:18:36 2008 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Sun Jun 29 07:18:31 2008 Subject: [cl-plus-ssl-devel] ffi-buffer-clisp error Message-ID: <1438384044.20080629141836@yandex.ru> File ffi-buffer-clisp.lisp. There is an error in calculation of the length of sequence to copy between native buffer and lisp vector. The length must be minimum of the buffer part length and the vector part length. The attached patch implements that fix. Best regards, -Anton -------------- next part -------------- A non-text attachment was scrubbed... Name: ffi-buffer-clisp.diff Type: application/octet-stream Size: 2039 bytes Desc: not available Url : http://common-lisp.net/pipermail/cl-plus-ssl-devel/attachments/20080629/c8a6441a/ffi-buffer-clisp.obj