[vlc-commits] lua: remove special case for Apple in vlclua_dir_list

Jean-Baptiste Kempf git at videolan.org
Wed May 17 12:08:57 CEST 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 17 12:06:07 2017 +0200| [b41254961eac3f8bbd9ac2882fa877813aaa21fb] | committer: Jean-Baptiste Kempf

lua: remove special case for Apple in vlclua_dir_list

It was fixed in the core a long time ago, and would give us share/share/

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

 modules/lua/vlc.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index a5d695ac9f..be7dbfd7e2 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -220,13 +220,6 @@ int vlclua_dir_list( const char *luadirname, char ***pppsz_dir_list )
         if( likely(asprintf( &ppsz_dir_list[i], "%s"DIR_SEP"lua"DIR_SEP"%s",
                               psz_datapath, luadirname ) != -1) )
             i++;
-
-#if defined(__APPLE__)
-        if( likely(asprintf( &ppsz_dir_list[i],
-                             "%s"DIR_SEP"share"DIR_SEP"lua"DIR_SEP"%s",
-                             psz_datapath, luadirname ) != -1) )
-            i++;
-#endif
         free( psz_datapath );
     }
 



More information about the vlc-commits mailing list