Commit graph

215 commits

Author SHA1 Message Date
d1c7b71043 Define streq macro in util.h and use it over strcmp in lprocess.c 2023-07-01 09:53:43 +12:00
bcdb57b4dd Add credit to OpenBSD for strlcat and strlcpy 2023-07-01 09:53:08 +12:00
4fb243af7b Add lextra.c and extra library, with sleep() now part of it instead of in os 2023-07-01 09:52:01 +12:00
2d78ec849e Compile Lua 5.4 and lua-cjson using -std=c99 2023-07-01 09:48:15 +12:00
0d7604cb96 Remove unnecessary header files 2023-06-27 18:19:03 +12:00
1506c1e49a Remove use of clearenv(), it is not portable 2023-06-27 17:44:42 +12:00
c739534c38 Lua makefile changes + remove Lua binaries 2023-06-27 17:44:17 +12:00
4acdc08900 Add lua and luac to .gitignore 2023-06-27 16:40:23 +12:00
94f9ca6a6e Use strlcpy over strcpy in cl.parseopts 2023-06-27 12:43:27 +12:00
2cb636f59d Remove libbsd and libdl as a runtime dependency in readme
Now the functions needed from libbsd are supplied by util.c,
and libdl is built into libc. Linking with -ldl causes errors
on some BSDs anyway.
2023-06-27 12:35:21 +12:00
6aa4b6de39 Remove libbsd support 2023-06-27 12:33:51 +12:00
46be9fd805 Add license file 2023-06-26 20:36:37 +12:00
4778738d7c Remove test.lua from config.ld and add it to gitignore 2023-06-26 08:05:38 +12:00
17ee021cf0 Create README.md 2023-06-25 19:25:16 +12:00
b124d99c36 Initial import 2023-06-25 16:47:09 +12:00