Disable the more experimental bits now builds are live
This commit is contained in:
parent
ef9418a196
commit
7b75dc3e05
@ -53,6 +53,7 @@ char logPath[512];
|
|||||||
|
|
||||||
google_breakpad::ExceptionHandler *handler = NULL;
|
google_breakpad::ExceptionHandler *handler = NULL;
|
||||||
|
|
||||||
|
# if 0
|
||||||
struct PluginInfo {
|
struct PluginInfo {
|
||||||
unsigned int serial;
|
unsigned int serial;
|
||||||
PluginStatus status;
|
PluginStatus status;
|
||||||
@ -66,6 +67,7 @@ struct PluginInfo {
|
|||||||
|
|
||||||
unsigned int plugin_count;
|
unsigned int plugin_count;
|
||||||
PluginInfo plugins[256];
|
PluginInfo plugins[256];
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined _LINUX
|
#if defined _LINUX
|
||||||
void (*SignalHandler)(int, siginfo_t *, void *);
|
void (*SignalHandler)(int, siginfo_t *, void *);
|
||||||
@ -109,6 +111,7 @@ static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor,
|
|||||||
sys_write(extra, "-------- CONSOLE HISTORY END --------\n", 38);
|
sys_write(extra, "-------- CONSOLE HISTORY END --------\n", 38);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
char pis[64];
|
char pis[64];
|
||||||
char pds[32];
|
char pds[32];
|
||||||
for (unsigned i = 0; i < plugin_count; ++i) {
|
for (unsigned i = 0; i < plugin_count; ++i) {
|
||||||
@ -144,6 +147,7 @@ static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor,
|
|||||||
sys_write(extra, p->url, my_strlen(p->url));
|
sys_write(extra, p->url, my_strlen(p->url));
|
||||||
sys_write(extra, "\n", 1);
|
sys_write(extra, "\n", 1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
sys_close(extra);
|
sys_close(extra);
|
||||||
|
|
||||||
@ -411,6 +415,7 @@ bool Accelerator::SDK_OnLoad(char *error, size_t maxlength, bool late)
|
|||||||
#error Bad platform.
|
#error Bad platform.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
IPluginIterator *i = plsys->GetPluginIterator();
|
IPluginIterator *i = plsys->GetPluginIterator();
|
||||||
while (i->MorePlugins()) {
|
while (i->MorePlugins()) {
|
||||||
IPlugin *p = i->GetPlugin();
|
IPlugin *p = i->GetPlugin();
|
||||||
@ -431,6 +436,7 @@ bool Accelerator::SDK_OnLoad(char *error, size_t maxlength, bool late)
|
|||||||
i->NextPlugin();
|
i->NextPlugin();
|
||||||
}
|
}
|
||||||
delete i;
|
delete i;
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user