Comparison

plugins/mod_posix.lua @ 5451:941ad88db8f3

mod_posix, util.pposix: Bump version for API change
author Matthew Wild <mwild1@gmail.com>
date Mon, 08 Apr 2013 16:57:59 +0100
parent 5450:cc83b1a50fde
child 5452:edf3db386a19
comparison
equal deleted inserted replaced
5450:cc83b1a50fde 5451:941ad88db8f3
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.5"; 10 local want_pposix_version = "0.3.6";
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"));