[commit: packages/unix] master: Remove misleading paragraph in `fdToHandle`'s Haddock (48a72e8)

git at git.haskell.org git at git.haskell.org
Thu Nov 7 13:04:16 UTC 2013


Repository : ssh://git@git.haskell.org/unix

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/48a72e8753a1e90ad24335db9bf241892610375b/unix

>---------------------------------------------------------------

commit 48a72e8753a1e90ad24335db9bf241892610375b
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Nov 7 13:42:51 2013 +0100

    Remove misleading paragraph in `fdToHandle`'s Haddock
    
    The removed paragraph is obsolete and does no longer apply to the
    implementation as noted by Duncan in #8286.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

48a72e8753a1e90ad24335db9bf241892610375b
 System/Posix/IO/Common.hsc |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/System/Posix/IO/Common.hsc b/System/Posix/IO/Common.hsc
index a781093..b2ac787 100644
--- a/System/Posix/IO/Common.hsc
+++ b/System/Posix/IO/Common.hsc
@@ -207,11 +207,6 @@ handleToFd :: Handle -> IO Fd
 
 -- | Converts an 'Fd' into a 'Handle' that can be used with the
 -- standard Haskell IO library (see "System.IO").  
---
--- GHC only: this function has the side effect of putting the 'Fd'
--- into non-blocking mode (@O_NONBLOCK@) due to the way the standard
--- IO library implements multithreaded I\/O.
---
 fdToHandle :: Fd -> IO Handle
 
 #ifdef __GLASGOW_HASKELL__



More information about the ghc-commits mailing list