# include <sys/utsname.h>
#endif
-#if defined(__GNU_LIBRARY__)
+#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__)
# include <gnu/libc-version.h>
#endif
#include "filesel.h"
#include "version.h"
#include "prefs_common.h"
+#include "manage_window.h"
/*
* NOTE: the crash dialog is called when claws is not
g_signal_connect(G_OBJECT(button5), "clicked",
G_CALLBACK(crash_create_bug_report), NULL);
+ MANAGE_WINDOW_SIGNALS_CONNECT(window1);
+
gtk_widget_show(window1);
gtk_main();
int choutput[2];
pid_t pid;
- pipe(choutput);
+ if (pipe(choutput) == -1) {
+ g_print("can't pipe - error %s", errno);
+ return;
+ }
if (0 == (pid = fork())) {
char *argp[10];
static const gchar *get_compiled_in_features(void)
{
return g_strdup_printf("%s",
-#if USE_THREADS
- " gthread"
-#endif
#if INET6
" IPv6"
#endif
*/
static const gchar *get_lib_version(void)
{
-#if defined(__GNU_LIBRARY__)
+#if defined(__UCLIBC__)
+ return g_strdup_printf("uClibc %i.%i.%i", __UCLIBC_MAJOR__, __UCLIBC_MINOR__, __UCLIBC_SUBLEVEL__);
+#elif defined(__GNU_LIBRARY__)
return g_strdup_printf("GNU libc %s", gnu_get_libc_version());
#else
return g_strdup(_("Unknown"));