diff options
| author | lneto <lneto@NetBSD.org> | 2014-07-19 18:38:33 +0000 |
|---|---|---|
| committer | lneto <lneto@NetBSD.org> | 2014-07-19 18:38:33 +0000 |
| commit | c4b1eb35e827c43a0dcf41027c98aaedf46be036 (patch) | |
| tree | f80015954e9c51266af4f2e1c57f2134cbcc1d62 /share/examples/lua | |
| parent | c6d74635a1d93d95a3770bd621dcd83ed33100c2 (diff) | |
lua: updated from 5.1 to 5.3 work3
* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
Diffstat (limited to 'share/examples/lua')
| -rw-r--r-- | share/examples/lua/gpio.lua | 4 | ||||
| -rw-r--r-- | share/examples/lua/sqlite.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/examples/lua/gpio.lua b/share/examples/lua/gpio.lua index af796c88097..595f08fdcfd 100644 --- a/share/examples/lua/gpio.lua +++ b/share/examples/lua/gpio.lua @@ -1,6 +1,6 @@ --- $NetBSD: gpio.lua,v 1.2 2012/02/25 09:13:38 mbalmer Exp $ +-- $NetBSD: gpio.lua,v 1.3 2014/07/19 18:38:34 lneto Exp $ -require 'gpio' +local gpio = require 'gpio' print(gpio._VERSION .. ' - ' .. gpio._DESCRIPTION) print(gpio._COPYRIGHT) diff --git a/share/examples/lua/sqlite.lua b/share/examples/lua/sqlite.lua index 1f8ffff7d86..37d331d869b 100644 --- a/share/examples/lua/sqlite.lua +++ b/share/examples/lua/sqlite.lua @@ -1,6 +1,6 @@ --- $NetBSD: sqlite.lua,v 1.1 2011/10/15 12:58:43 mbalmer Exp $ +-- $NetBSD: sqlite.lua,v 1.2 2014/07/19 18:38:34 lneto Exp $ -require 'sqlite' +local sqlite = require 'sqlite' print(sqlite._VERSION .. ' - ' .. sqlite._DESCRIPTION) print(sqlite._COPYRIGHT) |
