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
187982c2
Commit
187982c2
authored
Dec 08, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Use vlc_closedir_wrapper where utf8_opendir was used. Should fix mkv crashes on windows.
refs #880
parent
0a49b677
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
modules/control/http/util.c
modules/control/http/util.c
+1
-1
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+1
-1
modules/gui/ncurses.c
modules/gui/ncurses.c
+1
-1
modules/misc/gnutls.c
modules/misc/gnutls.c
+2
-2
No files found.
modules/control/http/util.c
View file @
187982c2
...
...
@@ -253,7 +253,7 @@ int E_(ParseDirectory)( intf_thread_t *p_intf, char *psz_root,
if
(
!
f
->
name
)
{
msg_Err
(
p_intf
,
"unable to parse directory"
);
closedi
r
(
p_dir
);
vlc_closedir_wrappe
r
(
p_dir
);
free
(
f
);
return
(
VLC_ENOMEM
);
}
...
...
modules/demux/mkv.cpp
View file @
187982c2
...
...
@@ -1548,7 +1548,7 @@ static int Open( vlc_object_t * p_this )
}
free
(
psz_file
);
}
closedi
r
(
p_src_dir
);
vlc_closedir_wrappe
r
(
p_src_dir
);
}
}
...
...
modules/gui/ncurses.c
View file @
187982c2
...
...
@@ -2009,7 +2009,7 @@ static void ReadDir( intf_thread_t *p_intf )
qsort
(
p_sys
->
pp_dir_entries
,
p_sys
->
i_dir_entries
,
sizeof
(
struct
dir_entry_t
*
),
&
comp_dir_entries
);
closedi
r
(
p_current_dir
);
vlc_closedir_wrappe
r
(
p_current_dir
);
return
;
}
else
...
...
modules/misc/gnutls.c
View file @
187982c2
...
...
@@ -573,7 +573,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
||
fstat
(
fd
,
&
st1
)
||
utf8_lstat
(
psz_dirname
,
&
st2
)
||
S_ISLNK
(
st2
.
st_mode
)
||
(
st1
.
st_ino
!=
st2
.
st_ino
)
)
{
closedi
r
(
dir
);
vlc_closedir_wrappe
r
(
dir
);
return
VLC_EGENERIC
;
}
}
...
...
@@ -598,7 +598,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
free
(
psz_filename
);
}
closedi
r
(
dir
);
vlc_closedir_wrappe
r
(
dir
);
return
VLC_SUCCESS
;
}
...
...
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