From: Rudi Schlatte Date: Sat, 7 May 2005 10:32:34 +0000 (+0000) Subject: 0.9.0.24 X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=d34affc1242339fe71379b6df2f6552c8dad99a5;p=sbcl.git 0.9.0.24 Don't silently assume LATIN-1 for unknown / misspelled :external-format argument --- diff --git a/src/code/fd-stream.lisp b/src/code/fd-stream.lisp index 4a4a17a..2ef71e6 100644 --- a/src/code/fd-stream.lisp +++ b/src/code/fd-stream.lisp @@ -1350,7 +1350,12 @@ "LATIN-1") "KEYWORD"))) (dolist (entry *external-formats* - (setf (fd-stream-external-format fd-stream) :latin-1)) + (restart-case + (error "Invalid external-format ~A" + (fd-stream-external-format fd-stream)) + (use-default () + :report "Set external format to LATIN-1" + (setf (fd-stream-external-format fd-stream) :latin-1)))) (when (member (fd-stream-external-format fd-stream) (first entry)) (return))) diff --git a/version.lisp-expr b/version.lisp-expr index ef49dbc..3a331bd 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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.9.0.23" +"0.9.0.24"