Sorry for the late reply. I've verified the patch and also applied it to (chibi show c).
Feel free to apply it to the Chicken fmt repo. -- Alex On Fri, Jun 13, 2025 at 5:35 PM felix.winkelmann--- via Chicken-users < chicken-users@nongnu.org> wrote: > Hi, Alexey! > > > I investigated source code and found possible culprit as well as an > obvious > > solution. > > I also added a couple of tests, which seem to work. Patches are in > > attachments. > > > > Now time for questions. > > 1. Did I miss something obvious, which could have solved the original > issue > > without patching the source? > > 2. I probably should contact Alex Shinn, the original author of the fmt > > lib, but I cannot find his contacts anywhere, or a contribution guide. > Does > > anyone have them? > > 3. If the previous is not possible, or not the preferred way, will the > Trac > > ticket suffice for patch to be accepted to the Chicken egg itself? > > Many thanks for investigating. I will contact Alex Shinn and forward > this report to him. In case he doesn't reply I see no reason not to > add this patch ourselves, but let's try the official channels first. > > > cheers, > felix > > >