[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src crash.c,1.8,1.9
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src crash.c,1.8,1.9 |
Date: |
Fri, 24 Jan 2003 06:06:55 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv16117/src
Modified Files:
crash.c
Log Message:
Avoid useless bugreports (we really have to fix this
automake problems :()
Index: crash.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/crash.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- crash.c 23 Jan 2003 23:07:21 -0000 1.8
+++ crash.c 24 Jan 2003 11:06:53 -0000 1.9
@@ -50,6 +50,7 @@
#include "crash.h"
#include "globals.h"
#include "browser.h"
+#include "dialog.h"
/*
* NOTE: the crash dialog is called when ayttm is not
@@ -496,6 +497,14 @@
extern gchar *argv0;
+ if (sig < 0 || sig > 32) { /* what's that ? */
+ char *buf = g_strdup_printf(
+ _("Caught strange signal (%ld). This is
probably\n"
+ "due to a broken compilation; Exiting."),
sig);
+ do_error_dialog(buf, _("Error!"));
+ g_free(buf);
+ _exit(0);
+ }
/*
* besides guarding entrancy it's probably also better
* to mask off signals
- [Ayttm-commits] CVS: ayttm/src crash.c,1.8,1.9,
Colin Leroy <address@hidden> <=
- Prev by Date:
Re: [Ayttm-commits] CVS: ayttm/src llist.c,1.1,1.2 llist.h,1.1,1.2
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.196,1.197 configure.in,1.192,1.193
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.195,1.196 configure.in,1.191,1.192
- Next by thread:
Re: [Ayttm-commits] CVS: ayttm/src crash.c,1.8,1.9
- Index(es):