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
b8ddca01
Commit
b8ddca01
authored
Nov 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return DIR from utf8_open to avoid casting bugs
parent
a46cc88f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
include/charset.h
include/charset.h
+2
-1
include/vlc_symbols.h
include/vlc_symbols.h
+1
-1
src/misc/unicode.c
src/misc/unicode.c
+1
-1
No files found.
include/charset.h
View file @
b8ddca01
...
...
@@ -27,6 +27,7 @@
#include <stdarg.h>
#include <sys/types.h>
#include <dirent.h>
VLC_EXPORT
(
void
,
LocaleFree
,
(
const
char
*
)
);
VLC_EXPORT
(
char
*
,
FromLocale
,
(
const
char
*
)
);
...
...
@@ -35,7 +36,7 @@ VLC_EXPORT( char *, ToLocale, ( const char * ) );
VLC_EXPORT
(
int
,
utf8_open
,
(
const
char
*
filename
,
int
flags
,
mode_t
mode
)
);
VLC_EXPORT
(
FILE
*
,
utf8_fopen
,
(
const
char
*
filename
,
const
char
*
mode
)
);
VLC_EXPORT
(
void
*
,
utf8_opendir
,
(
const
char
*
dirname
)
);
VLC_EXPORT
(
DIR
*
,
utf8_opendir
,
(
const
char
*
dirname
)
);
VLC_EXPORT
(
char
*
,
utf8_readdir
,
(
void
*
dir
)
);
VLC_EXPORT
(
int
,
utf8_scandir
,
(
const
char
*
dirname
,
char
***
namelist
,
int
(
*
select
)(
const
char
*
),
int
(
*
compar
)(
const
char
**
,
const
char
**
)
)
);
...
...
include/vlc_symbols.h
View file @
b8ddca01
...
...
@@ -466,7 +466,7 @@ struct module_symbols_t
void
*
vlc_HashInsert_deprecated
;
void
*
vlc_HashLookup_deprecated
;
void
*
vlc_HashRetrieve_deprecated
;
void
*
(
*
utf8_opendir_inner
)
(
const
char
*
dirname
);
DIR
*
(
*
utf8_opendir_inner
)
(
const
char
*
dirname
);
FILE
*
(
*
utf8_fopen_inner
)
(
const
char
*
filename
,
const
char
*
mode
);
char
*
(
*
utf8_readdir_inner
)
(
void
*
dir
);
int
(
*
utf8_stat_inner
)
(
const
char
*
filename
,
struct
stat
*
buf
);
...
...
src/misc/unicode.c
View file @
b8ddca01
...
...
@@ -427,7 +427,7 @@ int utf8_mkdir( const char *dirname )
}
void
*
utf8_opendir
(
const
char
*
dirname
)
DIR
*
utf8_opendir
(
const
char
*
dirname
)
{
/* TODO: support for WinNT non-ACP filenames */
const
char
*
local_name
=
ToLocale
(
dirname
);
...
...
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