aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* System.Posix.Terminal: Add more terminal modesHEADmasterGravatar Benjamin Barenblat2017-07-04
| | | | | | | Add ONLCR, OCRNL, ONOCR, ONLRET, OFILL, NLDLY, CRDLY, TABDLY, BSDLY, VTDLY, and FFDLY. Closes: https://github.com/haskell/unix/issues/98
* Merge pull request #97 from gwils/gitignore-cabal-sandbox-newbuildGravatar Eric Mertens2017-06-22
|\ | | | | gitignore cabal sandbox and new-build artifacts
| * .ghc.environment has a leading dotGravatar Eric Mertens2017-06-22
| |
| * Ignore ghc.environment.* tooGravatar George Wilson2017-06-23
| |
| * gitignore cabal sandbox and new-build artifactsGravatar George Wilson2017-06-22
|/
* Update configure.acGravatar Moritz Angermann2017-05-11
| | | Add Comment
* Android doesn’t have mkstempsGravatar Moritz Angermann2017-05-11
| | | | | | | | | | | | | However the check similarly to tell and seekdir succeeds. However we will generate the following error down the line: ``` /var/folders/fv/xqjrpfj516n5xq_m_ljpsjx00000gn/T/ghc13524_0/ghc_2.c:11:104: error: warning: implicit declaration of function 'mkstemps' is invalid in C99 [-Wimplicit-function-declaration] | 11 | HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);} | ^ HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);} ^ ```
* Update config.{guess,sub}Gravatar Moritz Angermann2017-05-11
| | | | | | | | | | | | | Autoconf hasn’t had an update since 2014, and it doesn’t look like it will soon[1] This updates config.{guess,sub} It basically does exactly what the config.guess script says: > It is advised that you download the most up to date version of the config scripts from It adds support for e.g. `-ios`, which allows to have targets like `aarch64-apple-ios`. — [1]: http://lists.gnu.org/archive/html/autoconf/2016-07/msg00017.html
* Update changelog and increment package versionGravatar Herbert Valerio Riedel2017-05-01
|
* Merge pull request #92 from zw3rk/feature/seekdirGravatar Herbert Valerio Riedel2017-03-20
|\ | | | | Android doesn’t have telldir/seekdir in bionic
| * Android doesn’t have telldir/seekdir in bionicGravatar Moritz Angermann2017-03-20
|/ | | | | | | | | | The isse here is that while we try to use `AC_CHECK_FUNCS`, this will generate test code that tries to link an object and check for linking errors. However GNU gold at least version (binutils-2.25-0666073 2.25.51.20141117) 1.11, considers seekdir/telldir as part of the default libs. Thus we would actually want to pass `-nodefaultlibs` to the linker. Doing so, would result in erros due to not finding `-ldl`. Fixes #91
* Merge pull request #90 from zw3rk/feature/androidGravatar Ben Gamari2017-03-15
|\ | | | | Define _POSIX_VDISABLE, if not defined.
| * Define _POSIX_VDISABLE, if not defined.Gravatar Moritz Angermann2017-03-15
|/
* Merge pull request #89 from bgamari/masterGravatar Ben Gamari2017-02-20
|\ | | | | Bump time upper bound
| * Bump time upper boundGravatar Ben Gamari2017-02-20
| |
* | Merge pull request #84 from nh2/fix-createSymbolicLink-exists-error-messageGravatar Eric Mertens2017-02-13
|\ \ | |/ |/| Fix error message of `createSymbolicLink`.
| * Fix error message of `createSymbolicLink`.Gravatar Niklas Hambüchen2017-02-08
|/ | | | | | | | | | | | | | | | | | | | | Consider `ln` (or any other Unix tool): $ ln -s file1 file2 $ ls -l file2 lrwxrwxrwx 1 niklas niklas 5 Feb 8 03:09 file2 -> file1 $ ln -s file1 file2 ln: failed to create symbolic link 'file2': File exists The file name mentioned in the error ("link2") is the one that *could not be created*, not the content of the pointer. `createSymbolicLink` got this wrong so far, it would print file1: createSymbolicLink: already exists (File exists) which is wrong, this file doesn't already exist. This commit fixes it.
* Fix posix005 testGravatar Ben Gamari2016-12-15
| | | | Needed import of sort and updated expected output
* Relax upper bound on `time` to allow time-1.7Gravatar Herbert Valerio Riedel2016-11-20
| | | | | | | | ...after having convincing myself that the changes in time-1.7 are confined to parts not used by `unix` c.f. http://hdiff.luite.com/cgit/time/diff?id=1.7&id2=1.6.0.1 fixes #80
* testsuite: Ensure that posix005 output is normalizedGravatar Ben Gamari2016-11-17
| | | | | The order in which getEnvironment returns its result is platform dependent. Sort the output to ensure consistent output across platforms.
* Bump upper bound on baseGravatar Ben Gamari2016-11-15
|
* Prepare for 2.7.2.1 releaseGravatar Herbert Valerio Riedel2016-11-12
|
* Merge pull request #77 from glguy/patch-76Gravatar Eric Mertens2016-10-15
|\ | | | | Add argument documentation for Env modules
| * Add argument documentation for Env modulesGravatar Eric Mertens2016-10-13
|/ | | | Fixes #76
* Merge pull request #73 from ezyang/pr/fix-segfaultGravatar Edward Z. Yang2016-09-08
|\ | | | | Fix segfault from inconsistent macro use.
| * Fix segfault from inconsistent macro use.Gravatar Edward Z. Yang2016-09-07
|/ | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Merge pull request #72 from erikd/topic/readdir-deprecatedGravatar Erik de Castro Lopo2016-09-07
|\ | | | | Don't use readdir_r if deprecated
| * Don't use readdir_r if deprecatedGravatar Erik de Castro Lopo2016-09-07
|/ | | | | | | | | | | | | | | GNU glibc 2.23 and later deprecate `readdir_r` in favour of plain old `readdir` which in some upcoming POSIX standard is going to required to be re-entrant. Eventually we want to drop `readder_r` all together, but want to be compatible with older unixen which may not have a re-entrant `readdir`. Solution is to make systems with *known* re-entrant `readir` use that and use `readdir_r` whereever we have it and don't *know* that `readdir` is re-entrant. Closes: https://github.com/haskell/unix/issues/70
* Merge pull request #71 from erikd/topic/travisGravatar Erik de Castro Lopo2016-09-06
|\ | | | | Fix travis build
| * Fix travis buildGravatar Erik de Castro Lopo2016-09-06
|/
* Testsuite: remove no_stdinGravatar Thomas Miedema2016-06-24
| | | | | `no_stdin` is no longer necessary, and has been removed from the testsuite driver
* Add GHC 7.10.2/3 and 8.0.1 to travis.ymlGravatar Eric Mertens2016-06-02
|
* Update changelog for 2.7.2.0 releaseGravatar Herbert Valerio Riedel2016-04-19
|
* Convert /since/ to @since syntaxGravatar Herbert Valerio Riedel2016-04-19
|
* Cleanup one more testGravatar Thomas Miedema2016-02-16
|
* Testsuite: don't use only_compiler_types, assume ghcGravatar Thomas Miedema2016-02-16
|
* Add comment regarding genericRaise useGravatar Herbert Valerio Riedel2016-01-31
|
* Have Autoconf test for _NSGetEnviron presenceGravatar Herbert Valerio Riedel2016-01-31
|
* Fix Haddock markupGravatar Herbert Valerio Riedel2016-01-31
|
* Minor tweaks to HsUnix.hGravatar Herbert Valerio Riedel2016-01-31
|
* Use `#const` rather than FFI wrapper for PATH_MAXGravatar Herbert Valerio Riedel2016-01-31
| | | | This has the side-effect of making two more modules `Safe`-inferred
* Replace `__hsunix_unsetenv` wrapper with CApiFFIGravatar Herbert Valerio Riedel2016-01-31
|
* Use CApiFFI for `ptsname(3)` et al for GHC>=8.0Gravatar Herbert Valerio Riedel2016-01-31
| | | | This improves on 2ddf4b2b7bf41f878bc7d8a1afa49126710f524c
* Use `open(2)` directly rather than via `__hscore_open()`Gravatar Herbert Valerio Riedel2016-01-31
| | | | | As we don't support Windows, there's no benefit in going via `__hscore_open()`
* Merge dirUtils.c into HsUnix.cGravatar Herbert Valerio Riedel2016-01-31
|
* Use more direct CApiFFI for pPrPr_disableITimersGravatar Herbert Valerio Riedel2016-01-31
|
* Provide execvpe prototype if missingGravatar Herbert Valerio Riedel2016-01-31
|
* Add links to Opengroup's latest POSIX.1-2008 specGravatar Herbert Valerio Riedel2016-01-31
|
* gitignoreGravatar Herbert Valerio Riedel2016-01-31
|
* Delete some trailing whitespacesGravatar Herbert Valerio Riedel2016-01-31
|