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
c0d5cfac
Commit
c0d5cfac
authored
Jan 16, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use utf8_unlink in src/misc/update.c
parent
fe9b8150
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/misc/update.c
src/misc/update.c
+4
-5
No files found.
src/misc/update.c
View file @
c0d5cfac
...
...
@@ -42,7 +42,6 @@
#include <vlc_stream.h>
#include <vlc_interface.h>
#include <unistd.h>
/* unlink() */
/*****************************************************************************
* Misc defines
...
...
@@ -1241,7 +1240,7 @@ void update_DownloadReal( update_download_thread_t *p_udt )
}
else
{
u
nlink
(
psz_destfile
);
/* FIXME: use (and write) utf8_unlink() ? */
u
tf8_unlink
(
psz_destfile
);
goto
end
;
}
...
...
@@ -1263,7 +1262,7 @@ void update_DownloadReal( update_download_thread_t *p_udt )
if
(
!
p_hash
)
{
msg_Err
(
p_udt
,
"Unable to hash %s"
,
psz_destfile
);
unlink
(
psz_destfile
);
u
tf8_u
nlink
(
psz_destfile
);
goto
end
;
}
...
...
@@ -1271,7 +1270,7 @@ void update_DownloadReal( update_download_thread_t *p_udt )
p_hash
[
1
]
!=
sign
.
hash_verification
[
1
]
)
{
msg_Err
(
p_udt
,
"Bad SHA1 hash for %s"
,
psz_destfile
);
unlink
(
psz_destfile
);
u
tf8_u
nlink
(
psz_destfile
);
goto
end
;
}
...
...
@@ -1280,7 +1279,7 @@ void update_DownloadReal( update_download_thread_t *p_udt )
{
msg_Err
(
p_udt
,
"BAD SIGNATURE for %s"
,
psz_destfile
);
free
(
p_hash
);
unlink
(
psz_destfile
);
u
tf8_u
nlink
(
psz_destfile
);
goto
end
;
}
...
...
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