Opened 10 years ago

Closed 9 years ago

#1174 closed defect (fixed)

srfi-42: append-ec fails when apply limit is reached

Reported by: acharlton Owned by: Ivan Raikov
Priority: minor Milestone: someday
Component: extensions Version: 4.9.x
Keywords: srfi-42 Cc: ivan.g.raikov@…
Estimated difficulty:

Description

Which causes simple operations like this to fail:

(append-ec (: i 10000)
           (list i i))

Attached is a patch that fixes this issue.

This issue is also present in string-append-ec, but a similar, reasonably efficient fix would involve adding a dependancy of some sort. Probably the easiest way would be to use srfi-13 and replace (apply string-append ...) with (string-concatenate ...)

Attachments (1)

srfi-42-append-ec.patch (1.1 KB) - added by acharlton 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by acharlton

Attachment: srfi-42-append-ec.patch added

comment:1 Changed 9 years ago by sjamaan

Should be fixed with #1098, but the attached patch might also do the trick. Ivan, can you take a look at the patch?

comment:2 Changed 9 years ago by Ivan Raikov

Resolution: fixed
Status: newclosed

It looks like I had applied the patch and made a new release back in December, but I had forgotten to close this ticket.

Note: See TracTickets for help on using tickets.