Hi intrigeri,

> https://bugs.launchpad.net/ubuntu/+source/mtools/+bug/1479152 has
> a plausible explanation. But I don't understand why that bug report is
> marked as "Fix released" in since they don't appear to patch
> this package.

Can confirm that this is a locale issue, as commenting out the
setlocale call at the top of the "main" entry point fixes this issue.

The following "patch" against mtools.c also "works" for me:

  +#ifdef HAVE_SETLOCALE
  +       char *old_locale = setlocale(LC_ALL, NULL);
  +       setlocale(LC_ALL, "C");
  +       read_config();
  +       setlocale(LC_ALL, old_locale);
  +#else
          read_config();
  +#endif


.. but this is not quite right as it would mean that genuine syntax
errors printed in read_config() would not be translated into, say,
Turkish. Can't seem to a "C" locale version of toupper to work right
this second.


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to