2008-09-12 [colin] 3.5.0cvs103
[claws.git] / src / crash.c
index c0f3069ba114bb1ac7daede828111f4f3ea742fd..70705b31031e2015d947ea712ae5f90de9610f20 100644 (file)
@@ -317,7 +317,7 @@ static void crash_save_crash_log(GtkButton *button, const gchar *text)
  */
 static void crash_create_bug_report(GtkButton *button, const gchar *data)
 {
-       open_uri(BUGZILLA_URI, prefs_common.uri_cmd);
+       open_uri(BUGZILLA_URI, prefs_common_get_uri_cmd());
 }
 
 /*!
@@ -361,7 +361,7 @@ static void crash_debug(unsigned long crash_pid,
                dup(choutput[1]);
                close(choutput[0]);
                if (-1 == execvp("gdb", argp)) 
-                       puts("error execvp\n");
+                       g_print("error execvp\n");
        } else {
                char buf[100];
                int r;
@@ -372,7 +372,7 @@ static void crash_debug(unsigned long crash_pid,
                 * make it non blocking
                 */
                if (-1 == fcntl(choutput[0], F_SETFL, O_NONBLOCK))
-                       puts("set to non blocking failed\n");
+                       g_print("set to non blocking failed\n");
 
                /*
                 * get the output
@@ -418,13 +418,16 @@ static const gchar *get_compiled_in_features(void)
 #if USE_OPENSSL
                   " OpenSSL"
 #endif
+#if USE_GNUTLS
+                  " GnuTLS"
+#endif
 #if USE_LDAP
                   " LDAP"
 #endif
 #if USE_JPILOT
                   " JPilot"
 #endif
-#if USE_ASPELL
+#if USE_ENCHANT
                   " GNU/aspell"
 #endif
 #if HAVE_LIBETPAN
@@ -556,7 +559,7 @@ static void crash_handler(int sig)
 static void crash_cleanup_exit(void)
 {
        const char *filename = claws_get_socket_name();
-       g_unlink(filename);
+       claws_unlink(filename);
 }
 
 #endif