This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]