$OpenBSD: patch-sal_typesconfig_typesconfig_c,v 1.2 2009/01/22 17:44:39 robert Exp $
--- sal/typesconfig/typesconfig.c.orig.port	Fri Aug  1 07:32:27 2008
+++ sal/typesconfig/typesconfig.c	Thu Jan 15 14:47:50 2009
@@ -162,6 +162,16 @@ void SignalHdl( int sig )
 int check( TestFunc func, Type eT, void* p )
 {
 #ifdef USE_FORK_TO_CHECK
+
+#ifdef OPENBSD
+  /* avoid generating a core file (probably for other OS too?! */
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/resource.h>
+  struct rlimit rl;
+  memset(&rl, 0, sizeof(rl));
+  setrlimit(RLIMIT_CORE, &rl);
+#endif
   pid_t nChild = fork();
   if ( nChild )
   {
