aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Env.hsc
Commit message (Collapse)AuthorAge
* Replace `__hsunix_unsetenv` wrapper with CApiFFIGravatar Herbert Valerio Riedel2016-01-31
|
* Delete some trailing whitespacesGravatar Herbert Valerio Riedel2016-01-31
|
* Drop redundant __GLASGOW_HASKELL__ conditionals for GHC>=7.4Gravatar Herbert Valerio Riedel2016-01-31
|
* Tighten Safe Haskell bounds, fixes new warning in GHC 7.10.Gravatar David Terei2014-12-06
| | | | Closes #27
* Typo in commentGravatar Gabor Greif2014-03-23
|
* Make compatible again for GHC back to 7.4.1Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | | | By avoiding `import Foreign` this accomplishes backward-compatibility w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP conditionals. Moreover, in order to support base<4.7 this commits needs to reintroduce a harmless backport of `newFilePath`. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Declare language extensions via `{-# LANGUAGE -#}`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix putenv; trac #7342Gravatar Ian Lynagh2012-12-01
| | | | | We were freeing the string, but the string becomes part of the environment.
* Bump base lower version to 4.5 (the version GHC 7.4.1 came with)Gravatar Ian Lynagh2012-11-30
| | | | and remove code to support older versions
* Add workaround for systems without clearenv.Gravatar Paolo Capriotti2012-04-04
|
* Add setEnvironment and cleanEnv to System.Posix.Env (#5648)Gravatar Paolo Capriotti2012-03-30
|
* Remove tabs from System.Posix.Env.hsc.Gravatar Paolo Capriotti2012-03-09
|
* Follow change to FFI decls: Import constructors of newtypesGravatar Ian Lynagh2011-10-21
|
* Fix conditional pragma to work with 6.12Gravatar David Terei2011-08-09
|
* Use Safe Haskell when GHC >= 7.2Gravatar David Terei2011-08-03
|
* Improved Unicode support in the light of PEP383Gravatar Max Bolingbroke2011-05-14
|
* Use _NSGetEnviron on OS X: fixes #2458Gravatar Max Bolingbroke2011-04-06
|
* Allow C's unsetenv to return either void or intGravatar Ian Lynagh2008-07-03
| | | | Fixes, and patch from donn in, trac #2352.
* Avoid using deprecated flagsGravatar Ian Lynagh2008-06-16
|
* fix cut-and-pasto in error messageGravatar Simon Marlow2007-03-08
|
* fix bogosity in getEnvironmentPrimGravatar Simon Marlow2006-05-31
|
* [project @ 2005-02-24 09:58:27 by simonmar]Gravatar simonmar2005-02-24
| | | | | | nDoc fixes from Sven Panne. Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers.
* [project @ 2004-11-12 17:08:58 by stolz]Gravatar stolz2004-11-12
| | | | | | | Fix FFI-funniness, cf. http://www.haskell.org/pipermail/glasgow-haskell-users/2002-February/003020.html Noticed by: George Russell (again)
* [project @ 2003-05-23 16:36:48 by ross]Gravatar ross2003-05-23
| | | | fix type error
* [project @ 2003-05-23 14:31:46 by stolz]Gravatar stolz2003-05-23
| | | | No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested)
* [project @ 2003-04-11 10:00:07 by ross]Gravatar ross2003-04-11
| | | | move environ from C to Haskell
* [project @ 2003-03-05 18:14:05 by stolz]Gravatar stolz2003-03-05
| | | | Pick up Maybe & Monad from new libraries
* [project @ 2003-03-01 16:34:12 by stolz]Gravatar stolz2003-03-01
| | | | s/getEnvVar/getEnv/
* [project @ 2003-02-28 16:09:16 by stolz]Gravatar stolz2003-02-28
Add System.Posix.Env