diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-10 21:19:21 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-05-10 21:19:21 +0300 |
commit | c10ee230c83a5dfcda077652c2b16bc8f8a9d221 (patch) | |
tree | 053cdc5f1fa7f46d7594eb51c4ab55f9853794f0 /lualibs-os.lua | |
parent | 751cd5a244ee7504e9960c45252b05f431a9c098 (diff) | |
download | lualibs-c10ee230c83a5dfcda077652c2b16bc8f8a9d221.tar.gz |
Sync with ConTeXt stable (stable 2010.05.08)
No functions removed, few new additions.
Diffstat (limited to 'lualibs-os.lua')
-rw-r--r-- | lualibs-os.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lualibs-os.lua b/lualibs-os.lua index 4f0c0c1..fba2cd3 100644 --- a/lualibs-os.lua +++ b/lualibs-os.lua @@ -87,12 +87,13 @@ end --~ print(os.date("%H:%M:%S",os.time())) -- no need for function anymore as we have more clever code and helpers now +-- this metatable trickery might as well disappear os.resolvers = os.resolvers or { } local resolvers = os.resolvers -local osmt = getmetatable(os) or { __index = function(t,k) t[k] = "unset" return "unset" end } +local osmt = getmetatable(os) or { __index = function(t,k) t[k] = "unset" return "unset" end } -- maybe nil local osix = osmt.__index osmt.__index = function(t,k) |