Skip to content

Commit 7286db0

Browse files
committed
Added TODO to setPatchFile function.
1 parent 1765627 commit 7286db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtra/PATCH.LUA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local function patch(pf)
66
local function parseFileName(l)local first=l:sub(5,5)
77
if first=='"'or first=="'"then return l:match(first.."([^"..first.."]+)"..first,5)
88
else local words={}for v in string.gmatch(l,"%S+")do table.insert(words,v)end return words[2]end end
9-
local function setPatchFile(f)
9+
local function setPatchFile(f) --TODO: write patch to temporary file first
1010
local o,b local function abort()print(e)if o then o:close()end if b then b:close()end return false end
1111
o,e=io.open(f)if not o then return abort()end
1212
b,e=io.open(f..".orig","w")if not b then return abort()end

0 commit comments

Comments
 (0)