On Mon, Mar 28, 2011 at 7:31 PM, Michael A Baikov <pa...@bk.ru> wrote:
>
>
> I am still playing with lastest iteratee and i think i found something 
> strange.
>
>
> let's suppose we have a file test.hs like this:
>
> import Data.Iteratee
> import Data.Iteratee.IO
> import Data.Iteratee.Char
>
> main = fileDriver printLines "/etc/passwd"
>
> It works fine when executed via runhaskell / ghci in ghc 6.12. Compiled 
> version in ghc 7
> also works, but when i am trying to execute it via runhaskell / ghci i am 
> getting this error:
>
> iter.hs: epollControl: permission denied (Operation not permitted)
>
> Any ideas?

Make sure you have at least GHC 7.0.2. There were some I/O manager
bugs in 7.0.1.

Johan

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to