From ed7be0ce0fcb55e1fae35656b5053b5de7da8ce8 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Fri, 12 Mar 1993 21:05:38 +0000
Subject: [PATCH] Fixed type decls in FILE-POSITION to allow :START and :END
 for positions.

---
 code/stream.lisp | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/code/stream.lisp b/code/stream.lisp
index 9b3910c7c..2257ba2e9 100644
--- a/code/stream.lisp
+++ b/code/stream.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.18 1993/02/26 08:26:15 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.19 1993/03/12 21:05:38 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -225,10 +225,11 @@
 ;;;
 (defun file-position (stream &optional position)
   "With one argument returns the current position within the file
-  File-Stream is open to.  If the second argument is supplied, then
-  this becomes the new file position.  The second argument may also
-  be :start or :end for the start and end of the file, respectively."
-  (declare (stream stream) (type (or index null) position))
+   File-Stream is open to.  If the second argument is supplied, then
+   this becomes the new file position.  The second argument may also
+   be :start or :end for the start and end of the file, respectively."
+  (declare (stream stream)
+	   (type (or index (member nil :start :end)) position))
   (cond
    (position
     (setf (stream-in-index stream) in-buffer-length)
-- 
GitLab