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
cc856b0f
Commit
cc856b0f
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
parent
e6295d45
Changes
1
Hide 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 @
cc856b0f
...
...
@@ -33,6 +33,7 @@
#include <vlc_plugin.h>
#include <vlc_interface.h>
#include <vlc_fs.h>
#include <vlc_charset.h>
#include <assert.h>
...
...
@@ -405,8 +406,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