Software / code / prosody
Comparison
plugins/mod_posix.lua @ 3481:72d3c8029178
util.pposix: Add pposix.uname(), bump version
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 31 Aug 2010 15:14:39 +0100 |
| parent | 3471:482275e38224 |
| child | 3537:7bbb19804d82 |
comparison
equal
deleted
inserted
replaced
| 3480:97831dfe7f72 | 3481:72d3c8029178 |
|---|---|
| 5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 | 9 |
| 10 local want_pposix_version = "0.3.4"; | 10 local want_pposix_version = "0.3.5"; |
| 11 | 11 |
| 12 local pposix = assert(require "util.pposix"); | 12 local pposix = assert(require "util.pposix"); |
| 13 if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end | 13 if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end |
| 14 | 14 |
| 15 local signal = select(2, pcall(require, "util.signal")); | 15 local signal = select(2, pcall(require, "util.signal")); |