diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib_base.c | 4 | ||||
| -rw-r--r-- | src/lj_alloc.c | 6 | ||||
| -rw-r--r-- | src/lua.h | 2 | ||||
| -rw-r--r-- | src/luajit.h | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 99f7b44a..f3388798 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
| @@ -506,8 +506,8 @@ LJLIB_CF(print) | |||
| 506 | lua_gettable(L, LUA_GLOBALSINDEX); | 506 | lua_gettable(L, LUA_GLOBALSINDEX); |
| 507 | tv = L->top-1; | 507 | tv = L->top-1; |
| 508 | } | 508 | } |
| 509 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) | 509 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) && |
| 510 | && !gcrefu(basemt_it(G(L), LJ_TNUMX)); | 510 | !gcrefu(basemt_it(G(L), LJ_TNUMX)); |
| 511 | for (i = 0; i < nargs; i++) { | 511 | for (i = 0; i < nargs; i++) { |
| 512 | const char *str; | 512 | const char *str; |
| 513 | size_t size; | 513 | size_t size; |
diff --git a/src/lj_alloc.c b/src/lj_alloc.c index dc64dca9..9adaa0e5 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ** | 6 | ** |
| 7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by | 7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by |
| 8 | ** Doug Lea and released to the public domain, as explained at | 8 | ** Doug Lea and released to the public domain, as explained at |
| 9 | ** http://creativecommons.org/licenses/publicdomain. | 9 | ** https://creativecommons.org/licenses/publicdomain. |
| 10 | ** | 10 | ** |
| 11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) | 11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) |
| 12 | ** | 12 | ** |
| @@ -16,8 +16,8 @@ | |||
| 16 | ** If you want to use dlmalloc in another project, you should get | 16 | ** If you want to use dlmalloc in another project, you should get |
| 17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ | 17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ |
| 18 | ** For thread-safe derivatives, take a look at: | 18 | ** For thread-safe derivatives, take a look at: |
| 19 | ** - ptmalloc: http://www.malloc.de/ | 19 | ** - ptmalloc: https://www.malloc.de/ |
| 20 | ** - nedmalloc: http://www.nedprod.com/programs/portable/nedmalloc/ | 20 | ** - nedmalloc: https://www.nedprod.com/programs/portable/nedmalloc/ |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #define lj_alloc_c | 23 | #define lj_alloc_c |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ | 2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ |
| 3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
| 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (https://www.lua.org) |
| 5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
diff --git a/src/luajit.h b/src/luajit.h index 5f5b3887..ea7118c4 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/ | 2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ |
| 3 | ** | 3 | ** |
| 4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. | 4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. |
| 5 | ** | 5 | ** |
| @@ -22,7 +22,7 @@ | |||
| 22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 24 | ** | 24 | ** |
| 25 | ** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] | 25 | ** [ MIT license: https://www.opensource.org/licenses/mit-license.php ] |
| 26 | */ | 26 | */ |
| 27 | 27 | ||
| 28 | #ifndef _LUAJIT_H | 28 | #ifndef _LUAJIT_H |
| @@ -34,7 +34,7 @@ | |||
| 34 | #define LUAJIT_VERSION_NUM 20005 /* Version 2.0.5 = 02.00.05. */ | 34 | #define LUAJIT_VERSION_NUM 20005 /* Version 2.0.5 = 02.00.05. */ |
| 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_5 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_0_5 |
| 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" |
| 37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "https://luajit.org/" |
| 38 | 38 | ||
| 39 | /* Modes for luaJIT_setmode. */ | 39 | /* Modes for luaJIT_setmode. */ |
| 40 | #define LUAJIT_MODE_MASK 0x00ff | 40 | #define LUAJIT_MODE_MASK 0x00ff |
