[cmucl-commit] CMUCL commit: src/code (ntrace.lisp)

Raymond Toy rtoy at common-lisp.net
Tue Feb 1 16:35:01 CET 2011


    Date: Tuesday, February 1, 2011 @ 10:35:01
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/code

Modified: ntrace.lisp

Fix typo.  The check for whether we were trying to use encapsulation
to trace a local function was checking for the wrong thing.


-------------+
 ntrace.lisp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Index: src/code/ntrace.lisp
diff -u src/code/ntrace.lisp:1.46 src/code/ntrace.lisp:1.47
--- src/code/ntrace.lisp:1.46	Tue Apr 20 13:57:45 2010
+++ src/code/ntrace.lisp	Tue Feb  1 10:35:00 2011
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /project/cmucl/cvsroot/src/code/ntrace.lisp,v 1.46 2010-04-20 17:57:45 rtoy Rel $")
+  "$Header: /project/cmucl/cvsroot/src/code/ntrace.lisp,v 1.47 2011-02-01 15:35:00 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -515,9 +515,9 @@
 	(unless named
 	  (error (intl:gettext "Can't use encapsulation to trace anonymous function ~S.")
 		 fun))
-	(when (listp fun)
+	(when (listp function-or-name)
 	  (error (intl:gettext "Can't use encapsulation to trace local flet/labels function ~S.")
-		 fun))
+		 function-or-name))
 	(fwrap function-or-name #'trace-fwrapper :type 'trace
 	       :user-data info))
        (t


More information about the cmucl-commit mailing list