Summary

bug in pdf egg

Metadata

Description

`set-cdr!` is called with the wrong number of arguments here:

 (define (set-dictionary-value dict name value)
   (set-cdr! (assoc name (dictionary-values dict) value)))

Changes and comments

[2011-08-31 15:39:56 UTC] ckeen changed status from new to accepted

[2011-08-31 15:39:56 UTC] ckeen set owner to ckeen

[2011-08-31 15:39:56 UTC] ckeen wrote:

The root cause seemed to be a misplaced parenthesis pair:

  (define (set-dictionary-value dict name value)
 -  (set-cdr! (assoc name (dictionary-values dict) value)))
 +  (set-cdr! (assoc name (dictionary-values dict)) value))

I have commited a patch for this to trunk. Who is the maintainer of this egg? Should I tag a new version?

[2011-09-22 23:24:02 UTC] ckeen changed status from accepted to closed

[2011-09-22 23:24:02 UTC] ckeen set resolution to fixed

[2011-09-22 23:24:02 UTC] ckeen wrote:

Fixed in version 1.0.2