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
a7c6b3bf
Commit
a7c6b3bf
authored
Sep 22, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: output
UTF-8
in text mode and prefix with a Byte Order Mark
parent
409e6544
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/misc/logger.c
modules/misc/logger.c
+3
-3
No files found.
modules/misc/logger.c
View file @
a7c6b3bf
...
...
@@ -49,7 +49,7 @@
#define LOG_FILE_TEXT "vlc-log.txt"
#define LOG_FILE_HTML "vlc-log.html"
#define TEXT_HEADER "-- logger module started --\n"
#define TEXT_HEADER "
\xEF\xBB\xBF
-- logger module started --\n"
#define TEXT_FOOTER "-- logger module stopped --\n"
#define HTML_HEADER \
...
...
@@ -349,8 +349,8 @@ static void TextPrint( void *opaque, int type, const msg_item_t *item,
int
canc
=
vlc_savecancel
();
flockfile
(
stream
);
utf8_
fprintf
(
stream
,
"%s%s: "
,
item
->
psz_module
,
ppsz_type
[
type
]
);
utf8_
fprintf
(
stream
,
fmt
,
ap
);
fprintf
(
stream
,
"%s%s: "
,
item
->
psz_module
,
ppsz_type
[
type
]
);
v
fprintf
(
stream
,
fmt
,
ap
);
putc_unlocked
(
'\n'
,
stream
);
funlockfile
(
stream
);
vlc_restorecancel
(
canc
);
...
...
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