[Bug translator/12580] New: Pass LC_* values to stap-server clients

lberk at redhat dot com sourceware-bugzilla@sourceware.org
Mon Mar 14 12:57:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=12580

           Summary: Pass LC_* values to stap-server clients
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: lberk@redhat.com
            Blocks: 3823


In the effort to internationalize systemtap, it would be appropriate to pass
locale related variables to clients.  To ensure proper language information is
passed, setlocale, bindtextdomain, textdomain values should be set.

As a point of reference, LC values are set in main via the following lines:

setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);

where PACKAGE and LOCALEDIR are defined in config.h

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list