Zarko Zivanov <zza...@lugons.org> writes: > Package: cpmtools > Version: cpmtools_2.23-4_amd64 > > I have previously used cpmtools_2.20 and had no problems. With the > recent version from repository, I am getting garbage printed on screen > when I try to list the contents of an IMG file (or, actually, many IMG > files, this one is just an example).
Thanks for the report. With the demo.img you provided, I had no problem reproducing the error. The big change between the Debian 2.20 packages and those built using upstream 2.23 is that I started linking against libdsk as requested via Debian bug #1027769. And, indeed, if I re-compile without libdsk your test case works fine. I confirmed that cpmls works fine in the libdsk-linked version with some old distribution disk images I found in the myz80 format, so cpmtools isn't totally broken here. So, somehow, it seems your tim011 format definition is interacting poorly with libdsk. I don't have time to chase this more today, and just backing the use of libdsk out doesn't seem like the right thing to do since it was specifically requested about 18 months ago and yours is the first bug report since. Perhaps knowing this is a libdsk interaction will give you some way to figure out what's going on? If you learn more, please let me know, and/or maybe eventually I'll find more time to work on this myself. Bdale
signature.asc
Description: PGP signature