mirror of
https://github.com/alex47exe/gse_fork.git
synced 2026-02-04 05:41:18 +01:00
spelling
This commit is contained in:
@@ -35,7 +35,7 @@ void exception_handler_SIGILL(int signal)
|
||||
|
||||
int main()
|
||||
{
|
||||
// simululate the existence of previous handler
|
||||
// simulate the existence of previous handler
|
||||
struct sigaction sa_SIGSEGV_prev{};
|
||||
sa_SIGSEGV_prev.sa_handler = exception_handler_SIGILL;
|
||||
sa_SIGSEGV_prev.sa_flags = SA_RESETHAND;
|
||||
|
||||
@@ -35,7 +35,7 @@ void exception_handler_SIGILL(int signal, siginfo_t *info, void *context)
|
||||
|
||||
int main()
|
||||
{
|
||||
// simululate the existence of previous handler
|
||||
// simulate the existence of previous handler
|
||||
struct sigaction sa_SIGSEGV_prev{};
|
||||
sa_SIGSEGV_prev.sa_sigaction = exception_handler_SIGILL;
|
||||
sa_SIGSEGV_prev.sa_flags = SA_SIGINFO | SA_RESETHAND;
|
||||
|
||||
@@ -32,7 +32,7 @@ static LONG WINAPI exception_handler(LPEXCEPTION_POINTERS ex_pointers)
|
||||
|
||||
int main()
|
||||
{
|
||||
// simululate the existence of previous handler
|
||||
// simulate the existence of previous handler
|
||||
SetUnhandledExceptionFilter(exception_handler);
|
||||
|
||||
if (!remove_file(logs_filepath)) {
|
||||
|
||||
Reference in New Issue
Block a user