Index: trunk/psLib/src/sys/psAbort.c
===================================================================
--- trunk/psLib/src/sys/psAbort.c	(revision 28152)
+++ trunk/psLib/src/sys/psAbort.c	(revision 28172)
@@ -23,4 +23,5 @@
 #include <stdarg.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "psAbort.h"
@@ -47,4 +48,5 @@
 
     // Call system abort function to terminate program execution
+    fsync(psLogGetDestination());
     abort();
 }
@@ -71,4 +73,5 @@
 
     // Call system abort function to terminate program execution
+    fsync(psLogGetDestination());
     abort();
 }
