mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Convert log text to current locale before passing it on to stderr or syslog.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@933 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
83591883d8
commit
13798312ef
2 changed files with 33 additions and 5 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include <limits.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
#include <sys/types.h>
|
||||
#include <liboil/liboil.h>
|
||||
|
||||
|
|
@ -161,6 +162,8 @@ int main(int argc, char *argv[]) {
|
|||
struct timeval tv;
|
||||
#endif
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
pa_limit_caps();
|
||||
|
||||
#ifdef HAVE_GETUID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue