[vlc-commits] skins2: replace unlink with vlc_unlink

Erwan Tulou git at videolan.org
Sat Jun 13 16:10:25 CEST 2015


vlc/vlc-2.2 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Jun 13 14:13:01 2015 +0200| [0f4bb9c024c6ce759b53a778b46157e8dcd6b7d0] | committer: Erwan Tulou

skins2: replace unlink with vlc_unlink

(cherry picked from commit 5e3c93f14aa5084101b1a0adf527016b3a86904c)
Signed-off-by: Erwan Tulou <erwan10 at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0f4bb9c024c6ce759b53a778b46157e8dcd6b7d0
---

 modules/gui/skins2/src/theme_loader.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp
index ae983a3..a8d2725 100644
--- a/modules/gui/skins2/src/theme_loader.cpp
+++ b/modules/gui/skins2/src/theme_loader.cpp
@@ -640,7 +640,7 @@ int tar_extract_all( TAR *t, char *prefix )
                     fprintf( stderr, "error writing %s skipping...\n", fname );
                     fclose( outfile );
                     outfile = NULL;
-                    unlink( fname );
+                    vlc_unlink( fname );
                 }
             }
             remaining -= bytes;



More information about the vlc-commits mailing list