summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-08-11 20:23:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-08-11 20:23:00 +0200
commit50c30d587eb097762be98f0d6d1b30811fd49e86 (patch)
treea973fadb70854c2f00dff8ce3a8ff35379c78598 /tex
parentf362f8da877eb38b5ffb78a54398409828f389f9 (diff)
downloadcontext-50c30d587eb097762be98f0d6d1b30811fd49e86.tar.gz
beta 2013.08.11 20:23
Diffstat (limited to 'tex')
-rw-r--r--tex/context/base/context-version.pdfbin4107 -> 4100 bytes
-rw-r--r--tex/context/base/l-os.lua8
-rw-r--r--tex/context/base/status-files.pdfbin24690 -> 24684 bytes
3 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf
index 7d5de0531..125257c7a 100644
--- a/tex/context/base/context-version.pdf
+++ b/tex/context/base/context-version.pdf
Binary files differ
diff --git a/tex/context/base/l-os.lua b/tex/context/base/l-os.lua
index 3838b5524..8bfcf786c 100644
--- a/tex/context/base/l-os.lua
+++ b/tex/context/base/l-os.lua
@@ -127,7 +127,13 @@ function io.popen (...) ioflush() return iopopen(...) end
function os.resultof(command)
local handle = io.popen(command,"r")
- return handle and handle:read("*all") or ""
+ if handle then
+ local result = handle:read("*all") or ""
+ handle:close()
+ return result
+ else
+ return ""
+ end
end
if not io.fileseparator then
diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf
index 11a18cb39..89c95cbff 100644
--- a/tex/context/base/status-files.pdf
+++ b/tex/context/base/status-files.pdf
Binary files differ