1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: do not request that bugs get reported to upstream, since they
have abandoned the project.
Author: Kees Cook <kees@debian.org>
Index: scantool-1.21+dfsg/error_handlers.c
===================================================================
--- scantool-1.21+dfsg.orig/error_handlers.c 2012-04-19 22:12:43.352650481 -0700
+++ scantool-1.21+dfsg/error_handlers.c 2012-04-19 22:12:35.816541763 -0700
@@ -5,19 +5,10 @@
void fatal_error(char *msg)
{
- char temp_buf[512];
-
if (datafile != NULL)
unload_datafile(datafile);
- sprintf(temp_buf, "\nERROR: %s", msg);
- strcat(temp_buf, "\n\nPlease contact ScanTool.net via our website at http://www.ScanTool.net/support");
- strcat(temp_buf, "\nInclude the following information:");
- strcat(temp_buf, "\n\t- Exact error message");
- strcat(temp_buf, "\n\t- CPU type/speed, i.e. \"Pentium 100Mhz\"");
- strcat(temp_buf, "\n\t- OS, i.e. \"Windows 95\"");
- strcat(temp_buf, "\n\t- Total amount of RAM installed, i.e. \"4Mb\"\n\n");
- allegro_message("%s", temp_buf);
+ allegro_message("\nERROR: %s\n", msg);
exit(EXIT_FAILURE);
}
|