[commit: packages/unix] master: Unconditionalize imports in System.Posix.User (c96a9d4)
git at git.haskell.org
git
Wed Oct 9 12:36:42 UTC 2013
Repository : ssh://git at git.haskell.org/unix
On branch : master
Link : http://git.haskell.org/packages/unix.git/commitdiff/c96a9d4966ac1a8949c35c051db8ce9ce0b57d65
>---------------------------------------------------------------
commit c96a9d4966ac1a8949c35c051db8ce9ce0b57d65
Author: Reid Barton <rwbarton at gmail.com>
Date: Sun Sep 29 19:23:41 2013 -0400
Unconditionalize imports in System.Posix.User
Their use site is now unconditional. Issue #8223.
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
c96a9d4966ac1a8949c35c051db8ce9ce0b57d65
System/Posix/User.hsc | 2 --
1 file changed, 2 deletions(-)
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc
index 36b0662..30c5c71 100644
--- a/System/Posix/User.hsc
+++ b/System/Posix/User.hsc
@@ -62,10 +62,8 @@ import Control.Concurrent.MVar ( MVar, newMVar, withMVar )
#ifdef HAVE_GETPWENT
import Control.Exception
#endif
-#if defined(HAVE_GETGRNAM_R) || defined(HAVE_GETPWNAM_R)
import Control.Monad
import System.IO.Error
-#endif
-- -----------------------------------------------------------------------------
-- user environemnt
More information about the ghc-commits
mailing list