[cl-debian] Bug#410856: cl-swank: incorrect LOOP in fuzzy-completion-set

Pierre THIERRY nowhere.man at levallois.eu.org
Tue Feb 13 21:40:43 UTC 2007


Package: cl-swank
Version: 1:20061201-2
Severity: normal
Tags: patch

The loop in fuzzy-completion-set has a while clause before a loop, which
is inconsistent with the loop specification. It makes loading latest
swank in ECL fail.

The following patch corrects it:


diff -r bc0d362e751c swank.lisp
--- a/swank.lisp	Tue Feb 13 22:25:53 2007 +0100
+++ b/swank.lisp	Tue Feb 13 22:29:15 2007 +0100
@@ -3468,8 +3468,8 @@ only the top LIMIT results will be retur
     (flet ((convert (vector &optional converter)
              (when vector
                (loop for idx :upfrom 0
+                     for el = (aref vector idx)
                      while (< idx (length vector))
-                     for el = (aref vector idx)
                      do (setf (aref vector idx) (convert-fuzzy-completion-result
                                                  el converter internal-p package-name))))))
       (let* ((symbols (and package


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (501, 'stable'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages cl-swank depends on:
ii  common-lisp-controller        6.9        This is a Common Lisp source and c

cl-swank recommends no packages.

-- no debconf information

-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20070213/1bd1db78/attachment.sig>


More information about the Cl-debian mailing list