From 3e7a4fe08671f7b2be69e57d50c8901c38722787 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Tue, 22 Mar 2005 14:33:53 +0000
Subject: [PATCH] Fix typo that prevented correct type derivation when
 :IF-DOES-NOT-EXIST was given and was not a constant continuation.

See report from Stefan Scholl, cmucl-help, 2005-03-18.
---
 compiler/knownfun.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/knownfun.lisp b/compiler/knownfun.lisp
index d3c4b61ec..b019977e9 100644
--- a/compiler/knownfun.lisp
+++ b/compiler/knownfun.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/compiler/knownfun.lisp,v 1.26 2003/08/25 20:50:59 gerd Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.27 2005/03/22 14:33:53 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -368,7 +368,7 @@
     ;; and set default values for any that weren't set above
     (when (eq direction not-set) (setq direction :input))
     (when (eq if-exists not-constant) (setq if-exists nil))
-    (when (eq if-does-not-exist not-constant) (set if-does-not-exist nil))
+    (when (eq if-does-not-exist not-constant) (setq if-does-not-exist nil))
     (when (or (eq class not-set) (eq class not-constant)) (setq class 'stream))
     ;; now, NIL is a possible result only in the following cases:
     ;;   direction is :probe or not-constant and :if-does-not-exist is
-- 
GitLab