# HG changeset patch # User Kim Alvefur # Date 1488384288 -3600 # Node ID 7132abcf669e7d93cae6937f2dd9e471e1187722 # Parent b009c27818c65a90bd6ac3f0469430969de9964a util.datamanager: Import value of ENOENT from util.pposix (if available) diff -r b009c27818c6 -r 7132abcf669e 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;