--- lpc21isp.c	Sun Nov 13 22:06:44 2005
+++ lpc21isp-osx.c	Sun Apr 16 16:32:46 2006
@@ -423,7 +423,7 @@
 
 #if defined COMPILE_FOR_LINUX
 
-    IspEnvironment->fdCom = open(IspEnvironment->serial_port, O_RDWR | O_NOCTTY | O_NONBLOCK );
+    IspEnvironment->fdCom = open(IspEnvironment->serial_port, O_RDWR | O_NOCTTY /* | O_NONBLOCK */ );
 
     if(IspEnvironment->fdCom < 0)
     {
@@ -436,7 +436,7 @@
 	/* clear input & output buffers, then switch to "blocking mode" */
 	tcflush(IspEnvironment->fdCom, TCOFLUSH);
 	tcflush(IspEnvironment->fdCom, TCIFLUSH);
-	fcntl(IspEnvironment->fdCom, F_SETFL, fcntl(IspEnvironment->fdCom, F_GETFL) & ~O_NONBLOCK);
+	/* fcntl(IspEnvironment->fdCom, F_SETFL, fcntl(IspEnvironment->fdCom, F_GETFL) & ~O_NONBLOCK); */
 
     tcgetattr(IspEnvironment->fdCom, &IspEnvironment->oldtio); /* save current port settings */
 
