diff -urN mawk-1.3.3/files.c mawk-1.3.3-eota/files.c
--- mawk-1.3.3/files.c	1996-01-14 17:14:10.000000000 +0000
+++ mawk-1.3.3-eota/files.c	2004-10-28 17:05:56.000000000 +0000
@@ -446,7 +446,9 @@
 	 close(remote_fd) ;
 	 /* we could deadlock if future child inherit the local fd ,
 	   set close on exec flag */
+#ifndef EOTA
 	 CLOSE_ON_EXEC(local_fd) ;
+#endif /* not EOTA */
 	 break ;
    }
 
