summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@vx21.xyz>2019-10-04 23:28:50 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-10-06 09:22:07 +0100
commit38f66f56a7ea123ecc9c8f548ee0f34f88b56cf3 (patch)
treed7dc30f1e45d84e5e72bba446d43c3603ac6412e
parent4c42af5fd9b2bb8cc2c37c71314b8c443cf80392 (diff)
downloadluxio-master.tar.bz2
Add license statementsHEADmaster
-rw-r--r--Makefile1
-rw-r--r--findlua.mk1
-rw-r--r--luxio_constants.inc.in1
-rw-r--r--tests/test-access.lua1
-rw-r--r--tests/test-creat.lua1
-rw-r--r--tests/test-dirent.lua1
-rw-r--r--tests/test-event-serv.lua1
-rw-r--r--tests/test-fcntl-lock-1.lua1
-rw-r--r--tests/test-fcntl-lock-2.lua1
-rw-r--r--tests/test-forkexecpwaitpid.lua1
-rw-r--r--tests/test-forkexecwaitpid.lua1
-rw-r--r--tests/test-http-client.lua1
-rw-r--r--tests/test-iconv.lua1
-rw-r--r--tests/test-mqueue-read.lua1
-rw-r--r--tests/test-mqueue-write.lua1
-rw-r--r--tests/test-poll-serv.lua1
-rw-r--r--tests/test-select.lua1
-rwxr-xr-xtests/test-setsid.lua1
-rw-r--r--tests/test-sigaction.lua1
-rw-r--r--tests/test-sigpending.lua1
-rw-r--r--tests/test-sigprocmask.lua1
-rw-r--r--tests/test-sigsuspend.lua1
-rw-r--r--tests/test-sigtimedwait.lua1
-rw-r--r--tests/test-sigwait.lua1
-rw-r--r--tests/test-sigwaitinfo.lua1
-rw-r--r--tests/test-sio-http-client.lua1
-rw-r--r--tests/test-splice.lua1
-rw-r--r--tests/test-subprocess.lua1
-rw-r--r--tests/test-sysconf.lua1
-rw-r--r--tests/test-syslog.lua1
-rw-r--r--tests/test-termident.lua1
-rw-r--r--tests/test-uds-server.lua1
32 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a4965d2..0b883a7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
PREFIX ?= /usr
CP := cp -r
RM := rm -rf
diff --git a/findlua.mk b/findlua.mk
index 83d15cd..d0f64a4 100644
--- a/findlua.mk
+++ b/findlua.mk
@@ -1,3 +1,4 @@
+# See LICENSE file for copyright and license details.
ifeq ($(strip $(shell which pkg-config > /dev/null || echo NONE)),NONE)
$(error This makefile requires pkg-config)
endif
diff --git a/luxio_constants.inc.in b/luxio_constants.inc.in
index 9cd058f..83e1bb9 100644
--- a/luxio_constants.inc.in
+++ b/luxio_constants.inc.in
@@ -1,3 +1,4 @@
+/* See LICENSE file for copyright and license details. */
/* preprocessed by a script. First character handles processing:
*
* ? E(FOO) -> #ifdef FOO\nE(FOO)\n#endif
diff --git a/tests/test-access.lua b/tests/test-access.lua
index 0e6ab69..1afa71e 100644
--- a/tests/test-access.lua
+++ b/tests/test-access.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local sio = require "luxio.simple"
diff --git a/tests/test-creat.lua b/tests/test-creat.lua
index 432788b..0c553e5 100644
--- a/tests/test-creat.lua
+++ b/tests/test-creat.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local sio = require "luxio.simple"
diff --git a/tests/test-dirent.lua b/tests/test-dirent.lua
index 5f54099..6b3d0c7 100644
--- a/tests/test-dirent.lua
+++ b/tests/test-dirent.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
dirp = l.opendir(arg[1] or ".")
diff --git a/tests/test-event-serv.lua b/tests/test-event-serv.lua
index 83b9101..13559d7 100644
--- a/tests/test-event-serv.lua
+++ b/tests/test-event-serv.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local ev = require 'luxio.event'
local sio = require 'luxio.simple'
diff --git a/tests/test-fcntl-lock-1.lua b/tests/test-fcntl-lock-1.lua
index a221b98..cb2493e 100644
--- a/tests/test-fcntl-lock-1.lua
+++ b/tests/test-fcntl-lock-1.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local fd, r, errno
diff --git a/tests/test-fcntl-lock-2.lua b/tests/test-fcntl-lock-2.lua
index 3a6dbd1..c5df7c4 100644
--- a/tests/test-fcntl-lock-2.lua
+++ b/tests/test-fcntl-lock-2.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local fd, r, errno
diff --git a/tests/test-forkexecpwaitpid.lua b/tests/test-forkexecpwaitpid.lua
index b5362df..98e2e0c 100644
--- a/tests/test-forkexecpwaitpid.lua
+++ b/tests/test-forkexecpwaitpid.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local child = l.fork()
diff --git a/tests/test-forkexecwaitpid.lua b/tests/test-forkexecwaitpid.lua
index ab10ec6..02abef0 100644
--- a/tests/test-forkexecwaitpid.lua
+++ b/tests/test-forkexecwaitpid.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local child = l.fork()
diff --git a/tests/test-http-client.lua b/tests/test-http-client.lua
index 7d0e095..447799c 100644
--- a/tests/test-http-client.lua
+++ b/tests/test-http-client.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
local req = "GET / HTTP/1.1\r\nHost: www.rjek.com\r\nConnection: close\r\n\r\n"
diff --git a/tests/test-iconv.lua b/tests/test-iconv.lua
index 6a14ac1..ea622f2 100644
--- a/tests/test-iconv.lua
+++ b/tests/test-iconv.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
luxio = require 'luxio'
cd = luxio.iconv_open("UTF-8", "ISO-8859-1")
diff --git a/tests/test-mqueue-read.lua b/tests/test-mqueue-read.lua
index d8aeb90..3c4b9a0 100644
--- a/tests/test-mqueue-read.lua
+++ b/tests/test-mqueue-read.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
s = require "luxio.simple"
diff --git a/tests/test-mqueue-write.lua b/tests/test-mqueue-write.lua
index 42eff87..37bb032 100644
--- a/tests/test-mqueue-write.lua
+++ b/tests/test-mqueue-write.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
s = require "luxio.simple"
diff --git a/tests/test-poll-serv.lua b/tests/test-poll-serv.lua
index a3c7ed7..b52f895 100644
--- a/tests/test-poll-serv.lua
+++ b/tests/test-poll-serv.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local serv = l.socket(l.AF_INET, l.SOCK_STREAM, 0)
diff --git a/tests/test-select.lua b/tests/test-select.lua
index 4d810ba..8658668 100644
--- a/tests/test-select.lua
+++ b/tests/test-select.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
-- e.g. lua tests/test-select.lua <(while :; do echo hello; sleep 1; done) <(while :; do echo world; sleep 1; done)
local l = require "luxio"
diff --git a/tests/test-setsid.lua b/tests/test-setsid.lua
index c720bd6..0c4c74a 100755
--- a/tests/test-setsid.lua
+++ b/tests/test-setsid.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local child = l.fork()
diff --git a/tests/test-sigaction.lua b/tests/test-sigaction.lua
index 8f2e312..7bebcb7 100644
--- a/tests/test-sigaction.lua
+++ b/tests/test-sigaction.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local os = require "os"
local l = require "luxio"
local io = require "io"
diff --git a/tests/test-sigpending.lua b/tests/test-sigpending.lua
index 43136b1..8725891 100644
--- a/tests/test-sigpending.lua
+++ b/tests/test-sigpending.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
s = l.newsigset()
diff --git a/tests/test-sigprocmask.lua b/tests/test-sigprocmask.lua
index 490672b..7f1769f 100644
--- a/tests/test-sigprocmask.lua
+++ b/tests/test-sigprocmask.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
set = l.newsigset()
diff --git a/tests/test-sigsuspend.lua b/tests/test-sigsuspend.lua
index 5c85e77..60c1acb 100644
--- a/tests/test-sigsuspend.lua
+++ b/tests/test-sigsuspend.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
function handler()
diff --git a/tests/test-sigtimedwait.lua b/tests/test-sigtimedwait.lua
index 0311a50..549c107 100644
--- a/tests/test-sigtimedwait.lua
+++ b/tests/test-sigtimedwait.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
function handler()
diff --git a/tests/test-sigwait.lua b/tests/test-sigwait.lua
index bbd2378..1fd2f83 100644
--- a/tests/test-sigwait.lua
+++ b/tests/test-sigwait.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
function handler()
diff --git a/tests/test-sigwaitinfo.lua b/tests/test-sigwaitinfo.lua
index 242b444..aadc571 100644
--- a/tests/test-sigwaitinfo.lua
+++ b/tests/test-sigwaitinfo.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
function handler()
diff --git a/tests/test-sio-http-client.lua b/tests/test-sio-http-client.lua
index 18279ea..21d0034 100644
--- a/tests/test-sio-http-client.lua
+++ b/tests/test-sio-http-client.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local sio = require "luxio.simple"
sock = assert(sio.connect("www.rjek.com", "http"))
diff --git a/tests/test-splice.lua b/tests/test-splice.lua
index 2f434c4..c550336 100644
--- a/tests/test-splice.lua
+++ b/tests/test-splice.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
function check(r, e, ...)
diff --git a/tests/test-subprocess.lua b/tests/test-subprocess.lua
index 06f7757..6fac8a9 100644
--- a/tests/test-subprocess.lua
+++ b/tests/test-subprocess.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
sp = require 'luxio.subprocess'
proc = sp.spawn_simple {
diff --git a/tests/test-sysconf.lua b/tests/test-sysconf.lua
index cba7f1e..2a442bb 100644
--- a/tests/test-sysconf.lua
+++ b/tests/test-sysconf.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
local io = require "io"
diff --git a/tests/test-syslog.lua b/tests/test-syslog.lua
index c5d2c98..e826066 100644
--- a/tests/test-syslog.lua
+++ b/tests/test-syslog.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
local l = require "luxio"
math.randomseed(os.time())
diff --git a/tests/test-termident.lua b/tests/test-termident.lua
index 5cde143..0ecb5e7 100644
--- a/tests/test-termident.lua
+++ b/tests/test-termident.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
print("ctermid()", l.ctermid())
diff --git a/tests/test-uds-server.lua b/tests/test-uds-server.lua
index a34cda1..5677f71 100644
--- a/tests/test-uds-server.lua
+++ b/tests/test-uds-server.lua
@@ -1,3 +1,4 @@
+-- See LICENSE file for copyright and license details.
l = require "luxio"
sock = l.socket(l.AF_UNIX, l.SOCK_DGRAM, 0)