lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]





On Sun, May 6, 2018 at 1:25 PM, Russell Haley <russ.haley@gmail.com> wrote:


On Sun, May 6, 2018 at 7:51 AM, Kubo Takehiro <kubo@jiubao.org> wrote:
On Sun, May 6, 2018 at 11:41 PM, Kubo Takehiro <kubo@jiubao.org> wrote:
> I uploaded three patched files to the same location.
> https://gist.github.com/kubo/28a8a3c66858f6126ffc28f363c9e55f
>
> Click the [Download ZIP] button at the upper right corner.

Sorry, I uploaded incorrect file.
If the line 278 of lauxlib.c is "&& errno == 0", download the file
again or replace == with !=.

Thank you. I patched 5.4 work1 by accident but got away with it! There are also a few places in you files that are "initb" instead of "init.b". My kids are flanking me, I don't have time to produce a patch. I'll add that to my up-coming WinLua release. 

sorry, output from my tests:

#patched 5.4 lua test build
C:\Users\russh\projects\desktopLua> .\bin\dtlua.exe
The function address is valid: 00007FF9832B5810

Lua 5.4.0 (work1)  Copyright (C) 1994-2018 Lua.org, PUC-Rio
> os.execute("exit -1")
nil     exit    -1
>
C:\Users\russh\projects\desktopLua> lua
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> os.execute("exit -1")
nil     No error        0
>
 

Russ