Commit d303f15bd7f62bc6b86f4e084496e6c0c28741fd

Thomas de Grivel 2018-02-05T02:02:24

STREAM-

diff --git a/unistd-stream.lisp b/unistd-stream.lisp
index 579e12d..9b1fa08 100644
--- a/unistd-stream.lisp
+++ b/unistd-stream.lisp
@@ -54,7 +54,7 @@
 (defmethod stream-element-type ((stream unistd-stream))
   '(unsigned-byte 8))
 
-(defmethod close ((stream unistd-stream))
+(defmethod stream-close ((stream unistd-stream))
   (unistd:close (stream-fd stream))
   (call-next-method))
 
@@ -151,7 +151,7 @@
   (:documentation "A buffered input/output stream using
 UNISTD:READ and UNISTD:WRITE."))
 
-(defmethod close ((stream unistd-io-stream))
+(defmethod stream-close ((stream unistd-io-stream))
   (call-next-method)
   (cffi:foreign-free (stream-input-buffer stream))
   (cffi:foreign-free (stream-output-buffer stream)))