aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Temp.hsc
Commit message (Collapse)AuthorAge
* Delete some trailing whitespacesGravatar Herbert Valerio Riedel2016-01-31
|
* Replace `__hscore_mk{dtemp,stemp,stemps}` wrappers with CApiFFIGravatar Herbert Valerio Riedel2016-01-31
|
* Drop redundant __GLASGOW_HASKELL__ conditionals for GHC>=7.4Gravatar Herbert Valerio Riedel2016-01-31
|
* Drop bitrotting HUGS supportGravatar Herbert Valerio Riedel2016-01-31
| | | | | It's very unlikely the current `unix` code stands any chance of even remotely work with Hugs...
* Tighten Safe Haskell bounds, fixes new warning in GHC 7.10.Gravatar David Terei2014-12-06
| | | | Closes #27
* 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>
* 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
* Use error not ioError for consistency.Gravatar David Terei2012-01-09
|
* Code cleaning for recent changesGravatar David Terei2012-01-09
|
* System.Posix.Temp complianceGravatar Deian Stefan2012-01-09
|
* mkstempsGravatar Deian Stefan2012-01-09
|
* Fix validation errorGravatar David Terei2012-01-05
|
* Code clean and documentation improvements to Temp.Gravatar David Terei2012-01-05
|
* fix bugs and added mkdtempGravatar Deian Stefan2012-01-05
|
* 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
|
* System.Posix.Temp: rm whitespaceGravatar gwern0@gmail.com2010-01-19
|
* System.Posix.Temp: pad input filenames with 6 XsGravatar gwern0@gmail.com2010-01-19
| | | | | | | | | If the argument doesn't terminate in capital Xs, the C mkstemp will simply bomb out with zero warning. This was not documented. By arbitrarily sticking a bunch of Xes at the end of all arguments, we guarantee that this exception will not be thrown, the type signature will not change, and no existing code can break (since if it was manually avoiding the exception by adding "XXX" itself, the temp files will now be simply 3 random characters longer, nothing worse).
* System.Posix.Temp: improve haddocks for mkstemp to explain what that ↵Gravatar gwern0@gmail.com2010-01-19
| | | | returned String actually is
* Avoid using deprecated flagsGravatar Ian Lynagh2008-06-16
|
* move __hscore_{mkstemp,getrlimit,setrlimit} here from baseGravatar Ross Paterson2008-06-15
|
* Use the __hscore_mkstemp wrapper from the base packageGravatar Ian Lynagh2008-05-20
| | | | | This is for #2038: macros are used in the Linux .h includes to redirect to a 64-bit version when large file support is enabled.
* Don't use Fd/FD in foreign declsGravatar Ian Lynagh2007-04-04
| | | | | Using CInt makes it much easier to verify that it is right, and we won't get caught out by possible newtype switches between CInt/Int.
* [project @ 2003-09-19 09:27:35 by simonmar]Gravatar simonmar2003-09-19
| | | | | | | | Kill mktemp: it causes link warnings whenever someone uses -package unix on Linux & FreeBSD at least, and is bogus anyway. mktemp is still used to implement mkstemp when !GLASGOW_HASKELL and !HUGS. Why is this?
* [project @ 2003-05-27 12:59:54 by stolz]Gravatar stolz2003-05-27
| | | | | /me slaps haddock with a large piece of trout. Someone please remind me of running 'make html' before committing.
* [project @ 2003-05-27 12:54:18 by stolz]Gravatar stolz2003-05-27
| | | | | | | Throw in mktemp() as well, as the non-GHC/Hugs case was essentially that. Advantage: At least on FreeBSD the linker will print out a warning whenever you use mktemp().
* [project @ 2003-05-27 10:18:58 by ross]Gravatar ross2003-05-27
| | | | Hugs only: use fdToHandle (like GHC)
* [project @ 2003-05-27 08:59:21 by stolz]Gravatar stolz2003-05-27
| | | | | | Return file name as well Suggested by: Martin Norb?ck
* [project @ 2003-05-27 08:20:42 by stolz]Gravatar stolz2003-05-27
Add mkstemp() wrapper, including (unsafe) fallback for non-GHCs (fdToHandle required). Suggested by: Martin Sj?gren