Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b5c95699
Commit
b5c95699
authored
Oct 04, 2006
by
Sam Hocevar
Browse files
* modules/misc/logger.c: don't truncate logfile upon creation.
parent
cec52bce
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/logger.c
View file @
b5c95699
...
...
@@ -243,7 +243,7 @@ static int Open( vlc_object_t *p_this )
/* Open the log file and remove any buffering for the stream */
msg_Dbg
(
p_intf
,
"opening logfile `%s'"
,
psz_file
);
p_intf
->
p_sys
->
p_file
=
utf8_fopen
(
psz_file
,
"
w
t"
);
p_intf
->
p_sys
->
p_file
=
utf8_fopen
(
psz_file
,
"
a
t"
);
if
(
p_intf
->
p_sys
->
p_file
==
NULL
)
{
msg_Err
(
p_intf
,
"error opening logfile `%s'"
,
psz_file
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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