Software /
code /
prosody
Changeset
7927:7132abcf669e
util.datamanager: Import value of ENOENT from util.pposix (if available)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Mar 2017 17:04:48 +0100 |
parents | 7926:b009c27818c6 |
children | 7928:9d014aca766f |
files | util/datamanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/datamanager.lua Wed Mar 01 17:03:48 2017 +0100 +++ b/util/datamanager.lua Wed Mar 01 17:04:48 2017 +0100 @@ -44,6 +44,7 @@ local pposix = require "util.pposix"; raw_mkdir = pposix.mkdir or raw_mkdir; -- Doesn't trample on umask fallocate = pposix.fallocate or fallocate; + ENOENT = pposix.ENOENT or ENOENT; end); local _ENV = nil;