|
Lines 1-34
Link Here
|
| 1 |
--- main.c.orig Mon Jan 3 21:58:29 2005 |
|
|
| 2 |
+++ main.c Wed Feb 2 21:56:11 2005 |
| 3 |
@@ -38,7 +38,7 @@ |
| 4 |
{ |
| 5 |
fprintf(stderr, "Oops! TunesBrowser has crashed. Sorry about that!\n"); |
| 6 |
fprintf(stderr, "This probably won't be of any use unless you feel like debugging,\n"); |
| 7 |
- fprintf(stderr, "but the crash occured because of %p being bad.\n", siginfo->si_ptr); |
| 8 |
+ fprintf(stderr, "but the crash occured because of %p being bad.\n", siginfo->si_value.sigval_ptr); |
| 9 |
#if 0 |
| 10 |
fprintf(stderr, "\n\nRaised SIGSTOP. You can now attach a debugger.\n"); |
| 11 |
fprintf(stderr, "Attach to PID %i\n", getpid()); |
| 12 |
@@ -66,11 +66,11 @@ |
| 13 |
int ret; |
| 14 |
|
| 15 |
sa.sa_handler = (void*)sighandler_sigsegv; |
| 16 |
- sa.sa_flags = SA_NOMASK | SA_SIGINFO; |
| 17 |
+ sa.sa_flags = SA_NODEFER | SA_SIGINFO; |
| 18 |
ret = sigaction(SIGSEGV, &sa, NULL); |
| 19 |
|
| 20 |
sa.sa_handler = (void*)sighandler_sigpipe; |
| 21 |
- sa.sa_flags = SA_NOMASK | SA_SIGINFO; |
| 22 |
+ sa.sa_flags = SA_NODEFER | SA_SIGINFO; |
| 23 |
ret = sigaction(SIGPIPE, &sa, NULL); |
| 24 |
} |
| 25 |
|
| 26 |
@@ -94,7 +94,7 @@ |
| 27 |
|
| 28 |
gtk_init(&argc, &argv); |
| 29 |
|
| 30 |
- xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser.glade", NULL, NULL); |
| 31 |
+ xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser/tunesbrowser.glade", NULL, NULL); |
| 32 |
|
| 33 |
glade_xml_signal_autoconnect(xml); |
| 34 |
|