util.datamanager: Import value of ENOENT from util.pposix (if available)
authorKim Alvefur <zash@zash.se>
Wed, 01 Mar 2017 17:04:48 +0100
changeset 7930 7132abcf669e
parent 7929 b009c27818c6
child 7931 9d014aca766f
util.datamanager: Import value of ENOENT from util.pposix (if available)
util/datamanager.lua
--- 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;