Below is the example of the problem on my Windows 10 x64 with Clink in two screenshots:


Below two pictures explaining the root of the problem.
First is Lua interpreter launched with lua52.dll which was compiled in year 2015 with MinGW (v4.9.3):

Currently z.lua code expects similar result from os.tmpname() function.
Second is the same Lua interpreter launched with lua52.dll which was compiled in year 2022 with MSVC19:

Lua 5.2 interpreter integrated into Clink returns similar os.tmpname() function result.
I forked the repository and edited the code in z.lua (here and here) in a way that it is now compatible with both cases.
If you are willing to accept the changes I can send you a pull request.
Below is the example of the problem on my Windows 10 x64 with Clink in two screenshots:
Below two pictures explaining the root of the problem.

First is Lua interpreter launched with lua52.dll which was compiled in year 2015 with MinGW (v4.9.3):
Currently
z.luacode expects similar result fromos.tmpname()function.Second is the same Lua interpreter launched with lua52.dll which was compiled in year 2022 with MSVC19:

Lua 5.2 interpreter integrated into Clink returns similar
os.tmpname()function result.I forked the repository and edited the code in
z.lua(here and here) in a way that it is now compatible with both cases.If you are willing to accept the changes I can send you a pull request.