aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
| * fix getGroupEntryForID/Name on SolarisGravatar Karel Gardas2014-09-10
| | | | | | | | | | | | | | | | | | This patch fixes getGroupEntryForID and getGroupEntryForName on Solaris The issue on Solaris is that it defines both required getgrgid_r and getgrnam_r functions as CPP macros which depending on configuration are mapped to real function implementations with different names. The issue is solved by using C API calling convention instead of platform C ABI calling convention.
* | Bump `base` constraint for AMPGravatar Herbert Valerio Riedel2014-09-09
| |
* | Merge pull request #10 from ezyang/ezyang-devGravatar Herbert Valerio Riedel2014-08-23
|\ \ | |/ |/| Ignore test output created by GHC test suite.
| * Ignore test output created by GHC test suite.Gravatar Edward Z. Yang2014-08-22
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Merge pull request #1 from thomie/masterGravatar Gregory Collins2014-07-15
|\ \ | | | | | | Enable test for getLoginName (Fixes #1487)
* \ \ Merge pull request #2 from thomie/T8902Gravatar Bryan O'Sullivan2014-07-11
|\ \ \ | |_|/ |/| | Add haddock comments on RTLD_NEXT and RTLD_DEFAULT
* | | Ignore interp.stderr/stdout.Gravatar Edward Z. Yang2014-07-07
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
| * | Deprecate function `haveRtldLocal`Gravatar Thomas Miedema2014-07-04
| | | | | | | | | | | | | | | | | | | | | | | | The function haveRtldLocal was introduced for compatibility with Cygwin on Mar 28 2002 in GHC commit 4740cf56c774b92e02d31b4666158d70c2e85a8f. According to https://cygwin.com/viewvc/src/winsup/cygwin/include/dlfcn.h RTLD_LOCAL has been available on Cygwin since Revision 1.4 (August 9 2010).
| * | Remove unnecessary checks for RTLD_NOW and RTLD_GLOBALGravatar Thomas Miedema2014-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These checks were introduced for OpenBSD on July 16 2002 in GHC commit 03e9edb3094fd3bb38ed886b96ee9f61f39e9b53. According to http://www.openbsd.org/cgi-bin/cvsweb/src/include/dlfcn.h RTLD_NOW, RTLD_GLOBAL and RTLD_LOCAL have been available on OpenBSD since Revision 1.8 (September 2 2003). This is merely code cleanup.
| * | Add haddock comments on RTLD_NEXT and RTLD_DEFAULTGravatar Thomas Miedema2014-07-04
|/ / | | | | | | Related ticket: #8902.
| * Enable test for getLoginNameGravatar Thomas Miedema2014-07-04
|/ | | | | | | Fixes #1487. Make use of no_stdin test option, introduced explictly for this purpose in fa52a8c9d8eae5e3fc4c0cf0e5672875e161e05c
* Merge https://github.com/haskell/unixGravatar Herbert Valerio Riedel2014-06-27
|\
* | add testsuite-related gitignore entriesGravatar Herbert Valerio Riedel2014-06-26
| |
| * Update URLs to point to GitHubGravatar Herbert Valerio Riedel2014-04-28
|/
* Typo in commentGravatar Gabor Greif2014-03-23
|
* Merge branch 'ghc-7.8'Gravatar Herbert Valerio Riedel2014-03-22
|\ | | | | | | | | | | | | Re-unite branches which diverged for now good reason Conflicts: changelog.md
| * Update changelog and prepare for 2.7.0.1 releaseGravatar Herbert Valerio Riedel2014-03-22
| | | | | | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
| * fix getFileStatus: interrupted (Interrupted system call) build failure on ↵Gravatar Karel Gardas2014-02-28
| | | | | | | | | | | | | | | | | | | | | | Solaris Patch provided by Christian Maeder <Christian.Maeder@dfki.de> Signed-off-by: Karel Gardas <karel.gardas@centrum.cz> Signed-off-by: Austin Seipp <austin@well-typed.com> (cherry picked from commit f4d0e106f237d767156b3c751f1b9f4598f2a6a1)
* | fix getFileStatus: interrupted (Interrupted system call) build failure on ↵Gravatar Karel Gardas2014-02-28
| | | | | | | | | | | | | | | | | | Solaris Patch provided by Christian Maeder <Christian.Maeder@dfki.de> Signed-off-by: Karel Gardas <karel.gardas@centrum.cz> Signed-off-by: Austin Seipp <austin@well-typed.com>
| * M-x delete-trailing-whitespace & M-x untabifyGravatar Herbert Valerio Riedel2014-02-28
| | | | | | | | | | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> (cherry picked from commit 86d798975357c55fd0e5303c83f09844411c3837)
| * Handle EROFS/ETXTBSY as permission denied in `fileAccess` (re #8741)Gravatar Alain O'Dea2014-02-28
| | | | | | | | | | | | | | | | | | | | | | | | This extends `System.Posix.Files.`access` to map EROFS & ETXTBSY to mean permission denied just like EACCESS. Based on a patch by Alain O'Dea and comments by Duncan Coutts Authored-by: Alain O'Dea <alain.odea@verafin.com> Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> (cherry picked from commit ecc92abad017cf12d8eb83509d4d57ae14ad47f9)
| * Convert `changelog` to markdown formatGravatar Herbert Valerio Riedel2014-02-28
| | | | | | | | | | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> (cherry picked from commit 4a08984afe5390d91f10f9b1caf7365e6a93595b)
* | M-x delete-trailing-whitespace & M-x untabifyGravatar Herbert Valerio Riedel2014-02-06
| | | | | | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* | Handle EROFS/ETXTBSY as permission denied in `fileAccess` (re #8741)Gravatar Alain O'Dea2014-02-06
| | | | | | | | | | | | | | | | | | | | This extends `System.Posix.Files.`access` to map EROFS & ETXTBSY to mean permission denied just like EACCESS. Based on a patch by Alain O'Dea and comments by Duncan Coutts Authored-by: Alain O'Dea <alain.odea@verafin.com> Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* | Convert `changelog` to markdown formatGravatar Herbert Valerio Riedel2014-02-02
|/ | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Export `forkProcessWithUnmask` from `System.Posix.Process`Gravatar Herbert Valerio Riedel2013-11-08
| | | | | | This is a follow-up to 17192d89e6 which missed that export. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Add `cabal install` step to Travis CI scriptGravatar Herbert Valerio Riedel2013-11-08
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* `M-x untabify` & `M-x delete-trailing-whitespace`Gravatar Herbert Valerio Riedel2013-11-08
| | | | | | ...on recently touched files Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix markup for function names in DEPRECATION messagesGravatar Herbert Valerio Riedel2013-11-08
| | | | | | This helps Haddock make tose hyperlinked functions. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Add `forkProcessWithUnmask` functionGravatar Herbert Valerio Riedel2013-11-08
| | | | | | This seemed to be an obvious addition while working on #8433. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix `forkProcess` to inherit caller's `MaskingState`Gravatar Herbert Valerio Riedel2013-11-08
| | | | | | | | | | ...and while at it, use `bracket` to fix a potential resource leak due to `freeStablePtr` not being called if `throwErrnoIfMinus1` throws an exception. This fixes #8433 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Kill trailing whitespaceGravatar Herbert Valerio Riedel2013-11-07
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Remove misleading paragraph in `fdToHandle`'s HaddockGravatar Herbert Valerio Riedel2013-11-07
| | | | | | | The removed paragraph is obsolete and does no longer apply to the implementation as noted by Duncan in #8286. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix #7912 by using `CApiFFI` for `<termios.h>` importsGravatar Herbert Valerio Riedel2013-11-07
| | | | | | | | On Android, the functions imported from `<termios.h>` are actually inlined functions, so we need to wrap them via the `capi` calling convention. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Temporary workaround for addressing #7359Gravatar Herbert Valerio Riedel2013-11-07
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Update bug-reports URLGravatar Herbert Valerio Riedel2013-10-26
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Don't include `HsUnixConfig.h` in source distributionGravatar Herbert Valerio Riedel2013-10-24
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Markdown-ify README and add Travis-CI scriptGravatar Herbert Valerio Riedel2013-10-20
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Update aux files `config.{guess,sub}` and `install-sh`Gravatar Herbert Valerio Riedel2013-10-20
| | | | | | This updates the files to the versions bundled with GNU automake 1.13.3 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* `M-x untabify` changelog and unix.cabalGravatar Herbert Valerio Riedel2013-10-20
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix build on OS XGravatar Bryan O'Sullivan2013-10-12
|
* Drop trailing whitespaceGravatar Bryan O'Sullivan2013-10-12
|
* 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>
* Refactor & update `unix.cabal` to `cabal-version>=1.10`Gravatar Herbert Valerio Riedel2013-10-12
| | | | | | | This also lists the GHC versions this package has been tested to compile with in the `tested-with` Cabal field. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* 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>
* Add `dist/` and `*~` to `.gitignore`Gravatar Herbert Valerio Riedel2013-10-12
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Add `changelog` file and `/Since: 2.7.0.0/` notesGravatar Herbert Valerio Riedel2013-10-12
| | | | | | | The changelog file will be shown on Hackage once it's included in the source tarball. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>