From 050466552bf7eb8b7944aa52c93b45326ae14d7a Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 12 Oct 2020 16:11:32 +0200 Subject: Minor changes and https-ify links. --- src/lib_base.c | 4 ++-- src/lj_alloc.c | 6 +++--- src/lua.h | 2 +- src/luajit.h | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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) lua_gettable(L, LUA_GLOBALSINDEX); tv = L->top-1; } - shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) - && !gcrefu(basemt_it(G(L), LJ_TNUMX)); + shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) && + !gcrefu(basemt_it(G(L), LJ_TNUMX)); for (i = 0; i < nargs; i++) { const char *str; 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 @@ ** ** This is a version (aka dlmalloc) of malloc/free/realloc written by ** Doug Lea and released to the public domain, as explained at -** http://creativecommons.org/licenses/publicdomain. +** https://creativecommons.org/licenses/publicdomain. ** ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) ** @@ -16,8 +16,8 @@ ** If you want to use dlmalloc in another project, you should get ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ ** For thread-safe derivatives, take a look at: -** - ptmalloc: http://www.malloc.de/ -** - nedmalloc: http://www.nedprod.com/programs/portable/nedmalloc/ +** - ptmalloc: https://www.malloc.de/ +** - nedmalloc: https://www.nedprod.com/programs/portable/nedmalloc/ */ #define lj_alloc_c diff --git a/src/lua.h b/src/lua.h index c83fd3bb..2bd683c2 100644 --- a/src/lua.h +++ b/src/lua.h @@ -1,7 +1,7 @@ /* ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ ** Lua - An Extensible Extension Language -** Lua.org, PUC-Rio, Brazil (http://www.lua.org) +** Lua.org, PUC-Rio, Brazil (https://www.lua.org) ** See Copyright Notice at the end of this file */ 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 @@ /* -** LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/ +** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ ** ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. ** @@ -22,7 +22,7 @@ ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ** -** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] +** [ MIT license: https://www.opensource.org/licenses/mit-license.php ] */ #ifndef _LUAJIT_H @@ -34,7 +34,7 @@ #define LUAJIT_VERSION_NUM 20005 /* Version 2.0.5 = 02.00.05. */ #define LUAJIT_VERSION_SYM luaJIT_version_2_0_5 #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" -#define LUAJIT_URL "http://luajit.org/" +#define LUAJIT_URL "https://luajit.org/" /* Modes for luaJIT_setmode. */ #define LUAJIT_MODE_MASK 0x00ff -- cgit v1.2.1