diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-20 23:47:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-20 23:47:28 +0000 |
commit | 19b6b47d179f7b2c660db6143ffe15458f111ef5 (patch) | |
tree | f9760649dfb90bd534f65507f4a810b6fe55477e /Build/source/texk/web2c/luatexdir/lua/luainit.w | |
parent | d7cef2e3b00fb109d35da34a7ae12974e1b1860d (diff) |
mpost, luatex: consistently use TL version, not datestamps
git-svn-id: svn://tug.org/texlive/trunk@31709 c570f23f-e606-0410-a88d-b1316a301751
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); |