Skip to content
Snippets Groups Projects
Commit 083e25be authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

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
parent 916533bc
Branches
Tags
No related merge requests found
// $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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment