[Fontconfig-bugs] [Bug 105492] New: fontconfig-2.13.0 globally sets the locale from the environment

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 13 21:20:07 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105492

            Bug ID: 105492
           Summary: fontconfig-2.13.0 globally sets the locale from the
                    environment
           Product: fontconfig
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: ulm at gentoo.org
        QA Contact: freedesktop at behdad.org

Function FcConfigEnsure globally sets the locale by doing:
        setlocale (LC_ALL, "");

This countermands any locale settings in the calling program. For example, GNU
Emacs sets LC_NUMERIC to "C" which is undone by the fontconfig library. In
turn, this breaks Emacs' lisp reader.

See also:
Gentoo bug: https://bugs.gentoo.org/650332
GNU Emacs bug: https://debbugs.gnu.org/30788

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180313/cfa52abd/attachment.html>


More information about the Fontconfig-bugs mailing list