Mercurial > audlegacy
comparison src/audlegacy/signals.c @ 4830:901cd268f0ca
Do NOT save the config if we are crashing. This is a *hideously* bad idea.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 01 Mar 2009 23:17:11 -0600 |
parents | 7bf7f83a217e |
children | 38b491487bd8 |
comparison
equal
deleted
inserted
replaced
4829:e286934cd9f2 | 4830:901cd268f0ca |
---|---|
76 #else | 76 #else |
77 g_printerr(_("Stacktrace was unavailable. You might want to reproduce this " | 77 g_printerr(_("Stacktrace was unavailable. You might want to reproduce this " |
78 "problem while running Audacious under GDB to get a proper backtrace.\n")); | 78 "problem while running Audacious under GDB to get a proper backtrace.\n")); |
79 #endif | 79 #endif |
80 | 80 |
81 g_printerr(_("\nBugs can be reported at http://bugzilla.atheme.org/ against " | 81 g_printerr(_("\nBugs can be reported at http://redmine.atheme.org/ against " |
82 "the Audacious or Audacious Plugins product.\n")); | 82 "the Audlegacy or Audlegacy Plugins product.\n")); |
83 | 83 |
84 g_critical("Received SIGSEGV -- Audacious has crashed."); | 84 g_critical("Received SIGSEGV -- Audacious has crashed."); |
85 | 85 |
86 aud_config_save(); | |
87 abort(); | 86 abort(); |
88 } | 87 } |
89 | 88 |
90 #if (!defined(HAVE_SIGNALFD) || !defined(HAVE_SYS_SIGNALFD_H)) | 89 #if (!defined(HAVE_SIGNALFD) || !defined(HAVE_SYS_SIGNALFD_H)) |
91 | 90 |