Commit 597603a7 authored by Frode Vatvedt Fjeld's avatar Frode Vatvedt Fjeld

Fix from Willem Broekema: There's a bug in unfold-circular-list, in

that it calls subseq on a circular list: subseq is defined as taking a
"proper sequence".
parent d61b3aed
......@@ -9,7 +9,7 @@
;;;; Created at: Fri Nov 24 16:49:17 2000
;;;; Distribution: See the accompanying file COPYING.
;;;;
;;;; $Id: parse.lisp,v 1.9 2008/04/21 21:09:47 ffjeld Exp $
;;;; $Id: parse.lisp,v 1.10 2008-04-27 19:22:42 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
......@@ -73,7 +73,7 @@
(loop for x on list as i upfrom 0
as cdr-index = (find-cdr list (cdr x) i)
until cdr-index
finally (return (values (subseq list 0 (1+ i))
finally (return (values (loop repeat (1+ i) collect (pop list))
cdr-index)))))
(defun symbol-package-fix-cl (symbol)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment