Henrik Grimler
7 years ago
committed by
Fredrik Fornwall
12 changed files with 3774 additions and 3720 deletions
@ -1,17 +0,0 @@ |
|||
diff -u -r ../texlive-20160523-source/texk/web2c/luatexdir/image/pdftoepdf.w ./texk/web2c/luatexdir/image/pdftoepdf.w
|
|||
--- ../texlive-20160523-source/texk/web2c/luatexdir/image/pdftoepdf.w 2016-03-25 12:44:48.000000000 +0000
|
|||
+++ ./texk/web2c/luatexdir/image/pdftoepdf.w 2017-04-21 23:48:03.787934684 +0000
|
|||
@@ -71,7 +72,12 @@
|
|||
ck = (char *) malloc(PDF_CHECKSUM_SIZE); |
|||
if (ck == NULL) |
|||
formatted_error("pdf inclusion","out of memory while processing '%s'", a); |
|||
- snprintf(ck, PDF_CHECKSUM_SIZE, "%" PRIu64 "_%" PRIu64, (uint64_t) size,(uint64_t) mtime);
|
|||
+ snprintf(ck, PDF_CHECKSUM_SIZE, "%"
|
|||
+ PRIu64
|
|||
+ "_%"
|
|||
+ PRIu64,
|
|||
+ (uint64_t) size,
|
|||
+ (uint64_t) mtime);
|
|||
} else { |
|||
switch (fe) { |
|||
case FE_FAIL: |
File diff suppressed because it is too large
@ -0,0 +1,35 @@ |
|||
--- ../pdftoepdf.w 2018-04-30 19:38:03.041290335 +0000
|
|||
+++ ./texk/web2c/luatexdir/image/pdftoepdf.w 2018-04-30 20:27:50.631512751 +0000
|
|||
@@ -472,10 +472,10 @@
|
|||
break; |
|||
*/ |
|||
case objString: |
|||
- copyString(pdf, obj->getString());
|
|||
+ copyString(pdf, (GooString *)obj->getString());
|
|||
break; |
|||
case objName: |
|||
- copyName(pdf, obj->getName());
|
|||
+ copyName(pdf, (char *)obj->getName());
|
|||
break; |
|||
case objNull: |
|||
pdf_add_null(pdf); |
|||
--- ../lepdflib.cc 2018-04-30 19:37:10.553331209 +0000
|
|||
+++ ./texk/web2c/luatexdir/lua/lepdflib.cc 2018-04-30 20:40:55.079059154 +0000
|
|||
@@ -674,7 +674,7 @@
|
|||
uin = (udstruct *) luaL_checkudata(L, 1, M_##in); \ |
|||
if (uin->pd != NULL && uin->pd->pc != uin->pc) \ |
|||
pdfdoc_changed_error(L); \ |
|||
- gs = ((in *) uin->d)->function(); \
|
|||
+ gs = (GooString *)((in *) uin->d)->function(); \
|
|||
if (gs != NULL) \ |
|||
lua_pushlstring(L, gs->getCString(), gs->getLength()); \ |
|||
else \ |
|||
@@ -1813,7 +1813,7 @@
|
|||
if (uin->pd != NULL && uin->pd->pc != uin->pc) |
|||
pdfdoc_changed_error(L); |
|||
if (((Object *) uin->d)->isString()) { |
|||
- gs = ((Object *) uin->d)->getString();
|
|||
+ gs = (GooString *)((Object *) uin->d)->getString();
|
|||
lua_pushlstring(L, gs->getCString(), gs->getLength()); |
|||
} else |
|||
lua_pushnil(L); |
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue