From 083e25be80a9fdb3249ab5df03f90a5a25bd0c5e Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Wed, 19 Mar 2003 16:21:29 +0100
Subject: [PATCH] Removed the check for blocking mode in the read callback.
 It's incompatible and disruptive, and besides it doesn't safeguard completely
 against the race it was intended for.

Rev: lib/modules/Stdio.pmod/module.pmod:1.167
---
 lib/modules/Stdio.pmod/module.pmod | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/modules/Stdio.pmod/module.pmod b/lib/modules/Stdio.pmod/module.pmod
index d129739cc8..222c67e75e 100644
--- a/lib/modules/Stdio.pmod/module.pmod
+++ b/lib/modules/Stdio.pmod/module.pmod
@@ -1,4 +1,4 @@
-// $Id: module.pmod,v 1.166 2003/03/08 19:28:33 nilsson Exp $
+// $Id: module.pmod,v 1.167 2003/03/19 15:21:29 mast Exp $
 #pike __REAL_VERSION__
 
 inherit files;
@@ -673,9 +673,6 @@ class File
 ** 
 */
 
-    if (!(::mode() & 0x400))
-      error ("Read callback called on blocking socket!\n");
-
 #if !defined(__NT__)
     if (peek_file_before_read_callback)
        if (!::peek()) 
-- 
GitLab