Package: guile-library
Version: 0.1.5-1
Severity: normal

Using guile-1.8, running the md5 function on a string of 60 chars throws
an error.

        (use-modules (md5))
        (md5 (open-input-string (make-string 60 #\0)))
        =>
        /usr/share/guile/site/md5.scm:348:11: In procedure string-set! in 
expression (string-set! (assq-ref # #) (assq-ref # #) ...):
        /usr/share/guile/site/md5.scm:348:11: Wrong type argument in position 1 
(expecting string): #f
        ABORT: (wrong-type-arg)

I suspect perhaps the expression at that point, used twice,

        (assq-ref 'context 'buffer)

is meant to be the "context" variable, not quoted.

(Dunno why assq-ref uses "sloppy-assq" and thus allows a non-list arg to
get past there, instead of throwing an error at that point.)



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.20-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages guile-library depends on:
ii  guile-1.8                     1.8.1+1-5  The GNU extension language and Sch

guile-library recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to