diff --git a/code/fd-stream.lisp b/code/fd-stream.lisp index 4a411d068f7a1be2fa11f2b67ee8580d52563228..23ad0b5821caff96b522af43ae8e315bc14e5f42 100644 --- a/code/fd-stream.lisp +++ b/code/fd-stream.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.45 1998/07/16 13:30:45 pw Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.46 1998/12/19 16:02:24 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1260,8 +1260,10 @@ non-server method is also significantly more efficient for large reads. :overwrite, :append, :supersede or nil :if-does-not-exist - one of :error, :create or nil See the manual for details." - (declare (ignore external-format)) + (unless (eq external-format :default) + (error "The only recognised external format is :default.")) + ;; First, make sure that DIRECTION is valid. Allow it to be changed if not. (setf direction (assure-one-of direction