Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 SBCL shrink-vector should not be called for side effect

open
nobody
None
5
2012-09-14
2006-05-15
Kim Minh Kaplan
No

Using SBCL 0.9.12:

(puri:uri= (puri:uri "/foo/bar") (puri:merge-uris "bar" "/foo/"))
=> nil

This is because the result of calling sb-kernel:shrink-version is not
stored.

(string= "foo" (puri::shrink-vector "foobar" 3))
=> nil

The attached oneliner patch fixes it.

Kim Minh.

Discussion

  • Fix puri::shrink-vector for SBCL

     
    Attachments