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)
Change History (3)
Changed 10 years ago by
Attachment: | srfi-42-append-ec.patch added |
---|
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Should be fixed with #1098, but the attached patch might also do the trick. Ivan, can you take a look at the patch?