Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
50852e85
Commit
50852e85
authored
Sep 18, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove last occurences - fixes #1297
parent
7acc46c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/access/file.c
modules/access/file.c
+2
-5
No files found.
modules/access/file.c
View file @
50852e85
...
...
@@ -278,10 +278,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
default:
msg_Err
(
p_access
,
"read failed (%m)"
);
/* FIXME: DO NOT USE strerror!!!! */
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
_
(
"VLC could not read file
\"
%s
\"
."
),
strerror
(
errno
));
_
(
"VLC could not read file."
));
}
/* Delay a bit to avoid consuming all the CPU. This is particularly
...
...
@@ -448,8 +446,7 @@ static int open_file (access_t *p_access, const char *psz_name)
{
msg_Err
(
p_access
,
"cannot open file %s (%m)"
,
psz_name
);
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
_
(
"VLC could not open file
\"
%s
\"
(%s)."
),
psz_name
,
strerror
(
errno
));
_
(
"VLC could not open file
\"
%s
\"
."
),
psz_name
);
return
-
1
;
}
...
...
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