aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Expand)AuthorAgeFilesLines
* util.crand: Reorder includes so system ones are firstKim Alvefur2017-12-011-3/+2
* util.crand: Always include stdlib to be sure __GLIBC_PREREQ is definedKim Alvefur2017-12-011-3/+3
* util.signal: Use a static array to keep track of pending signals (fixes #1029)Kim Alvefur2017-11-141-23/+12
* util.encodings: Use the 'idx' argument correctly [-Wunused-parameter]Kim Alvefur2017-10-051-1/+1
* util.crand: Build with musl/non-glibc (can't have undefined argument-taking m...Kim Alvefur2017-04-251-0/+4
* util.pposix: Remove fallocateKim Alvefur2017-02-281-60/+1
* util.pposix: Add function for atomically appending data to a fileKim Alvefur2017-03-011-1/+64
* util.encodings: Make limit lookup table a const (from Lua f2a813ae)Kim Alvefur2017-03-221-1/+1
* util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desire...Kim Alvefur2017-03-121-1/+1
* util.signal: Restore non-standard GNU "default" behaviour of signal(2)Kim Alvefur2017-03-111-1/+1
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-095-7/+7
* util.pposix: Use correct type for limits [-Wconstant-conversion]Kim Alvefur2017-03-071-1/+1
* util.pposix: Limit meminfo to Linux until we can figure out how to get this i...Kim Alvefur2017-03-071-1/+1
* util.ringbuffer: Change types of length related variables to size_t [-Wsign-c...Kim Alvefur2017-03-021-2/+2
* Backed out changeset a3a4ed0d34f4 C99 is okKim Alvefur2017-03-021-2/+1
* util.crand: Only include getrandom shiv with glibc older than 2.25Kim Alvefur2017-03-021-1/+6
* util.crand: Change argumen names to match some man pageKim Alvefur2017-03-021-2/+2
* util.crand: Move comment blockKim Alvefur2017-03-011-4/+4
* util.pposix, configure: Move _GNU_SOURCE macro into source filesKim Alvefur2017-03-014-12/+17
* util.pposix: Expose ENOENT constant (usually 2, but you never know)Kim Alvefur2017-03-011-0/+5
* util.pposix: Fix typo in commentKim Alvefur2017-02-261-1/+1
* util.crand: Clarify that lua_error does not returnKim Alvefur2017-02-251-1/+1
* util.crand: Throw error if OpenSSLs RNG is not seededKim Alvefur2017-02-251-4/+6
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-128-138/+162
* util.ringbuffer: Remove address of buffer itself from __tostring since is now...Kim Alvefur2017-02-121-1/+1
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-235-8/+0
* util.crand: TODOsKim Alvefur2017-01-221-1/+2
* util.crand: Comment about getrandomKim Alvefur2017-01-221-1/+4
* util.crand: Add comment describing purpose of moduleKim Alvefur2017-01-221-0/+6
* util.crand: Update copyright headerKim Alvefur2017-01-221-3/+3
* util.ringbuffer: Allocate buffer itself as part of userdata (simpler, single ...Kim Alvefur2017-01-221-19/+3
* util.ringbuffer: Remove unused macrosKim Alvefur2017-01-221-3/+0
* util.crand: Raise hard errorsKim Alvefur2017-01-201-7/+3
* util.crand: Remove seedingKim Alvefur2017-01-201-20/+0
* util.crand: Let Lua handle allocation, freeing and error handling for bufferKim Alvefur2017-01-201-40/+3
* util.crand: Switch to luaL_checkinteger since checkint is deprecated in Lua 5.3Kim Alvefur2017-01-201-1/+2
* util-src: Make C modules assert that the Lua runtime matches what it was comp...Kim Alvefur2017-01-089-0/+27
* util.pposix: rfork() seems to be FreeBSD only (fixes #412)Kim Alvefur2016-12-191-2/+2
* configure: Move -ggdb flag here from util-src/MakeKim Alvefur2016-08-191-1/+1
* Move C compiler flag -pedantic from Makefile to configureKim Alvefur2016-08-191-1/+1
* util-src/Makefile: Remove redundant -Wall (already set by configure)Kim Alvefur2016-08-191-1/+1
* util.table: Move loop variable to top of function for C89 compatibilityKim Alvefur2016-08-071-1/+2
* util.table: Add pack() function (this is already available in Lua 5.2+)Matthew Wild2016-07-271-0/+15
* util.pposix: Ask for shared file descriptor table using rfork() on *BSD (fixe...Kim Alvefur2016-05-251-0/+13
* util.crand: Silence compiler warningKim Alvefur2016-05-251-1/+1
* util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)Kim Alvefur2016-02-221-1/+1
* util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4ran...Kim Alvefur2016-02-222-1/+164
* Add util.ringbuffer, a ringbuffer with a file handle like interfaceKim Alvefur2016-02-022-2/+234
* util.pposix: Expose the uname GNU extension field 'domainname'Kim Alvefur2015-11-251-0/+4
* configure,util-src/Makefile: Make a variable that includes -l for OpenSSL (li...Kim Alvefur2015-09-271-1/+1