Il sito funziona meglio con JavaScript.
Home
Esplora
lain.church
Aiuto
Registrati
Accedi
izaya
/
OC-PsychOS2
mirror da
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Segui
1
Vota
1
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
fixed fs.copy
oops
master
XeonSquared
4 anni fa
parent
f132c2349f
commit
3fed8a5985
1 ha cambiato i file
con
5 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
module/fs.lua
+ 5
- 1
module/fs.lua
Vedi File
@@ -68,7 +68,11 @@ function fs.copy(from,to) -- string string -- boolean -- copies a file from *fro
if not of or not df then
return false
end
df:write(of:read("*a"))
local tmp
repeat
tmp = of:read(2048)
df:write(tmp or "")
until not tmp
df:close()
of:close()
return true
Write
Preview
Loading…
Annulla
Salva