diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/luainit.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.w | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w index 5f8f12d5592..e86f7f8d05b 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.w +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w @@ -764,10 +764,14 @@ void lua_initialize(int ac, char **av) banner = xmalloc(len); sprintf(banner, fmt, luatex_version_string, buf); } else { - const char *fmt = "This is LuaTeX, Version %s-%s " WEB2CVERSION " (rev %d)"; + const char *fmt = "This is LuaTeX, Version %s%s" WEB2CVERSION " (rev %d)"; size_t len; - char buf[16]; - sprintf(buf, "%d", luatex_date_info); + char buf[18]; +#ifndef NATIVE_TEXLIVE_BUILD + sprintf(buf, "-%d", luatex_date_info); +#else + buf[0] = 0; /* TL: skip datestamp provoking ever-changing binaries */ +#endif len = strlen(fmt) + strlen(luatex_version_string) + strlen(buf) + 6; banner = xmalloc(len); sprintf(banner, fmt, luatex_version_string, buf, luatex_svn); |