Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 2c1fe33a authored by Deucе's avatar Deucе 👌🏾

file_remoooooove()

parent 1629030d
......@@ -1858,7 +1858,7 @@ function mail_check(messenger)
// TODO: Not sure what happens on windows if someone else has the file open...
// We likely need a file mutex here.
file_delete(f.name)
file_rename(fn, f.name);
file_remove(fn, f.name);
if (!f.open('r'))
throw new Error('Unable to open '+f.name);
while(1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment