Diff

util/datamanager.lua @ 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
parent 7925:209503ee3aaa
child 7928:9d014aca766f
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;