| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Their use site is now unconditional. Issue #8223.
Signed-off-by: Austin Seipp <austin@well-typed.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
This is fallout from the fix for T8108.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
|
|
|
| |
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
|
|
|
|
|
| |
Also comes with tests. This closes #8108.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
| |
|
|
|
|
| |
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
|
| |
|
|
|
|
|
| |
I don't think that it matters, but putting it after all the places
that alter EXTRA_LIBS is a little nicer.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We don't run the unix tests on Windows anyway.
|
| |
|
| |
|
|
|
|
| |
Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>
|
|
|
|
| |
Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Bool field of Terminated is new, as is the documentation:
data ProcessStatus
= Exited ExitCode -- ^ the process exited by calling
-- @exit()@ or returning from @main@
| Terminated Signal Bool -- ^ the process was terminated by a
-- signal, the @Bool@ is @True@ if a core
-- dump was produced
| Stopped Signal -- ^ the process was stopped by a signal
deriving (Eq, Ord, Show)
This is an API change, hence will need a major version bump.
|
| |
|
| |
|
|
|
|
| |
Fixes signals004(threaded1,threaded2) on OS X 32.
|
|
|
|
| |
I assume that this is what was intended.
|
| |
|
|
|
|
|
| |
We were freeing the string, but the string becomes part of the
environment.
|
|
|
|
| |
and remove code to support older versions
|
| |
|
|
|
|
|
| |
We now keep the HEAD version numbers as values which would be suitable
for immediate release.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes warnings following
commit 910a642294eb3547d0cbb3d5735ad81b964f137b
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date: Mon Oct 29 23:25:25 2012 +0000
Do not treat a constructor in a *pattern* as a *use* of that constructor
I'm not sure if this is the right thing to do: In
commit 1c4608e3b8737dbb9204f850af4d680ccea7d8ec
Author: Simon Marlow <marlowsd@gmail.com>
Date: Thu Feb 19 10:05:32 2009 +0000
Rewrite of signal-handling.
the commit message says:
The new implementation has the capability to define signal handlers
that have access to the siginfo of the signal (#592), but this
functionality is not exposed in this patch.
but this at least gets validate builds working again, and we can change
it if necessary as part of #2451
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Paolo Capriotti <p.capriotti@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
sleep doesn't really work on GHC because it is always immediately
interrupted by SIGVTALRM used in the RTS.
I explained the problem in a comment and added a WARNING pragma.
usleep and nanosleep have a similar problem, but, since they have better
precision, they can be restarted, so they are not as unusable as sleep.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|