aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Collapse)AuthorAgeFilesLines
...
* util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵Matthew Wild2010-08-281-1/+58
| | | | module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb)
* util-src/Makefile: Stop linking dynamic libraries to Lua, it isn't necessary ↵Matthew Wild2010-07-081-1/+1
| | | | as symbols are exported from the Lua binary (thanks deryni)
* util.signal: Moved a variable declaration to the top of a function, for ANSI ↵Waqas Hussain2010-06-201-1/+1
| | | | C compliance.
* util.signal: Removed #include <sys/param.h>, as it appears unnecessary.Waqas Hussain2010-06-201-4/+0
|
* util.signal: Make kill() available on OS X (thanks darkrain).Waqas Hussain2010-06-201-3/+3
|
* util.signal: Make kill() available on OpenBSD, NetBSD (thanks Florob, filip).Waqas Hussain2010-06-151-2/+6
|
* Merge 0.6->0.7Matthew Wild2010-03-224-54/+67
|\
| * util.windows: Convert from Windows line endingsMatthew Wild2010-03-221-58/+58
| |
| * Update copyright headers for 2010Matthew Wild2010-03-224-9/+22
| |
| * Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-032-2/+3
| |\
| | * util.encodings: Use STD3 ASCII rules for idna.to_ascii.Waqas Hussain2010-02-101-1/+1
| | |
| | * util.pposix: Fix return type of lc_abort to shush compiler warningMatthew Wild2010-01-101-1/+2
| | |
| * | util.signal: Using stdlib.h instead of malloc.h.Tobias Markmann2010-01-151-1/+1
| | |
| * | util.signal: Restore the old debug hook earlier, just in case we receive ↵Matthew Wild2010-01-101-2/+3
| | | | | | | | | | | | another signal between clearing the signal queue and restoring it
| * | util.signal: Update version in header, and author's emailMatthew Wild2010-01-101-2/+2
| | |
| * | util.signal: Queue up multiple signals, instead of trampling on the previous ↵Matthew Wild2010-01-101-20/+44
| | | | | | | | | | | | debug hook (and never clearing our own)
| * | util.signal: Make kill() available on Solaris; really fixes #136.Waqas Hussain2009-12-091-1/+1
| |/
* | util.encodings: Use STD3 ASCII rules for idna.to_ascii.Waqas Hussain2010-02-101-1/+1
| |
* | util.signal: Using stdlib.h instead of malloc.h.Tobias Markmann2010-01-151-1/+1
| |
* | util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdirMatthew Wild2010-01-121-1/+1
| |
* | util.pposix: Add mkdir(path)Matthew Wild2010-01-101-0/+17
| |
* | util.pposix: Replace the unwieldy module table generation with ↵Matthew Wild2010-01-101-33/+18
| | | | | | | | luaL_register() call - side effect - it now sets the pposix global to the module table
* | util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in ↵Matthew Wild2010-01-101-1/+17
| | | | | | | | mod_posix)
* | util.pposix: Fix return type of lc_abort to shush compiler warningMatthew Wild2010-01-101-1/+2
| |
* | util.posix: Trailing whitespaceMatthew Wild2010-01-101-25/+25
| |
* | util.signal: Restore the old debug hook earlier, just in case we receive ↵Matthew Wild2010-01-101-2/+3
| | | | | | | | another signal between clearing the signal queue and restoring it
* | util.signal: Update version in header, and author's emailMatthew Wild2010-01-101-2/+2
| |
* | util.signal: Queue up multiple signals, instead of trampling on the previous ↵Matthew Wild2010-01-101-20/+44
| | | | | | | | debug hook (and never clearing our own)
* | util.signal: Update header comment for new filenameMatthew Wild2009-12-301-1/+1
| |
* | util.signal: Make kill() available on Solaris; really fixes #136.Waqas Hussain2009-12-091-1/+1
| |
* | util-src/Makefile: Clean up makefile (re-commit because MattJ shouldn't ↵Brian Cully2009-12-041-30/+8
| | | | | | | | commit anything at 3AM)
* | util-src/Makefile: Clean up makefile, rename lsignal.c to signal.cBrian Cully2009-12-041-0/+0
|/
* Makefile.win: Added support for util.windows, improved cleanup of temporary ↵Waqas Hussain2009-10-311-6/+15
| | | | files, switched to dynamic linking with MSVCRT, etc.
* util.windows: Initial commit. Adds support for querying the windows DNS API ↵Waqas Hussain2009-10-311-0/+45
| | | | for nameservers.
* util.pposix: Add abort() functionMatthew Wild2009-10-301-0/+8
|
* util-src/Makefile: Add missing flags to building of util.signalMatthew Wild2009-10-191-1/+1
|
* MergeWaqas Hussain2009-10-023-7/+24
|\
| * util.encodings: Don't throw an error but return nil when passed nil or a ↵Matthew Wild2009-09-291-1/+5
| | | | | | | | non-string value
| * util.pposix: Compatibility with Solaris systems (thanks Filip)Matthew Wild2009-09-291-2/+12
| |
| * util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip)Matthew Wild2009-09-291-1/+1
| |
| * Makefile: Don't combine variable export with assignment for compatibility ↵Matthew Wild2009-09-291-4/+11
| | | | | | | | with other shells (thanks Filip)
* | util.encodings: Removed a bit of unreachable code.Waqas Hussain2009-10-021-1/+0
| |
* | util.encodings: Included idn-free.h, which explicitly declares the idn_free ↵Waqas Hussain2009-10-021-0/+1
| | | | | | | | function.
* | util.encodings: Fixed: Last change was not ANSI C compatible.Waqas Hussain2009-10-021-1/+6
|/
* Makefile.win: Updated the windows Makefile with more appropriate paths.Waqas Hussain2009-09-221-2/+2
|
* util.encodings: Fixed an issue with cross-module memory deallocation ↵Waqas Hussain2009-09-221-4/+4
| | | | (crashes on some windows versions).
* pposix, mod_posix: Bump pposix version numberMatthew Wild2009-07-231-1/+1
|
* pposix: Add setgid() functionMatthew Wild2009-07-231-0/+63
|
* pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to ↵Matthew Wild2009-07-211-1/+1
| | | | intosi for reporting and an initial patch
* Close std{in,out,err} when daemonizingvault/0.4.20.4.2Matthew Wild2009-05-221-2/+2
|