Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6b8a408f
Commit
6b8a408f
authored
Mar 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utf8_lstat -> vlc_lstat for consistency
parent
a1b58a77
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
include/vlc_fs.h
include/vlc_fs.h
+1
-1
modules/misc/gnutls.c
modules/misc/gnutls.c
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+1
-1
src/text/filesystem.c
src/text/filesystem.c
+1
-1
No files found.
include/vlc_fs.h
View file @
6b8a408f
...
...
@@ -50,7 +50,7 @@ int vlc_rename( const char *, const char * );
#endif
VLC_EXPORT
(
int
,
vlc_stat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
VLC_EXPORT
(
int
,
utf8
_lstat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
VLC_EXPORT
(
int
,
vlc
_lstat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
VLC_EXPORT
(
int
,
vlc_mkstemp
,
(
char
*
)
);
...
...
modules/misc/gnutls.c
View file @
6b8a408f
...
...
@@ -548,7 +548,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
* that the inode is still the same, to avoid TOCTOU race condition.
*/
if
(
(
fd
==
-
1
)
||
fstat
(
fd
,
&
st1
)
||
utf8
_lstat
(
psz_dirname
,
&
st2
)
||
fstat
(
fd
,
&
st1
)
||
vlc
_lstat
(
psz_dirname
,
&
st2
)
||
S_ISLNK
(
st2
.
st_mode
)
||
(
st1
.
st_ino
!=
st2
.
st_ino
)
)
{
closedir
(
dir
);
...
...
src/libvlccore.sym
View file @
6b8a408f
...
...
@@ -431,7 +431,7 @@ us_strtof
vlc_fopen
utf8_fprintf
vlc_loaddir
utf8
_lstat
vlc
_lstat
vlc_mkdir
vlc_mkstemp
vlc_open
...
...
src/text/filesystem.c
View file @
6b8a408f
...
...
@@ -464,7 +464,7 @@ int vlc_stat( const char *filename, struct stat *buf)
*
* @param filename UTF-8 file path
*/
int
utf8
_lstat
(
const
char
*
filename
,
struct
stat
*
buf
)
int
vlc
_lstat
(
const
char
*
filename
,
struct
stat
*
buf
)
{
return
vlc_statEx
(
filename
,
buf
,
false
);
}
...
...
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