$OpenBSD: patch-sal_typesconfig_typesconfig_c,v 1.1 2006/10/25 22:49:50 kurt Exp $
--- sal/typesconfig/typesconfig.c.orig.port	Thu Sep  8 12:49:50 2005
+++ sal/typesconfig/typesconfig.c	Tue Oct 24 17:12:30 2006
@@ -167,6 +167,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 )
   {
