Line
Link Here
|
0 |
-- luatex-beta-0.70.1-orig/source/texk/web2c/luatexdir/luazlib/lzlib.c |
0 |
++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/luazlib/lzlib.c |
Lines 549-562
Link Here
|
549 |
|
549 |
|
550 |
/* ====================================================================== */ |
550 |
/* ====================================================================== */ |
551 |
|
551 |
|
552 |
/* make sure header and library version are consistent */ |
|
|
553 |
const char* version = zlibVersion(); |
554 |
if (strncmp(version, ZLIB_VERSION, 5)) |
555 |
{ |
556 |
lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version); |
557 |
lua_error(L); |
558 |
} |
559 |
|
560 |
/* create new metatable for zlib compression structures */ |
552 |
/* create new metatable for zlib compression structures */ |
561 |
luaL_newmetatable(L, ZSTREAMMETA); |
553 |
luaL_newmetatable(L, ZSTREAMMETA); |
562 |
lua_pushliteral(L, "__index"); |
554 |
lua_pushliteral(L, "__index"); |