logdefs = GNUNET_realloc (logdefs, logdefs_size * sizeof (struct LogDef));
}
+
+/**
+ * Abort the process, generate a core dump if possible.
+ */
+void
+GNUNET_abort ()
+{
+#if WINDOWS
+ DebugBreak();
+#endif
+ abort();
+}
+
+
/**
* Utility function - adds a parsed definition to logdefs array.
*
component_nopid = GNUNET_strdup (comp);
env_logfile = getenv ("GNUNET_FORCE_LOGFILE");
- if (env_logfile != NULL)
+ if ( (env_logfile != NULL) &&
+ (strlen (env_logfile) > 0) )
logfile = env_logfile;
if (logfile == NULL)