Closed nmeum closed 5 years ago
Can you try to reproduce it on master
?
I tried but I didn’t succeed. I ran the command (log attached):
strace -fF -o setfont.log -e file ./setfont lat9w-10.psfu
ooops. I tested wrong case. sorry.
Please test current master
.
Can confirm that the current master fixes this bug.
Thanks for the fast fix!
My Linux distribution (Alpine Linux) recently received an upgrade from kbd
2.0.4
to kbd2.2.0
. I noticed that2.2.0
behaves a bit different in regards to file handling:setfont ter-v16n.psf.gz
→Bad input file size
setfont ter-v16n.psf
→ workssetfont /usr/share/consolefonts/ter-v16n.psf.gz
→ also worksThe first setfont invocation definitely used to work with kbd
2.0.4
. Is it possible that the decompressor (gzip) is not invoked for the first invocation for some reason and kbd tries to parse the gzip compressed data and fails?strace -f setfont ter-v16n.psf.gz
seems to confirm this hypothesis: https://tpaste.us/NKjk