Mercurial > prosody-hg
comparison plugins/mod_posix.lua @ 8012:e898c8fda986
util.pposix: Remove fallocate
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 28 Feb 2017 13:26:05 +0100 |
| parents | 49feb0da29e1 |
| children | ecb110f45c92 76ac8b617402 |
comparison
equal
deleted
inserted
replaced
| 8011:f8ba814fe029 | 8012:e898c8fda986 |
|---|---|
| 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.7"; | 10 local want_pposix_version = "0.4.0"; |
| 11 | 11 |
| 12 local pposix = assert(require "util.pposix"); | 12 local pposix = assert(require "util.pposix"); |
| 13 if pposix._VERSION ~= want_pposix_version then | 13 if pposix._VERSION ~= want_pposix_version then |
| 14 module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); | 14 module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); |
| 15 end | 15 end |
