Skip to content
Browse files

Rename D.C.SetEnv to D.C.Env.

  • Loading branch information...
1 parent 0b371b5 commit bbaa9eb8383287b715aef60ba86eb1b0c3e8a72b @23Skidoo 23Skidoo committed Jan 2, 2013
View
2 cabal-install/Distribution/Client/Sandbox.hs
@@ -57,7 +57,7 @@ import Distribution.Simple.Utils ( die, debug, notice, info
, debugNoWrap, intercalate
, createDirectoryIfMissingVerbose )
import Distribution.Verbosity ( Verbosity, lessVerbose )
-import Distribution.Compat.SetEnv ( setEnv )
+import Distribution.Compat.Env ( setEnv )
import qualified Distribution.Client.Index as Index
import qualified Distribution.Simple.Register as Register
import Control.Exception ( bracket_ )
View
6 cabal-install/Distribution/Compat/SetEnv.hs → cabal-install/Distribution/Compat/Env.hs
@@ -2,7 +2,7 @@
-----------------------------------------------------------------------------
-- |
--- Module : Distribution.Compat.SetEnv
+-- Module : Distribution.Compat.Env
-- Copyright : (c) Simon Hengel 2012
-- License : BSD-style (see the file LICENSE)
--
@@ -14,7 +14,7 @@
--
-----------------------------------------------------------------------------
-module Distribution.Compat.SetEnv (
+module Distribution.Compat.Env (
setEnv
) where
@@ -44,7 +44,7 @@ withFilePath = withCString
# define WINDOWS_CCONV ccall
# else
# error Unknown mingw32 arch
-# endif
+# endif /* i386_HOST_ARCH */
foreign import WINDOWS_CCONV unsafe "windows.h GetLastError"
c_GetLastError:: IO DWORD
View
2 cabal-install/cabal-install.cabal
@@ -111,9 +111,9 @@ Library
Distribution.Client.World
Distribution.Client.Win32SelfUpgrade
Distribution.Compat.Exception
+ Distribution.Compat.Env
Distribution.Compat.FilePerms
Distribution.Compat.Semaphore
- Distribution.Compat.SetEnv
Distribution.Compat.Time
Other-Modules:
Paths_cabal_install

0 comments on commit bbaa9eb

Please sign in to comment.
Something went wrong with that request. Please try again.