Commit Graph

96 Commits (565c65baa1cf05abd5490aac02024e1ecabdcd3e)

Author SHA1 Message Date
Matthew Wild c739eebe35 util.pposix: uname(): Fix to push nil,err in case of error 16 years ago
Matthew Wild 50b20f4af4 util.pposix: Add pposix.uname(), bump version 16 years ago
Matthew Wild b465aa90b9 util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) 16 years ago
Matthew Wild 3553829ba5 util-src/Makefile: Stop linking dynamic libraries to Lua, it isn't necessary as symbols are exported from the Lua binary (thanks deryni) 16 years ago
Waqas Hussain 1f75bd5099 util.signal: Moved a variable declaration to the top of a function, for ANSI C compliance. 16 years ago
Waqas Hussain c4f2a6c8b3 util.signal: Removed #include <sys/param.h>, as it appears unnecessary. 16 years ago
Waqas Hussain 8840b66c84 util.signal: Make kill() available on OS X (thanks darkrain). 16 years ago
Waqas Hussain f832bae509 util.signal: Make kill() available on OpenBSD, NetBSD (thanks Florob, filip). 16 years ago
Matthew Wild 7fd387c390 util.windows: Convert from Windows line endings 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Waqas Hussain a226e93664 util.encodings: Use STD3 ASCII rules for idna.to_ascii. 16 years ago
Tobias Markmann 063347c86a util.signal: Using stdlib.h instead of malloc.h. 16 years ago
Tobias Markmann 8f18928543 util.signal: Using stdlib.h instead of malloc.h. 16 years ago
Matthew Wild cafffad5b8 util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir 16 years ago
Matthew Wild 238beb4df6 util.pposix: Add mkdir(path) 16 years ago
Matthew Wild 54f7dc1d2f util.pposix: Replace the unwieldy module table generation with luaL_register() call - side effect - it now sets the pposix global to the module table 16 years ago
Matthew Wild 4558719f38 util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix) 16 years ago
Matthew Wild f2f2393a6a util.pposix: Fix return type of lc_abort to shush compiler warning 16 years ago
Matthew Wild 409189ec26 util.posix: Trailing whitespace 16 years ago
Matthew Wild 2aab3bf617 util.signal: Restore the old debug hook earlier, just in case we receive another signal between clearing the signal queue and restoring it 16 years ago
Matthew Wild 15b926d7a2 util.signal: Restore the old debug hook earlier, just in case we receive another signal between clearing the signal queue and restoring it 16 years ago
Matthew Wild 45db3bf84a util.signal: Update version in header, and author's email 16 years ago
Matthew Wild 2fca9d7e79 util.signal: Update version in header, and author's email 16 years ago
Matthew Wild 96c4c4f090 util.signal: Queue up multiple signals, instead of trampling on the previous debug hook (and never clearing our own) 16 years ago
Matthew Wild ca9c6121a2 util.signal: Queue up multiple signals, instead of trampling on the previous debug hook (and never clearing our own) 16 years ago
Matthew Wild 7cbfe364b6 util.signal: Update header comment for new filename 16 years ago
Waqas Hussain 1b3f83b619 util.signal: Make kill() available on Solaris; really fixes #136. 16 years ago
Waqas Hussain d37732ee69 util.signal: Make kill() available on Solaris; really fixes #136. 16 years ago
Brian Cully eb08132334 util-src/Makefile: Clean up makefile (re-commit because MattJ shouldn't commit anything at 3AM) 16 years ago
Brian Cully dec9e54220 util-src/Makefile: Clean up makefile, rename lsignal.c to signal.c 16 years ago
Waqas Hussain e376e12502 util.encodings: Use STD3 ASCII rules for idna.to_ascii. 16 years ago
Matthew Wild 7a04ee2962 util.pposix: Fix return type of lc_abort to shush compiler warning 16 years ago
Waqas Hussain bce9527795 Makefile.win: Added support for util.windows, improved cleanup of temporary files, switched to dynamic linking with MSVCRT, etc. 16 years ago
Waqas Hussain 5b2d9e2f87 util.windows: Initial commit. Adds support for querying the windows DNS API for nameservers. 16 years ago
Matthew Wild 0dcc6dc478 util.pposix: Add abort() function 16 years ago
Matthew Wild 600e5878bb util-src/Makefile: Add missing flags to building of util.signal 16 years ago
Waqas Hussain 724ffca435 util.encodings: Removed a bit of unreachable code. 17 years ago
Waqas Hussain eadb0d45b9 util.encodings: Included idn-free.h, which explicitly declares the idn_free function. 17 years ago
Waqas Hussain 27766b1c03 util.encodings: Fixed: Last change was not ANSI C compatible. 17 years ago
Matthew Wild e094c8b08b util.encodings: Don't throw an error but return nil when passed nil or a non-string value 17 years ago
Matthew Wild d059f42d87 util.pposix: Compatibility with Solaris systems (thanks Filip) 17 years ago
Matthew Wild 5407a9c88d util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip) 17 years ago
Matthew Wild 241f825d41 Makefile: Don't combine variable export with assignment for compatibility with other shells (thanks Filip) 17 years ago
Waqas Hussain c7b6a85abb Makefile.win: Updated the windows Makefile with more appropriate paths. 17 years ago
Waqas Hussain 930f0ab083 util.encodings: Fixed an issue with cross-module memory deallocation (crashes on some windows versions). 17 years ago
Matthew Wild 59c0104106 pposix, mod_posix: Bump pposix version number 17 years ago
Matthew Wild 1e86adb619 pposix: Add setgid() function 17 years ago
Matthew Wild 015da98269 pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch 17 years ago
Matthew Wild b0c602ba74 Close std{in,out,err} when daemonizing 17 years ago
Matthew Wild fcd300734f Makefiles: Add signal.so to install targets 17 years ago