
network-fancy fails to build because "Not in scope: 'setNonBlockingFD'". Any pointers to what should be used in 6.12? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

On Tue, Feb 2, 2010 at 4:41 PM, Magnus Therning
network-fancy fails to build because "Not in scope: 'setNonBlockingFD'". Any pointers to what should be used in 6.12?
I have the following in 'network': #if __GLASGOW_HASKELL__ < 611 System.Posix.Internals.setNonBlockingFD fd #else System.Posix.Internals.setNonBlockingFD fd True #endif

On Wed, Feb 3, 2010 at 00:44, Johan Tibell
On Tue, Feb 2, 2010 at 4:41 PM, Magnus Therning
wrote: network-fancy fails to build because "Not in scope: 'setNonBlockingFD'". Any pointers to what should be used in 6.12?
I have the following in 'network': #if __GLASGOW_HASKELL__ < 611 System.Posix.Internals.setNonBlockingFD fd #else System.Posix.Internals.setNonBlockingFD fd True #endif
Thanks. That pointed me in the right direction. I've posted the attached patch as a suggested fix to the developer. Hopefully there'll be a compilable version on Hackage soon. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

Excerpts from Magnus Therning's message of Wed Feb 03 21:51:34 +0200 2010:
Thanks. That pointed me in the right direction. I've posted the attached patch as a suggested fix to the developer. Hopefully there'll be a compilable version on Hackage soon.
There is now 0.1.5 on Hackage with GHC 6.12 support. - Taru Karttunen
participants (3)
-
Johan Tibell
-
Magnus Therning
-
Taru Karttunen