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 719475f5 authored by deuce's avatar deuce

Remove log info and pass "undefined" as argv[0].

If you don't specify any args, it seems that load() leaves the old argc/argv
in place.
parent ea781616
......@@ -191,5 +191,3 @@ var ai={
return;
}
};
log('aiQueue Name: '+ai.input_queue.name);
js.load_path_list.unshift(js.exec_dir+"dorkit/");
if (typeof(system) !== 'undefined')
js.load_path_list.unshift(system.exec_dir+"dorkit/");
load('ansi_input.js');
load('ansi_input.js', undefined);
var k;
while(!js.terminated) {
......
require("sbbsdefs.js", 'SS_PAUSEOFF');
load("ansi_input.js");
var dk_old_ctrlkey_passthru = console.ctrlkey_passthru;
var dk_old_pauseoff = bbs.sys_status & SS_PAUSEOFF;
js.on_exit("console.ctrlkey_passthru=dk_old_ctrlkey_passthru;bbs.sys_status=(bbs.sys_status &~ SS_PAUSEOFF)|dk_old_pauseoff");
......
js.load_path_list.unshift(js.exec_dir+"dorkit/");
if (typeof(system) !== 'undefined')
js.load_path_list.unshift(system.exec_dir+"dorkit/");
load('ansi_input.js');
load('ansi_input.js', undefined);
var i;
var q = new Queue("dorkit_input");
var k;
......
......@@ -1078,7 +1078,6 @@ var dk = {
}
}
};
log('dkQueue Name: '+dk.console.input_queue.name);
// To avoid using __proto__ since jslint hates it.
dk.console.Private_attr.Private_value = 7;
dk.console.Private_attr.Private_new_attr = new Attribute(7);
......
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