public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/12580] New: Pass LC_* values to stap-server clients
@ 2011-03-14 12:57 lberk at redhat dot com
  2011-05-14 15:18 ` [Bug translator/12580] Pass LC_* values to stap-server servers fche at redhat dot com
  2011-05-31 16:16 ` cmeek at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: lberk at redhat dot com @ 2011-03-14 12:57 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/12580] Pass LC_* values to stap-server servers
  2011-03-14 12:57 [Bug translator/12580] New: Pass LC_* values to stap-server clients lberk at redhat dot com
@ 2011-05-14 15:18 ` fche at redhat dot com
  2011-05-31 16:16 ` cmeek at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2011-05-14 15:18 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com
            Summary|Pass LC_* values to         |Pass LC_* values to
                   |stap-server clients         |stap-server servers

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2011-05-14 15:17:50 UTC ---
More specifically, some stap-side $LC* / $LANG* values should be packaged
into the client request zipfile, probably in csclient.cxx:create_request,
and extracted in stap-serverd.cxx:handleRequest.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/12580] Pass LC_* values to stap-server servers
  2011-03-14 12:57 [Bug translator/12580] New: Pass LC_* values to stap-server clients lberk at redhat dot com
  2011-05-14 15:18 ` [Bug translator/12580] Pass LC_* values to stap-server servers fche at redhat dot com
@ 2011-05-31 16:16 ` cmeek at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cmeek at redhat dot com @ 2011-05-31 16:16 UTC (permalink / raw)
  To: systemtap

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

cmeek@redhat.com <cmeek at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |cmeek at redhat dot com
         AssignedTo|systemtap at sourceware dot |cmeek at redhat dot com
                   |org                         |

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-31 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 12:57 [Bug translator/12580] New: Pass LC_* values to stap-server clients lberk at redhat dot com
2011-05-14 15:18 ` [Bug translator/12580] Pass LC_* values to stap-server servers fche at redhat dot com
2011-05-31 16:16 ` cmeek at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).