Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
sync with experimental rev. 7127.
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7128 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Mar 23, 2019
1 parent 5f945e8 commit eafe6e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/lua/lnewtokenlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ static int set_char(lua_State * L)
if (n < 2)
return 0;
name = lua_tolstring(L, 1, &lname);
if (name == null)
if (name == NULL)
return 0;
value = lua_tointeger(L, 2);
if (value < 0)
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/lua/lpdfelib.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ define_to_string(stream, "pdfe.stream")
static int pdfelib_tostring_reference(lua_State * L) { \
pdfe_reference *p = check_isreference(L, 1); \
if (p != NULL) { \
lua_pushfstring(L, "<pdfe.reference " "%i>", (int) p->onum); \
lua_pushfstring(L, "<pdfe.reference " "%d>", p->onum); \
return 1; \
} \
return 0; \
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7124
#define luatex_svn_revision 7127
2 changes: 1 addition & 1 deletion source/texk/web2c/mplibdir/mp.w
Original file line number Diff line number Diff line change
Expand Up @@ -2948,7 +2948,7 @@ void *mp_xmalloc (MP mp, size_t nmem, size_t size) {
mp_jump_out (mp);
}
#endif
w = malloc (nmem * size);
w = calloc(nmem, size); /* TODO: check an un-initialize use of w and replace calloc with malloc. */
if (w == NULL) {
mp_fputs ("Out of memory!\n", mp->err_out);
mp->history = mp_system_error_stop;
Expand Down

0 comments on commit eafe6e1

Please sign in to comment.