When Mutt quits due to a signal, I get, e.g.

Caught signal 3...  Exiting.

untranslated. The reason it is not translated is that _() can invoke
malloc(), which may not be re-entrant. Note that this was fixed by
Kevin on 2019-11-10. Translations were done in the past, and with ^\
(SIGQUIT), Mutt could hang for me.
See commit 5835f4c0594ff94a2aa62ad122c4dc2871ee8492.

I think that if translations are regarded as important enough even for
this message, a solution would be to preload those corresponding to the
"Caught signal " and "...  Exiting.\n" parts. This would take memory
for something that is not needed in general, but for just 2 messages,
this is very little memory (not noticeable in practice).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to