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
493b6549
Commit
493b6549
authored
May 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove -> utf8_unlink
parent
1a24f157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/config/file.c
src/config/file.c
+1
-1
src/modules/cache.c
src/modules/cache.c
+1
-1
No files found.
src/config/file.c
View file @
493b6549
...
@@ -682,7 +682,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
...
@@ -682,7 +682,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
fclose
(
file
);
fclose
(
file
);
#ifdef WIN32
#ifdef WIN32
/* Windows cannot remove open files nor overwrite existing ones */
/* Windows cannot remove open files nor overwrite existing ones */
remove
(
permanent
);
utf8_unlink
(
permanent
);
rename
(
temporary
,
permanent
);
rename
(
temporary
,
permanent
);
vlc_mutex_unlock
(
&
lock
);
vlc_mutex_unlock
(
&
lock
);
#endif
#endif
...
...
src/modules/cache.c
View file @
493b6549
...
@@ -608,7 +608,7 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
...
@@ -608,7 +608,7 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
rename
(
psz_tmpname
,
psz_filename
);
/* atomically replace old cache */
rename
(
psz_tmpname
,
psz_filename
);
/* atomically replace old cache */
fclose
(
file
);
fclose
(
file
);
#else
#else
remove
(
psz_filename
);
utf8_unlink
(
psz_filename
);
fclose
(
file
);
fclose
(
file
);
rename
(
psz_tmpname
,
psz_filename
);
rename
(
psz_tmpname
,
psz_filename
);
#endif
#endif
...
...
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