ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/main_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.54 by gbeauche, 2003-09-29T07:02:58Z vs.
Revision 1.55 by gbeauche, 2003-10-12T21:21:35Z

# Line 384 | Line 384 | int main(int argc, char **argv)
384                          QuitEmulator();
385  
386          // Install the handler for SIGSEGV
387 <        if (!sigsegv_install_handler(sigsegv_handler))
388 <                return false;
387 >        if (!sigsegv_install_handler(sigsegv_handler)) {
388 >                sprintf(str, GetString(STR_SIG_INSTALL_ERR), "SIGSEGV", strerror(errno));
389 >                ErrorAlert(str);
390 >                QuitEmulator();
391 >        }
392          
393          // Register dump state function when we got mad after a segfault
394          sigsegv_set_dump_state(sigsegv_dump_state);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines