summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-iop.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-12-24 17:55:00 +0100
committerHans Hagen <pragma@wxs.nl>2009-12-24 17:55:00 +0100
commitce29b6101810724ac7e6b7db8990152358a12d2f (patch)
treebba2bbc78d942aabb062fb0a0161544e6b665c44 /tex/context/base/luat-iop.lua
parent78ee07252af9126a45b146030034f4c769265121 (diff)
downloadcontext-ce29b6101810724ac7e6b7db8990152358a12d2f.tar.gz
beta 2009.12.24 17:55
Diffstat (limited to 'tex/context/base/luat-iop.lua')
-rw-r--r--tex/context/base/luat-iop.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/luat-iop.lua b/tex/context/base/luat-iop.lua
index aaa2c3bdc..d2d80f503 100644
--- a/tex/context/base/luat-iop.lua
+++ b/tex/context/base/luat-iop.lua
@@ -138,11 +138,11 @@ end
function io.inp.modes.handy()
io.inp.inhibit('%.%.')
- if os.platform == 'linux' then
- io.inp.inhibit('^/etc')
- else
+ if os.type == 'windows' then
io.inp.inhibit('/windows/')
io.inp.inhibit('/winnt/')
+ else
+ io.inp.inhibit('^/etc')
end
end
function io.out.modes.handy()