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
518a63be
Commit
518a63be
authored
Feb 21, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.ac, modules/access/directory.c: enabled the directory access module on WinCE.
parent
1f54a473
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
configure.ac
configure.ac
+1
-2
modules/access/directory.c
modules/access/directory.c
+13
-0
No files found.
configure.ac
View file @
518a63be
...
...
@@ -992,8 +992,7 @@ VLC_ADD_PLUGINS([access_file access_udp access_tcp access_http access_mms])
VLC_ADD_PLUGINS([access_ftp ipv4])
if test "${SYS}" != "mingwce"; then
VLC_ADD_PLUGINS([access_directory sap])
VLC_ADD_PLUGINS([gestures rc telnet hotkeys netsync showintf time marq])
VLC_ADD_PLUGINS([gestures rc telnet hotkeys netsync showintf time marq sap])
fi
dnl
...
...
modules/access/directory.c
View file @
518a63be
...
...
@@ -48,6 +48,8 @@
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
# include <io.h>
#elif defined( UNDER_CE )
# define strcoll strcmp
#endif
#ifdef HAVE_DIRENT_H
...
...
@@ -125,6 +127,17 @@ static int Open( vlc_object_t *p_this )
if
(
(
stat
(
p_access
->
psz_path
,
&
stat_info
)
==
-
1
)
||
!
S_ISDIR
(
stat_info
.
st_mode
)
)
#elif defined(WIN32)
# ifdef UNICODE
wchar_t
pwsz_path
[
MAX_PATH
];
mbstowcs
(
pwsz_path
,
p_access
->
psz_path
,
MAX_PATH
);
pwsz_path
[
MAX_PATH
-
1
]
=
0
;
if
(
!
(
GetFileAttributes
(
pwsz_path
)
&
FILE_ATTRIBUTE_DIRECTORY
)
)
# else
if
(
!
(
GetFileAttributes
(
p_access
->
psz_path
)
&
FILE_ATTRIBUTE_DIRECTORY
)
)
# endif
#else
if
(
strcmp
(
p_access
->
psz_access
,
"dir"
)
&&
strcmp
(
p_access
->
psz_access
,
"directory"
)
)
...
...
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