aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* | 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>
* 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>
* Make sure `HAVE_{SEEK,TELL}DIR` are in scopeGravatar Herbert Valerio Riedel2013-10-12
| | | | | | | | | This is a follow-up to b8fb0a0a9 which made the module exports of `tellDirStream` and `seekDirStream` CPP-conditional but didn't explicitly include `HsUnixConfig.h` which defines the respective CPP defines. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Unconditionalize imports in System.Posix.UserGravatar Reid Barton2013-10-09
| | | | | | Their use site is now unconditional. Issue #8223. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Fix library detection of shm* on openSUSE (#8350)Gravatar Peter Trommler2013-09-29
| | | | | | | | | Use the new AC_SERACH_LIBS to check if rt is needed for shm_open and shm_unlink. This sets LIBS and so the shm_* functions can be found if librt is indeed required. Passing -lrt through CFLAGS is not portable. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Update Git repo URL in `.cabal` fileGravatar Herbert Valerio Riedel2013-09-11
|
* Fix two of the unix tests.Gravatar Austin Seipp2013-08-10
| | | | | | This is fallout from the fix for T8108. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Add some extra files to .gitignoreGravatar Austin Seipp2013-08-10
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Extract the result of get*_r before we deallocate the auxiliary bufferGravatar Marios Titas2013-08-10
| | | | | | Also comes with tests. This closes #8108. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Export SignalInfo(..), SignalSpecificInfo(..); completes #2451Gravatar Ian Lynagh2013-07-21
|
* Fix #7399.Gravatar Edward Z. Yang2013-07-20
| | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
* Test cleaning fixesGravatar Ian Lynagh2013-06-13
|
* Move AC_SUBST([EXTRA_LIBS]) later in configure.acGravatar Ian Lynagh2013-05-21
| | | | | I don't think that it matters, but putting it after all the places that alter EXTRA_LIBS is a little nicer.
* Add "deprecated in" comments to deprecated pragmasGravatar Ian Lynagh2013-02-19
|
* Bump version to 2.7.0.0Gravatar Ian Lynagh2013-02-17
|
* Follow changes in baseGravatar Ian Lynagh2013-02-16
|
* Remove uses of compose(s) in testsGravatar Ian Lynagh2013-02-14
|
* Small testsuite refactoring; no functional changeGravatar Ian Lynagh2013-02-14
|
* Don't bother marking unix tests as 'skip' on WindowsGravatar Ian Lynagh2013-02-14
| | | | We don't run the unix tests on Windows anyway.
* Follow changes in the testsuiteGravatar Ian Lynagh2013-02-11
|
* Terminated has an extra field nowGravatar Simon Marlow2013-01-30
|
* cope with missing telldir/seekdir (for Android)Gravatar Simon Marlow2013-01-30
| | | | Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>
* cope with missing pw_gecos (for Android)Gravatar Simon Marlow2013-01-30
| | | | Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>