Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d3c13734
Commit
d3c13734
authored
Aug 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
4832f086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
modules/control/http/util.c
modules/control/http/util.c
+2
-8
No files found.
modules/control/http/util.c
View file @
d3c13734
...
...
@@ -947,13 +947,7 @@ char *E_(RealPath)( intf_thread_t *p_intf, const char *psz_src )
char
*
psz_dir
;
char
*
p
;
int
i_len
=
strlen
(
psz_src
);
char
sep
;
#if defined( WIN32 )
sep
=
'\\'
;
#else
sep
=
'/'
;
#endif
const
char
sep
=
DIR_SEP_CHAR
;
psz_dir
=
malloc
(
i_len
+
2
);
strcpy
(
psz_dir
,
psz_src
);
...
...
@@ -962,7 +956,7 @@ char *E_(RealPath)( intf_thread_t *p_intf, const char *psz_src )
psz_dir
[
i_len
]
=
sep
;
psz_dir
[
i_len
+
1
]
=
'\0'
;
#if
def WIN32
#if
(DIR_SEP_CHAR != '/')
/* Convert all / to native separator */
p
=
psz_dir
;
while
(
(
p
=
strchr
(
p
,
'/'
))
!=
NULL
)
...
...
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