X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=buff-input.lisp;h=d17590dc0f29790645575155477a01c70908ef4b;hp=f0802bc0bff2b141479a24a27668c0c7ab7fbf57;hb=ca0dcaef675ae959bb83754254fb68cb5f0ec670;hpb=eefe5a5cc364731f05c560c8837895cbd97f7015 diff --git a/buff-input.lisp b/buff-input.lisp index f0802bc..d17590d 100644 --- a/buff-input.lisp +++ b/buff-input.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: buff-input.lisp,v 1.5 2003/05/05 19:54:14 kevin Exp $ +;;;; $Id: buff-input.lisp,v 1.6 2003/05/06 01:43:14 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -40,7 +40,8 @@ (setf (aref bufs i) (make-array max-field-len :element-type 'character :fill-pointer 0 :adjustable nil))) bufs)) -(defun read-buffered-fields (fields strm &optional (field-delim +field-delim+)) +(defun read-buffered-fields (fields strm &optional (field-delim +field-delim+) + (eof 'eof)) "Read a line from a stream into a field buffers" (declare (type base-char field-delim) (type vector fields))