$OpenBSD: patch-runtime_flang_flush_c,v 1.1.1.1 2017/12/31 18:06:38 bcallah Exp $

No async IO support

Index: runtime/flang/flush.c
--- runtime/flang/flush.c.orig
+++ runtime/flang/flush.c
@@ -45,6 +45,7 @@ __INT_T *iostat;
 
     /* check for outstanding async i/o */
 
+#if 0
     if (f->asy_rw) {/* stop any async i/o */
       f->asy_rw = 0;
       if (Fio_asy_disable(f->asyptr) == -1) {
@@ -53,6 +54,7 @@ __INT_T *iostat;
         return s;
       }
     }
+#endif
 
     if (__io_fflush(f->fp) != 0) {
       s = __fortio_error(__io_errno());
