0.8.13.21:
authorChristophe Rhodes <csr21@cam.ac.uk>
Wed, 4 Aug 2004 10:45:31 +0000 (10:45 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Wed, 4 Aug 2004 10:45:31 +0000 (10:45 +0000)
Implement INPUT-STREAM-P and OUTPUT-STREAM-P methods on
FUNDAMENTAL-STREAM
... should do the right thing, even in the presence of multiple
inheritance.

src/pcl/gray-streams.lisp
version.lisp-expr

index a99099f..2b0cc85 100644 (file)
   
   (defmethod input-stream-p ((stream ansi-stream))
     (ansi-stream-input-stream-p stream))
-  
+
+  (defmethod input-stream-p ((stream fundamental-stream))
+    nil)
+
   (defmethod input-stream-p ((stream fundamental-input-stream))
     t)
 
   (defmethod output-stream-p ((stream ansi-stream))
     (ansi-stream-output-stream-p stream))
 
+  (defmethod output-stream-p ((stream fundamental-stream))
+    nil)
+  
   (defmethod output-stream-p ((stream fundamental-output-stream))
     t)
 
index 39daff2..ffba028 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".)
-"0.8.13.20"
+"0.8.13.21"