Index: /trunk/src/kash/shinstance.h
===================================================================
--- /trunk/src/kash/shinstance.h	(revision 2656)
+++ /trunk/src/kash/shinstance.h	(revision 2657)
@@ -446,5 +446,5 @@
 #   include <sys/wait.h>
 #   ifdef __HAIKU__
-#       define WCOREDUMP(x) (0) /** @todo check the haiku headers and see if this information is available or not... */
+#       define WCOREDUMP(x) WIFCORED(x)
 #   endif
 #endif
