Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b589a5b5
Commit
b589a5b5
authored
Jul 22, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: output to file in local character set
(cherry picked from commit cc856b0f652a65dba308025ef3502abea1534d25)
parent
ebd7e0c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/misc/logger.c
modules/misc/logger.c
+3
-2
No files found.
modules/misc/logger.c
View file @
b589a5b5
...
...
@@ -34,6 +34,7 @@
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_fs.h>
#include <vlc_charset.h>
#include <assert.h>
...
...
@@ -406,8 +407,8 @@ static const char ppsz_type[4][11] = {
static
void
TextPrint
(
const
msg_item_t
*
p_msg
,
FILE
*
p_file
)
{
fprintf
(
p_file
,
"%s%s%s
\n
"
,
p_msg
->
psz_module
,
ppsz_type
[
p_msg
->
i_type
]
,
p_msg
->
psz_msg
);
utf8_fprintf
(
p_file
,
"%s%s%s
\n
"
,
p_msg
->
psz_module
,
ppsz_type
[
p_msg
->
i_type
],
p_msg
->
psz_msg
);
}
#ifdef HAVE_SYSLOG_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment