Software /
code /
prosody
Comparison
plugins/mod_posix.lua @ 2438:819ba949c7bc
util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 10 Jan 2010 21:48:25 +0000 |
parent | 2433:65b794860e1b |
child | 2440:11e3d16a128f |
comparison
equal
deleted
inserted
replaced
2437:b1ba2473fd91 | 2438:819ba949c7bc |
---|---|
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.1"; | 10 local want_pposix_version = "0.3.2"; |
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")); |