Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
cca9e206
Commit
cca9e206
authored
May 20, 2008
by
Rémi Denis-Courmont
Browse files
Use fstat()!
parent
f3efda92
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/svg.c
View file @
cca9e206
...
...
@@ -184,10 +184,8 @@ static char *svg_GetTemplate( vlc_object_t *p_this )
else
{
struct
stat
s
;
int
i_ret
;
i_ret
=
utf8_stat
(
psz_filename
,
&
s
);
if
(
i_ret
)
if
(
fstat
(
fileno
(
file
),
&
s
)
)
{
/* Problem accessing file information. Should not
happen as we could open it. */
...
...
Write
Preview
Supports
Markdown
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