IOExts.slurpFile fails on zero-length files

George Russell ger at tzi.de
Thu May 2 16:20:47 EDT 2002


Specifically I get 

*** Exception: invalid argument
Action: hGetBuf
Handle: {loc=/tmp/d,type=readable,binary=False,buffering=block (8192)}
Reason: illegal buffer size 0

whether using 5.03.2 on Solaris or 5.03.20020410 on Linux.



More information about the Glasgow-haskell-bugs mailing list