aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Makefiles: Add signal.so to install targetsMatthew Wild2009-04-121-1/+1
|
* util.lsignal: Add lsignal library for catching POSIX signalsMatthew Wild2009-04-121-0/+387
|
* Makefiles, util.signal: Add lsignal library for catching POSIX signalsMatthew Wild2009-04-121-1/+6
|
* 0.3->0.4Matthew Wild2009-03-203-3/+3
|
* pposix: Standardize error messagesMatthew Wild2009-03-031-7/+9
|
* pposix: Small fix for copyright noticeMatthew Wild2009-03-031-1/+1
|
* Make the code actually build.Tobias Markmann2009-02-221-13/+13
|
* Added missing code.Tobias Markmann2009-02-221-1/+28
|
* Adding setrlimits() binding.Tobias Markmann2009-02-221-0/+82
|
* util.pposix: Add getuid/setuid (we don't use them yet)Matthew Wild2009-02-151-1/+80
|
* Use $CC, $LD in Makefile. Add --c-compiler, --linker flags to ./configure ↵Matthew Wild2009-02-141-7/+8
| | | | script. Add --lflags to ./configure script. Thanks to Lorenzo for the initial patch!
* util.pposix: Fix incompatible pointer type compiler warningsMatthew Wild2009-02-131-5/+6
|
* Licensing/version updates for some files (forgot to commit, doh...)Matthew Wild2009-02-023-331/+301
|
* Remove redundant linking in util-src modules' MakefileMatthew Wild2009-02-021-2/+2
|
* pposix: Remove debug lineMatthew Wild2009-01-161-1/+0
|
* pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.)Matthew Wild2009-01-161-0/+17
|
* pposix: Add _NAME and _VERSIONMatthew Wild2009-01-161-0/+8
|
* mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log ↵Matthew Wild2009-01-151-8/+21
| | | | correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names.
* mod_posix: Support for logging to syslog (log = 'syslog' in config)Matthew Wild2009-01-151-0/+129
|
* Makefile fix for clean targetMatthew Wild2008-12-281-0/+1
|
* Fixed util.encodings.base64.decode to not truncate results when encountering ↵Waqas Hussain2008-12-081-3/+5
| | | | an '=' before the end of the given input.