aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Resource.hsc
Commit message (Collapse)AuthorAge
* Replace `__hscore_{set,get}rlimit` wrappers with CApiFFIGravatar Herbert Valerio Riedel2016-01-31
|
* Drop redundant __GLASGOW_HASKELL__ conditionals for GHC>=7.4Gravatar Herbert Valerio Riedel2016-01-31
|
* Add CTYPE annotations to ptr types used for FFIGravatar Herbert Valerio Riedel2016-01-30
| | | | | This avoids incompatible-pointer warnings from the c-compiler when using `CApiFFI`
* More fixes for Safe Haskell bounds under GHC 7.10Gravatar David Terei2014-12-08
|
* `M-x untabify` && `M-x delete-trailing-whitespace`Gravatar Herbert Valerio Riedel2014-12-06
|
* Fix a type defaulting warningGravatar Bryan O'Sullivan2013-10-12
| | | | (And a small matter of using != instead of /= -- how embarrassing!)
* Fix assumption that RLIM_INFINITY is a simple numberGravatar Bryan O'Sullivan2013-10-12
| | | | | On MacOS X, it is defined as "(((__uint64_t)1 << 63) - 1)", and hence cannot be used inside C preprocessor logic.
* Drop trailing whitespaceGravatar Bryan O'Sullivan2013-10-12
|
* Make `-Wall` clean and drop `-fno-warn-unused-imports`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | CPP conditional code sections have been carefully taken into account while performing this warning cleanup. Most `OPTIONS_GHC` declarations could be dropped (now only a lonely `{-# OPTIONS_GHC -fno-cse #-}` remains in `Posix.Signals`). 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>
* 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
* Fix conditional pragma to work with 6.12Gravatar David Terei2011-08-09
|
* Use Safe Haskell when GHC >= 7.2Gravatar David Terei2011-08-03
|
* Avoid using deprecated flagsGravatar Ian Lynagh2008-06-16
|
* move __hscore_{mkstemp,getrlimit,setrlimit} here from baseGravatar Ross Paterson2008-06-15
|
* Use the C wrappers for [gs]etrlimitGravatar 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.
* Suppress some warningsGravatar Ian Lynagh2007-09-02
|
* [project @ 2005-03-08 16:22:05 by simonmar]Gravatar simonmar2005-03-08
| | | | | Undo previous commit: it breaks when RLIM_INFINITY is defined to an expression that CPP doesn't understand.
* [project @ 2005-03-05 14:32:09 by panne]Gravatar panne2005-03-05
| | | | | Warning police (for platforms where all resource limits can be represented, i.e. RLIM_INFINITY == RLIM_SAVED_MAX == RLIM_SAVED_CUR)
* [project @ 2003-05-12 13:19:49 by wolfgang]Gravatar wolfgang2003-05-12
| | | | Add #ifdefs for RLIMIT_AS and RLIM_SAVED_*, which are not defined on Mac OS X.
* [project @ 2003-03-26 12:35:34 by simonmar]Gravatar simonmar2003-03-26
Add getrlimit()/setrlimit() suppport