* [gentoo-commits] gentoo-x86 commit in dev-texlive/texlive-context/files: luatools.patch
@ 2011-05-18 14:27 Alexis Ballier (aballier)
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2011-05-18 14:27 UTC (permalink / raw
To: gentoo-commits
aballier 11/05/18 14:27:41
Added: luatools.patch
Log:
fix luatools with luatex 0.65, based on https://github.com/mpg/lualibs/commit/ebac0e8e8d5d57eec5dfd3a3217e7e2fc3fe9bbd#lualibs-dir.lua
(Portage version: 2.2.0_alpha34/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-texlive/texlive-context/files/luatools.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-texlive/texlive-context/files/luatools.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-texlive/texlive-context/files/luatools.patch?rev=1.1&content-type=text/plain
Index: luatools.patch
===================================================================
--- texmf-dist/scripts/context/stubs/unix/luatools 2010-06-11 01:27:28.000000000 -0400
+++ texmf-dist/scripts/context/stubs/unix/luatools.new 2011-05-18 10:21:42.575032665 -0400
@@ -2723,15 +2723,15 @@
local walkdir = lfs.dir
local function glob_pattern(path,patt,recurse,action)
- local ok, scanner
+ local ok, scanner, dirobj
if path == "/" then
- ok, scanner = xpcall(function() return walkdir(path..".") end, function() end) -- kepler safe
+ ok, scanner, dirobj = xpcall(function() return walkdir(path..".") end, function() end) -- kepler safe
else
- ok, scanner = xpcall(function() return walkdir(path) end, function() end) -- kepler safe
+ ok, scanner, dirobj = xpcall(function() return walkdir(path) end, function() end) -- kepler safe
end
if ok and type(scanner) == "function" then
if not find(path,"/$") then path = path .. '/' end
- for name in scanner do
+ for name in scanner, dirobj do
local full = path .. name
local mode = attributes(full,'mode')
if mode == 'file' then
@@ -2748,16 +2748,16 @@
dir.glob_pattern = glob_pattern
local function collect_pattern(path,patt,recurse,result)
- local ok, scanner
+ local ok, scanner, dirobj
result = result or { }
if path == "/" then
- ok, scanner = xpcall(function() return walkdir(path..".") end, function() end) -- kepler safe
+ ok, scanner, dirobj = xpcall(function() return walkdir(path..".") end, function() end) -- kepler safe
else
- ok, scanner = xpcall(function() return walkdir(path) end, function() end) -- kepler safe
+ ok, scanner, dirobj = xpcall(function() return walkdir(path) end, function() end) -- kepler safe
end
if ok and type(scanner) == "function" then
if not find(path,"/$") then path = path .. '/' end
- for name in scanner do
+ for name in scanner, dirobj do
local full = path .. name
local attr = attributes(full)
local mode = attr.mode
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-texlive/texlive-context/files: luatools.patch
@ 2012-05-29 17:33 Alexis Ballier (aballier)
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2012-05-29 17:33 UTC (permalink / raw
To: gentoo-commits
aballier 12/05/29 17:33:24
Removed: luatools.patch
Log:
remove old
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-29 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18 14:27 [gentoo-commits] gentoo-x86 commit in dev-texlive/texlive-context/files: luatools.patch Alexis Ballier (aballier)
-- strict thread matches above, loose matches on Subject: below --
2012-05-29 17:33 Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox