poldek: poldek/lib_init.c - fixed 'which version you use?'
mis
mis at pld-linux.org
Mon Jul 9 20:31:19 CEST 2007
Author: mis Date: Mon Jul 9 18:31:19 2007 GMT
Module: poldek Tag: HEAD
---- Log message:
- fixed 'which version you use?'
---- Files affected:
poldek/poldek:
lib_init.c (1.87 -> 1.88)
---- Diffs:
================================================================
Index: poldek/poldek/lib_init.c
diff -u poldek/poldek/lib_init.c:1.87 poldek/poldek/lib_init.c:1.88
--- poldek/poldek/lib_init.c:1.87 Mon Jul 9 19:06:25 2007
+++ poldek/poldek/lib_init.c Mon Jul 9 20:31:14 2007
@@ -1041,10 +1041,12 @@
static void n_assert_hook(const char *expr, const char *file, int line)
{
char msg[1024];
- n_snprintf(msg, sizeof(msg), "Something wrong, something not quite right.\n"
+ n_snprintf(msg, sizeof(msg), "Something wrong, something not quite right"
+ " with %s\n"
"Assertion '%s' failed, %s:%d\n"
"Please report this bug to %s.\n\n",
- expr, file, line, poldek_BUG_MAILADDR);
+ VERSION " (" VERSION_STATUS ")",
+ expr, file, line, poldek_BUG_MAILADDR);
if (poldek_say_goodbye(msg))
abort();
}
@@ -1053,7 +1055,8 @@
{
char buf[1024];
n_snprintf(buf, sizeof(buf),
- "Something wrong, something not quite right.\ndie: %s\n", msg);
+ "Something wrong, something not quite right.\n%s; die: %s\n",
+ poldek_VERSION_BANNER, msg);
if (poldek_say_goodbye(buf))
abort();
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/lib_init.c?r1=1.87&r2=1.88&f=u
More information about the pld-cvs-commit
mailing list