As Mr Therning suggested, I switched over from System.IO.openFile to openFd in System.Posix. This gives the blocking behavior that I want. The only downside was having to provide my own readLine. Just so everyone knows. thanks, mac On 2010-12-03, Brandon S Allbery KF8NH <allbery@ece.cmu.edu> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11/23/10 10:36 , Patrick LeBoutillier wrote:
The Glorious Glasgow Haskell Compilation System, version 6.10.1
IIRC this was in fact broken in 6.10.1; upgrade at least to 6.10.3.
- -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz5THAACgkQIn7hlCsL25VOEQCgp/fPxHTsFb6vAeaO1GGonZDc dh8AmgIy4l0khXTHliySwRSnz804tu0Z =m7l1 -----END PGP SIGNATURE-----
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- mac