croissant icon indicating copy to clipboard operation
croissant copied to clipboard

Prints out wrong LuaJIT banner

Open averms opened this issue 4 years ago • 1 comments

I'm running git HEAD from https://github.com/LuaJIT/LuaJIT/tree/v2.1/ so my LuaJIT banner is

LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2021 Mike Pall. https://luajit.org/

but croissant prints out

LuaJIT Copyright (C) 2005-2017 Mike Pall. http://luajit.org/

There's no way to programmatically discover the correct banner to print AFAIK. Maybe it should just print out _VERSION if PUC-Rio Lua and jit.version if LuaJIT.

I'm happy to send a patch btw.

averms avatar Oct 21 '21 21:10 averms

Good point! Go ahead 👍

giann avatar Oct 22 '21 07:10 giann