util.pposix: Add function for atomically appending data to a file

This commit is contained in:
Kim Alvefur 2017-03-01 01:33:00 +01:00
parent 9c6c576f09
commit e8b57d789b
3 changed files with 66 additions and 3 deletions

View file

@ -135,7 +135,7 @@ dependencies.log_warnings();
-- Switch away from root and into the prosody user --
local switched_user, current_uid;
local want_pposix_version = "0.3.6";
local want_pposix_version = "0.3.7";
local ok, pposix = pcall(require, "util.pposix");
if ok and pposix then