1
1
ミラー元 https://git.shadowkat.net/izaya/OC-PsychOS2.git 前回の同期 2024-09-28 15:12:45 -04:00

moved the creation of a sink fd into createterms

このコミットが含まれているのは:
XeonSquared 2019-01-09 15:56:19 +11:00
コミット bbacdc6dbd
2個のファイルの変更9行の追加9行の削除

ファイルの表示

@ -6,3 +6,12 @@ for a,_ in component.list("gpu") do
local r,w = vtemu(a,table.remove(ts,1))
fd[#fd+1] = {["read"]=r,["write"]=w,["close"]=function() w("\27[2J\27[H") end,["t"]="t"}
end
if #fd < 1 then
local fdi,nfd = io.newfd()
function nfd.read()
end
function nfd.write()
end
function nfd.close()
end
end

ファイルの表示

@ -63,12 +63,3 @@ function io.open(f,m) -- opens file *f* with mode *m*
return t
end
end
do
local fdi,nfd = io.newfd()
function nfd.read()
end
function nfd.write()
end
function nfd.close()
end
end