Skip to content

Commit 8906110

Browse files
committed
Fixed Linux modules not working. Bug introduced in 008c70f69e3c8e3d332424603c9ba00fe41b2bea (Applied source code semantic modification. Removed unusable function.)
1 parent 92a10fb commit 8906110

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/lapi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,6 @@ LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data,
898898
}
899899

900900

901-
#ifdef WITH_STRING_DUMP
902901
LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
903902
int status;
904903
TValue *o;
@@ -912,7 +911,6 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
912911
lua_unlock(L);
913912
return status;
914913
}
915-
#endif
916914

917915
LUA_API int lua_status (lua_State *L) {
918916
return L->status;

src/ldump.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "lobject.h"
1515
#include "lstate.h"
1616
#include "lundump.h"
17-
#ifdef WITH_STRING_DUMP
1817

1918
typedef struct {
2019
lua_State* L;
@@ -163,5 +162,3 @@ int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip
163162
DumpFunction(f,NULL,&D);
164163
return D.status;
165164
}
166-
167-
#endif // WITH_STRING_DUMP

0 commit comments

Comments
 (0)