summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapps/plugins/lua/rocklib_aux.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl
index 9103fccbda..8256b838ed 100755
--- a/apps/plugins/lua/rocklib_aux.pl
+++ b/apps/plugins/lua/rocklib_aux.pl
@@ -51,17 +51,25 @@ my @ported_functions;
51# you want to manually port them to Lua. The format is a standard Perl regular 51# you want to manually port them to Lua. The format is a standard Perl regular
52# expression. 52# expression.
53my @forbidden_functions = ('^open$', 53my @forbidden_functions = ('^open$',
54 '^open_utf8$',
54 '^close$', 55 '^close$',
55 '^read$', 56 '^read$',
56 '^write$', 57 '^write$',
57 '^mkdir$', 58 '^mkdir$',
58 '^rmdir$', 59 '^rmdir$',
60 '^remove$',
61 '^rename$',
59 '^lseek$', 62 '^lseek$',
60 '^ftruncate$', 63 '^ftruncate$',
61 '^filesize$', 64 '^filesize$',
62 '^fdprintf$', 65 '^fdprintf$',
63 '^read_line$', 66 '^read_line$',
64 '^[a-z]+dir$', 67 '^[a-z]+dir$',
68 '^s?+rand$',
69 '^strl?+cpy$',
70 '^strl?+cat$',
71 '^codec_',
72 '^timer_',
65 '^__.+$', 73 '^__.+$',
66 '^.+_(un)?cached$', 74 '^.+_(un)?cached$',
67 '^audio_play$', 75 '^audio_play$',