summaryrefslogtreecommitdiff
path: root/src/input/input_cda.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-29 23:31:59 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-29 23:31:59 +0000
commit0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d (patch)
treef421f82664a92fb2568fdbd76c13a31d4db6f5b7 /src/input/input_cda.c
parent7bfed2df7a422912d295348e100c73e8ee388216 (diff)
downloadxine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.gz
xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.bz2
Replace all exit(1) with abort().
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable. CVS patchset: 1811 CVS date: 2002/04/29 23:31:59
Diffstat (limited to 'src/input/input_cda.c')
-rw-r--r--src/input/input_cda.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c
index 62759f9e8..59389dd9d 100644
--- a/src/input/input_cda.c
+++ b/src/input/input_cda.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_cda.c,v 1.22 2002/04/24 08:12:13 f1rmb Exp $
+ * $Id: input_cda.c,v 1.23 2002/04/29 23:31:59 jcdutton Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -289,7 +289,8 @@ static char *_cda_cddb_get_default_location(void) {
* Small sighandler ;-)
*/
static void die(int signal) {
- exit(signal);
+ printf("Signal %d\n",signal);
+ abort();
}
/*