0.9.0.24
authorRudi Schlatte <rudi@constantly.at>
Sat, 7 May 2005 10:32:34 +0000 (10:32 +0000)
committerRudi Schlatte <rudi@constantly.at>
Sat, 7 May 2005 10:32:34 +0000 (10:32 +0000)
Don't silently assume LATIN-1 for unknown / misspelled
:external-format argument

src/code/fd-stream.lisp
version.lisp-expr

index 4a4a17a..2ef71e6 100644 (file)
                        "LATIN-1")
                    "KEYWORD")))
     (dolist (entry *external-formats*
                        "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)))
 
       (when (member (fd-stream-external-format fd-stream) (first entry))
        (return)))
 
index ef49dbc..3a331bd 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".)
 ;;; 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"