aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
Commit message (Collapse)AuthorAgeFilesLines
* util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB)Kim Alvefur2019-11-161-5/+5
|
* util.pposix: Allow _DARWIN_C_SOURCE to be overridenKim Alvefur2018-09-081-0/+2
| | | | Like the others there
* Merge 0.10->trunkKim Alvefur2018-09-081-0/+3
|\
| * util.pposix: Fix or silence a warning on OS X (#1202)Kim Alvefur2018-09-081-0/+3
| |
* | Merge 0.10->trunkKim Alvefur2018-09-081-1/+1
|\|
| * util.pposix: Fix building on OS X (#1202)Kim Alvefur2018-08-181-1/+1
| |
* | util.pposix: Restrict use of malloc_info to glibcKim Alvefur2018-09-071-1/+1
| | | | | | | | Fixes build on musl based distros like Alpine linux
* | util.pposix: Do not attempt to assign to stdio variables [pedantic]Kim Alvefur2018-09-071-3/+3
| | | | | | | | | | | | Fixes build on gcc 6.4.0 See also https://stackoverflow.com/a/586416
* | pposix: Generate an error when a passed string isn?t "unlimited".Emmanuel Gil Peyrot2018-08-081-0/+1
| |
* | pposix, signal: Ignore unused arguments.Emmanuel Gil Peyrot2018-08-081-0/+2
| |
* | net, pposix, signal: Check for redefined defines, fix warnings.Emmanuel Gil Peyrot2018-08-081-0/+6
| |
* | util.pposix: Use freopen(3) when replacing standard IO streams (thanks ↵Kim Alvefur2018-07-121-7/+3
|/ | | | | | ratchetfreak) Man page says this is what freopen(3) is for.
* 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-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-2/+2
|
* 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 ↵Kim Alvefur2017-03-071-1/+1
| | | | info on other platforms
* util.pposix, configure: Move _GNU_SOURCE macro into source filesKim Alvefur2017-03-011-12/+12
|
* 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-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-33/+45
|
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-2/+0
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util.pposix: rfork() seems to be FreeBSD only (fixes #412)Kim Alvefur2016-12-191-2/+2
|
* util.pposix: Ask for shared file descriptor table using rfork() on *BSD ↵Kim Alvefur2016-05-251-0/+13
| | | | (fixes #412)
* util.pposix: Expose the uname GNU extension field 'domainname'Kim Alvefur2015-11-251-0/+4
|
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-261-3/+3
| | | | support 5.1
* util.pposix: Return error from ftruncate if that fails too (but what would ↵Kim Alvefur2015-05-021-1/+4
| | | | we do here?)
* util-src/*.c: Per convention call luaL_error() as argument to returnFlorian Zeitz2015-04-031-1/+1
|
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-031-264/+291
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-171-0/+4
|
* util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-161-1/+2
|
* Merge 0.9->0.10Kim Alvefur2014-04-271-3/+9
|\
| * util.pposix: Fix error reporting from really old Linux fallocate() that did ↵Kim Alvefur2014-04-251-1/+5
| | | | | | | | not use errno for some reason (thanks pro)
| * util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno ↵Kim Alvefur2014-04-251-2/+4
| | | | | | | | (thanks pro)
* | Merge 0.9->0.10Kim Alvefur2013-11-281-0/+2
|\|
| * util.pposix: Verify that file handle is openKim Alvefur2013-11-281-0/+2
| |
* | Merge 0.9->trunkMatthew Wild2013-09-031-2/+2
|\|
| * util.pposix: Fix building on non-Linux with glibcKim Alvefur2013-09-021-2/+2
| |
| * util.pposix: setrlimit(): Add missing return on error when an incorrect ↵Matthew Wild2013-06-281-0/+1
| | | | | | | | number of arguments are passed
* | util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be ↵Kim Alvefur2013-08-101-1/+1
| | | | | | | | quiet please)
* | util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by ↵Matthew Wild2013-06-291-32/+43
|/ | | | returning and accepting the string 'unlimited' in get/setrlimit()
* mod_posix, util.pposix: Bump version for API changeMatthew Wild2013-04-081-1/+1
|
* util.pposix: syslog(): Support an optional source parameter (producing ↵Matthew Wild2013-04-081-4/+5
| | | | messages of the form '<source>: <message>'
* util.pposix: Allow fetching RLIMIT_NICE when availableMatthew Wild2013-03-221-0/+3
|
* util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connectionsKim Alvefur2012-11-101-0/+4
|
* util.pposix: Put the warning back, mention how we might still use ↵Kim Alvefur2012-07-311-0/+4
| | | | posix_fallocate()
* util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file ↵Kim Alvefur2012-07-311-10/+21
| | | | system
* util.pposix: Warn about posix_fallocateKim Alvefur2012-07-291-0/+1
|
* util.pposix: Add fallocate method, backed by either posix_fallocate() or ↵Kim Alvefur2012-07-281-0/+43
| | | | Linux fallocate()