8c5777fb98
tree: add standard copyright phrasing
...
Callisto - standalone scripting platform for Lua 5.4
Copyright (c) 2023-2024 Jeremy Baxter.
2024-02-19 10:16:45 +13:00
b5d61a25cb
rename the statically linked strlcpy to strbcpy
...
stands for "string bounds copy". Some systems like macOS include their
very own version of strlcpy and testing for that would require some
bloat like gnu automake so I'm just gonna rename it to prevent any
future conflicts. I only test on Linux and OpenBSD anyway. ;)
2024-01-25 19:47:57 +13:00
cae9985747
change BSD ifndefs to __OpenBSD__ and remove unnecessary ifdefs
...
I'm not sure if any operating system other than OpenBSD
has strlcpy/strlcat. May need to use a configure script
for this later on.
2023-12-23 16:33:38 +13:00
290289cbf5
Refactor and fix up a lot of code
...
Don't tell the boss I forgot a couple of free()s...
2023-11-26 17:13:41 +13:00
07164e0cf2
Add byte and ubyte #defines in util.h
2023-07-09 21:16:53 +12:00
d1c7b71043
Define streq macro in util.h and use it over strcmp in lprocess.c
2023-07-01 09:53:43 +12:00
6aa4b6de39
Remove libbsd support
2023-06-27 12:33:51 +12:00
b124d99c36
Initial import
2023-06-25 16:47:09 +12:00