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
7e7726e4
Commit
7e7726e4
authored
Feb 07, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules: print error if reading the plugins cache fails
(as opposed to reaching premature end-of-file)
parent
8b0dd8cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/modules/cache.c
src/modules/cache.c
+2
-0
No files found.
src/modules/cache.c
View file @
7e7726e4
...
@@ -385,6 +385,8 @@ size_t CacheLoad( vlc_object_t *p_this, const char *dir, module_cache_t **r )
...
@@ -385,6 +385,8 @@ size_t CacheLoad( vlc_object_t *p_this, const char *dir, module_cache_t **r )
return
i_cache
;
return
i_cache
;
error:
error:
if
(
ferror
(
file
))
msg_Err
(
p_this
,
"plugins cache read error: %s"
,
vlc_strerror_c
(
errno
));
msg_Warn
(
p_this
,
"plugins cache not loaded (corrupted)"
);
msg_Warn
(
p_this
,
"plugins cache not loaded (corrupted)"
);
/* TODO: cleanup */
/* TODO: cleanup */
...
...
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